When to use Percent Error Calculator
Compare an observed value with a reference value.
Useful for comparing quantities, tracking progress and checking how a proportion relates to its base.
How to use this tool
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- Observed value
- Reference value
How it works
Divide the absolute difference by the absolute reference value, then multiply by 100.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
- Observed value
- 48
- Reference value
- 50
- Result
- 4%
- Absolute error
- 2
Understanding the result and its limits
Check the reference value and direction of comparison. Percentage change, percentage difference and percentage points are different measures.
Frequently asked questions
Why does the reference value matter?
A percentage is relative to a base. Reversing the comparison can change the result even when the two quantities stay the same.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.
- Further reading: OpenStax: mathematics reference