AnsRioSmart tools. Clear answers.
Home / Math & statistics / Absolute and relative error
Math & statistics

Absolute and relative error

Absolute and relative error with an explained formula, a worked example and checks for invalid or unsupported inputs.

Enter your values ⌁ Runs on your device

Your inputs stay in this browser and are not saved to an account.

YOUR RESULT
Ready when you are.

Enter your values, then select Calculate.

QUICK ANSWER

2

Use the inputs above for your own values. The result follows the method and assumptions shown below.

How it works

Absolute error = |measured−reference|. Relative error = absolute error / |reference|; percentage error is 100×relative error.

Input definitions

Measured value
Enter the value in the labeled unit.
Nonzero reference value
Enter the value in the labeled unit.

A worked example

Measured value
98
Nonzero reference value
100
2

Assumptions & limits

Nonzero reference, both values in the same units. Measurement uncertainty is not estimated.

Sources & review

Maintained by AnsRio. Methods and examples are reviewed against the stated formula; this is not professional certification.

Method updated 2026-11-18. Reviewed against the stated method and example. Our verification approach.

Report an issue with this tool or suggest an improvement ↗

Common questions

Can I calculate percentage error when the reference is zero?

No. Relative and percentage errors divide by the absolute reference and are undefined at zero. Absolute error alone can still be meaningful in that situation.

Why can statistical results differ between tools?

Denominator, interpolation and boundary conventions can differ. Use the method and assumptions on this page to compare the same definition; displayed decimals may also be rounded.

How does the Absolute and relative error tool work?

Absolute error = |measured−reference|. Relative error = absolute error / |reference|; percentage error is 100×relative error.

What are the assumptions and limits of Absolute and relative error?

Nonzero reference, both values in the same units. Measurement uncertainty is not estimated.

↗
Private tools for everyday decisions.

No sign-up. Tool inputs stay on your device.

How we work