Relative Error Calculator

Relative Error Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

δ=|Measured−True Value||True Value|×100%\delta = \frac{\left| \text{Measured} - \text{True Value} \right|}{\left| \text{True Value} \right|} \times 100\%
Usage stats

Advertisement

Results

Relative Error
5%
of the true value
Relative error (fraction) 0.05
Absolute error 0.5

Report an error on this page

What Is Relative Error?

Relative error measures how large the error of a measurement is compared to the size of the true (accepted) value. Unlike absolute error, which is just the raw difference, relative error is dimensionless and lets you compare the accuracy of measurements that have very different magnitudes. It is widely used in physics, chemistry, engineering, and statistics to judge measurement quality.

Number line showing true value, measured value, and the absolute error gap between them
Relative error compares the absolute error (gap between measured and true values) to the true value.

How to Use This Calculator

Enter your measured value (the result you obtained) and the true value (the accepted, exact, or expected value). The calculator returns the relative error both as a fraction and as a percentage, plus the underlying absolute error. The true value cannot be zero, because relative error is undefined when dividing by zero.

The Formula Explained

The relative error is calculated as:

$$\delta = \frac{\left| \text{Measured} - \text{True Value} \right|}{\left| \text{True Value} \right|} \times 100\%$$

First take the absolute difference between the measured and true values (the absolute error). Then divide by the absolute value of the true value. Multiply by 100 to express the answer as a percentage.

Advertisement
Diagram of relative error formula as a fraction of absolute error over true value
The formula divides the absolute error by the magnitude of the true value.

Worked Example

Suppose you measured a length as 9.5 cm, but the true length is 10 cm. The absolute error is \(|9.5 - 10| = 0.5\) cm. The relative error is $$\frac{0.5}{10} = 0.05 = 5\%$$ So your measurement is off by 5% of the true value.

Advertisement

Interpreting Your Relative Error Result

Relative error compares the size of a measurement's mistake to the size of the true value: \(\delta = \frac{ |\text{Measured} - \text{True}|}{|\text{True}|}\). Multiply by 100 to express it as a percentage. Because it is a ratio, it tells you how serious an error is relative to the quantity being measured. An error of 1 cm is trivial when measuring a 100 m field but huge when measuring a 2 cm bolt.

What small and large values mean

Relative error General reading
Under 1% High precision and accuracy; typical of good instruments and careful technique
1% to 5% Acceptable in many teaching labs and routine field measurements
5% to 10% Marginal; look for systematic error, instrument limits or procedural mistakes
Above 10% Generally a poor measurement; recheck the method, calibration and calculation

These bands are rules of thumb, not universal standards. What counts as acceptable depends on the field and the instrument. Analytical chemistry or metrology work may demand errors far below 0.1%, while an ecological survey or a quick engineering estimate may tolerate 10% or more. Always compare your result against the stated tolerance of your instrument, your lab manual or the relevant specification.

The sign is dropped

The formula uses absolute values, so the result is always zero or positive. This means you lose the direction of the error: a measured value of 98 against a true value of 100 and a measured value of 102 against 100 both give \(\delta = 0.02\), or 2%. If you need to know whether you over- or under-measured, look at the signed difference \(\text{Measured} - \text{True}\) separately. A consistent direction across repeated trials suggests systematic error (such as a miscalibrated instrument), while a mix of directions suggests random error.

Relative error, percent error and significant figures

Percent error is simply relative error multiplied by 100%. A relative error of 0.035 is the same as a percent error of 3.5%. Some textbooks keep the sign in percent error, but most use the absolute value, as this calculator does. Relative error is undefined when the true value is zero, because you would divide by zero.

Report the result with sensible significant figures. The error cannot be known more precisely than the measurements behind it, so quoting 3.4872% from data accurate to two or three significant figures is misleading. One or two significant figures, such as 3.5%, is usually enough. Also remember that the "true value" is often an accepted reference value that has its own uncertainty, which limits how meaningful a very small relative error can be.

FAQ

What is the difference between absolute and relative error? Absolute error is the raw difference (in the original units), while relative error scales that difference by the true value, giving a unit-free ratio.

Why can't the true value be zero? Dividing by zero is undefined, so relative error has no meaning when the true value is exactly 0. Use absolute error instead in that case.

Is relative error always positive? Yes — because of the absolute value in the numerator, relative error is reported as a non-negative number regardless of whether the measurement was too high or too low.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators