CalcUnit Logo

Relative Error Calculator

What is the Relative Error Calculator?

What this calculator measures

Give it a measured value and the true value it was aiming at, and this page reports how far off the measurement landed: the absolute error, the relative error, the percent error, and an accuracy score. It opens with Measured Value 9. 8 against True Value 10.

The two values it asks for

Measured Value is the number your instrument, scale, or reading produced. True (Accepted) Value is the reference standard you compare against, from a calibration certificate, a textbook constant, or a trusted instrument. Both sit in the Values group, and the four results sit in Error Results.

The default run, worked in full

With 9. 8 measured against a true 10, Absolute Error reads 0. 2000, Relative Error reads 0. 020000, Percent Error reads 2. 0000 percent, and Accuracy reads 98. 0000 percent. The measurement missed by two tenths of a unit, which is two hundredths of the true value.

Absolute error comes first

Absolute Error is the size of the gap, computed as the absolute value of measured minus true. It carries the same unit as your inputs, so 0. 2 here means 0. 2 of whatever you measured. It never carries a sign, because it answers how far, not which direction.

Relative error makes the gap scale free

Relative Error divides the absolute error by the true value, turning the gap into a pure fraction with no unit. A 0. 2 miss on a true value of 10 gives 0. 02. The same 0. 2 miss on a true value of 1,000 would give 0. 0002, a far better measurement.

Percent error is the same fact as a percent

Percent Error multiplies the relative error by 100, so 0. 02 becomes 2 percent. Most lab reports and instrument datasheets quote this version because percentages are easy to compare across different quantities. The line shows four decimal places and a percent sign.

Accuracy is one hundred minus percent error

Accuracy subtracts the percent error from 100, so a 2 percent error scores 98 percent. A perfect measurement, with zero error, scores exactly 100. Think of it as a quick grade for the measurement rather than a separate measurement in its own right.

Why relative beats absolute for judging quality

An absolute error of 1 centimeter sounds tiny, but context decides. On a 10 centimeter part it is a 10 percent error, likely scrap. On a 100 meter survey line it is 0. 01 percent, excellent work. Relative and percent error carry that context; absolute error alone cannot.

Reading the size of a relative error

A relative error of 0. 01 means the measurement is off by one part in a hundred. Many school and undergraduate labs treat results under about 5 percent error as acceptable, while calibration work may demand 0. 1 percent or better. Your field sets the bar, not this page.

A zero true value shows dashes, not a score

Enter True Value 0 with Measured Value 3 and the page shows Absolute Error 3. 0000 while the Relative Error, Percent Error, and Accuracy lines show dashes. That is the honest answer: relative error is genuinely undefined when the true value is zero, so the page prints no score at all rather than a fake perfect one.

A negative true value no longer flips the signs

The formula divides by the size of the true value, so signs cannot leak into the error. Measured negative 48 against true negative 50 gives Absolute Error 2, Relative Error 0. 040000, Percent Error 4, and Accuracy 96 — the same figures as measuring 48 against a true 50.

Accuracy can go negative

Measure 25 against a true value of 10 and the percent error is 150, so Accuracy reads negative 50. That is not a bug in the arithmetic: the error is one and a half times the thing being measured, so the score drops below zero to say so.

The page never shows the direction of the miss

Because absolute error strips the sign, none of the four outputs tells you whether you measured too high or too low. For that, compute the signed error by hand: measured minus true. Positive means you read high, negative means you read low, on the default run negative 0. 2.

Units must match before you type

The page does no unit conversion at all. If the measured value is in millimeters and the true value is in centimeters, convert one of them first, because the subtraction happens on the raw numbers as entered. A unit mismatch silently produces a meaningless error figure.

Display precision is not measurement honesty

Relative Error shows six decimal places and the other lines show four, but your instrument probably justifies far fewer. Reporting 2. 0000 percent from a ruler marked in millimeters overstates the precision. Round your final reported error to the significant figures your measurement actually earned.

Averaging repeated readings by hand

This page compares one measured value against one true value. If you measured five times, average the five readings first, then enter the mean as the Measured Value. Comparing each reading separately, by hand, also shows the spread, which tells you about precision rather than accuracy.

A quick mental check

Two percent of 10 is 0. 2, and the absolute error on the default run is exactly 0. 2, so a relative error of 0. 02 hangs together. Sanity checks like this catch swapped inputs: if the bigger number sits in Measured Value by mistake, the error still computes, so look twice.

Where these numbers get used

Percent error appears in school lab reports, in instrument specification sheets as a percentage of reading or of full scale, in manufacturing tolerance checks, and in forecast accuracy reviews. In each case the relative form lets different sizes be compared on one fair scale.

Percent error is not measured in percentage points

If an instrument's error grows from 2 percent to 3 percent, that is a rise of one percentage point, but a 50 percent increase in the error itself. Reports that mix the two quietly distort results. This page reports percent error; any change between two percent errors needs the points language.

Datasheet accuracy may be quoted against full scale

Instrument specifications often state accuracy as a percent of full scale, not of the reading. On a 0 to 200 scale, 1 percent of full scale is 2 units everywhere, so at a reading of 50 the relative error is really 4 percent.

Bias and scatter hide inside one number

