Skip to content
1001 Tools
sr
Math & education

Percent Error Calculator

Enter the expected (true) value and the value you measured to get the percent error — how far off the measurement was, as a percentage of the true value. The tool also shows the raw difference and whether your result came out high or low. It is the standard formula used in science labs and classrooms.

Enter the expected value and your measured value.

How it works

Percent error is the size of the difference between the measured and expected values, divided by the expected value, times 100: |observed − expected| ÷ |expected| × 100. It is always reported as a non-negative percentage, because it measures how far off you were, not the direction.

The expected value is the denominator, so it cannot be zero. The tool also reports the plain (signed) difference and labels the result as over or under the true value, which tells you the direction even though the percent error itself does not. Take the absolute value of the expected figure so negative reference values still give a sensible percentage.

Practical examples

A physics measurement

Gravity’s accepted value is 9.81 m/s². If an experiment measures 9.63, the percent error is |9.63 − 9.81| ÷ 9.81 × 100 ≈ 1.83%.

A weighing check

A scale should read 500 g but shows 512 g. The percent error is 12 ÷ 500 × 100 = 2.4%, and the reading is over the true weight.

A forecast that was low

Expected turnout was 2,000 but 1,700 came. That is |−300| ÷ 2,000 × 100 = 15% error, under the expected figure.

Frequently asked questions

What is percent error?

It measures how close a measured or estimated value is to the true value, as a percentage. A small percent error means the measurement is accurate; a large one means it is far off.

What is the formula?

Percent error = |measured − expected| ÷ |expected| × 100. You take the difference, divide by the true value, and multiply by 100 to express it as a percentage.

Which value is the expected one?

The expected (or true, accepted, theoretical) value is the reference you are comparing against — for example a textbook constant or a known standard. The measured (or observed, experimental) value is what you actually got.

Why is percent error usually positive?

Because the standard definition uses the absolute value of the difference — it reports the magnitude of the error, not its direction. This tool adds an "over" or "under" label so you still know which way it went.

What is the difference between percent error and percent difference?

Percent error compares a measurement against a known true value. Percent difference compares two measurements when neither is the "correct" one, dividing by their average instead of by a reference value.

Why can’t the expected value be zero?

Because it is the denominator. Dividing by zero is undefined, and a true value of zero has no meaningful percentage to be off by. Use absolute error in that case instead.

Can the values be negative?

Yes. The tool uses the magnitude of the expected value in the denominator, so a reference like −40 still yields a sensible percent error. The signed difference is shown separately.

What counts as a good percent error?

It depends on the field and the equipment. In a school lab, under 5% is often considered good; precision instruments aim for a fraction of a percent. There is no universal threshold.

How is percent error related to relative error?

Relative error is the same ratio without multiplying by 100 — a fraction rather than a percentage. Percent error is just relative error expressed as a percent.

Are my numbers kept private?

Yes. The calculation runs in your browser; the values you enter are never uploaded.

Related tools