This calculator converts a value with a range of two numbers to its equivalent percentage value.
For example you may have a voltage signal that varies from -5V to +5V. What is the percentage equivalent of +2.5V?
To find the answer use the calculator below.
Calculator
Enter the value of 2.5, min value of -5 and max value of +5
The answer is 75%
Note that there is no restriction on the value to be between the minimum and maximum. For instance if the value of 10, then the answer will be 150%.
Explanation and Formula
Converting a range to a percentage involves mapping the values from the original range to a new range of 0 to 100, where 0 represents 0% and 100 represents 100%. This is a specific case of the range conversion calculator, with the Min value of the new range set to 0 and the Max value set to 100.
The formula used is quite simply
y = m*x+c
where m is the slope and c is the y intercept. x represents the values of the input and y represents the percentage output.