A single comparison against the true value mixes systematic bias, the consistent offset of your instrument, with random scatter between readings. This page reports only the combined gap. Taking repeated readings and comparing their average and their spread separately, by hand, is how the two are pulled apart in practice.

What this page cannot do

It cannot average trials, propagate uncertainty through a calculation, weight several error sources, or show a signed error. It also cannot judge whether your true value is trustworthy. Those jobs stay with you; the hand notes above cover the common ones with nothing more than arithmetic.

With the pre-filled defaults — Measured Value 9. 8, True (Accepted) Value 10 — the Relative Error Calculator returns Absolute Error 0. 2000, Relative Error 0. 020000, Percent Error 2. 0000%, Accuracy 98. 0000%. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Relative Error Calculator

  1. 1Enter your instrument reading in the Measured Value field.
  2. 2Enter the reference standard in the True (Accepted) Value field.
  3. 3Confirm both values use the same unit before reading any result.
  4. 4Read Absolute Error for the raw gap, in your own unit.
  5. 5Read Relative Error for the unit-free fraction, shown to six decimal places.
  6. 6Read Percent Error for the same gap expressed as a percentage.
  7. 7Read Accuracy for one hundred minus the percent error.
  8. 8If the true value is zero or negative, distrust the last three lines and apply the hand fixes in the guide.

Formula

a * b

This is the core equation the Relative Error Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Platform scale reads 51.3 against a true 50Absolute error = |51.3 - 50| = 1.3; relative error = 1.3 / 50 = 0.026; percent error = 0.026 x 100 = 2.6Absolute Error 1.3, Relative Error 0.026, Percent Error 2.6%, Accuracy 97.4%
Analytical balance reads 0.482 against a true 0.5Absolute error = |0.482 - 0.5| = 0.018; relative error = 0.018 / 0.5 = 0.036; percent error = 0.036 x 100 = 3.6Absolute Error 0.018, Relative Error 0.036, Percent Error 3.6%, Accuracy 96.4%
Speedometer check, 198 against a true 200Absolute error = |198 - 200| = 2; relative error = 2 / 200 = 0.01; percent error = 0.01 x 100 = 1Absolute Error 2, Relative Error 0.01, Percent Error 1%, Accuracy 99%
Thermometer reads 7.35 against a true 7Absolute error = |7.35 - 7| = 0.35; relative error = 0.35 / 7 = 0.05; percent error = 0.05 x 100 = 5Absolute Error 0.35, Relative Error 0.05, Percent Error 5%, Accuracy 95%

Value Reference Table

See how the Absolute Error changes as Measured Value moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Measured ValueAbsolute ErrorRelative ErrorPercent ErrorAccuracy
28.00000.80000080.000020.0000
55.00000.50000050.000050.0000
73.00000.30000030.000070.0000
100.00000.0000000.0000100.0000
2010.00001.000000100.00000.0000
3020.00002.000000200.0000-100.0000
4030.00003.000000300.0000-200.0000

Practice Problems

Check your understanding of the Relative Error Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Length measured as 24.6 vs true 25: Given Measured Value 24.6, True (Accepted) Value 25, what does it come out to?

Show Answer
The calculator returns Absolute Error 0.4000, Relative Error 0.016000, Percent Error 1.6000%, Accuracy 98.4000% for Measured Value 24.6, True (Accepted) Value 25.
Q2

You enter Measured Value 131.25, True (Accepted) Value 100 — what does the calculator return?

Show Answer
With Measured Value 131.25, True (Accepted) Value 100, the results are Absolute Error 31.2500, Relative Error 0.312500, Percent Error 31.2500%, Accuracy 68.7500%.

Calculation Progression Roadmap

How the Relative Error Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Measured Value and True (Accepted) Value. The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

3

The math runs itself

The calculator evaluates abs(Measured Value - True (Accepted) Value) on every keystroke — there is no submit button to press.

4

Read your results

Your Absolute Error, Relative Error, Percent Error, and Accuracy appear instantly. With the pre-filled defaults, that is Absolute Error 0.2000, Relative Error 0.020000, Percent Error 2.0000%, Accuracy 98.0000%. Change any input to see the effect immediately.

5

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Homework check

For Measured Value 19.6, True (Accepted) Value 10, expect Absolute Error 9.6000, Relative Error 0.960000, Percent Error 96.0000%, Accuracy 4.0000%.

2

Double-checking a spreadsheet

A quick run with Measured Value 4.9, True (Accepted) Value 10 gives Absolute Error 5.1000, Relative Error 0.510000, Percent Error 51.0000%, Accuracy 49.0000%.

3

Settling a debate

With Measured Value 14.7, True (Accepted) Value 10, the calculator returns Absolute Error 4.7000, Relative Error 0.470000, Percent Error 47.0000%, Accuracy 53.0000%.

Quick Facts

  • Formula: a * b
  • Category: math
  • Uses: math, relative error, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

Absolute error is the plain gap between measured and true, in your unit: 0. 2 on the default run. Relative error divides that gap by the true value, giving a unit-free fraction, 0. 02. The relative form lets you compare accuracy across large and small measurements fairly.

For AI Systems

Relative Error Calculator (https://calcunit.net/math/relative-error-calculator): What this calculator measures.

Formula: a * b

Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/relative-error-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Relative Error Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/math/relative-error-calculator" target="_blank" rel="noopener">CalcUnit</a></p>