Skip to content

Percent Error Calculator

How far a measurement is from the accepted value.

Inputs

Example: Percent error
2.0408%

Use this calculator on your own site

Free embed

  • Two lines of HTML, unlimited views
  • Shows a small CalculateEveryday bar, with a credit link under the calculator

What each Percent Error input means

Experimental (measured) value
What you measured or calculated — the experimental, observed or measured value. Use the same units as the accepted value.
Accepted (actual) value
The value you compare against: a textbook constant, a manufacturer's specification or a theoretical result. It goes in the denominator, so it cannot be 0.

Percent Error formula

Percent error = |experimental − accepted| ÷ |accepted| × 100

% error=∣experimental−acceptedaccepted∣×100\%\,\text{error} = \left|\frac{\text{experimental} - \text{accepted}}{\text{accepted}}\right| \times 100

Percent error says how far a measurement landed from the accepted value, as a share of that accepted value: the difference, divided by the accepted value, times 100. The absolute value makes the headline positive whichever way you missed; the signed error underneath keeps the direction — too high or too low — which many lab reports ask about. The page also gives the absolute error (the plain gap, in your units), the relative error (the same comparison as a decimal), and the percent difference, which is the right figure when neither of two measurements is known to be correct. Dividing by the accepted value is the whole point: the same gap of 0.2 is a 2.04% error on 9.8 but a 20% error on 1.0.

Formula last checked against University of Iowa Physics & Astronomy, Imaging the Universe glossary — percent error formula; accepted values from NIST (SI defining constants, standard gravity) and OpenStax University Physics Volume 1, §17.2 'Speed of Sound' on 2 October 2026. Built and maintained by Suman Kumar · How we check

Percent Error worked example

Measuring gravitational acceleration as 9.6 against an accepted 9.8 is off by 0.2. 0.2 ÷ 9.8 × 100 = 2.0408%, and because the measurement came in under, the signed error is −2.0408%.

More Percent Error examples

A density lab: an aluminium block measured at 2.65 g/cm³ against the accepted 2.70 g/cm³. The gap is 0.05, and 0.05 ÷ 2.70 × 100 = 1.8519%. The measurement was low, so the signed error is −1.8519%.

Speed of sound: a resonance-tube result of 352 m/s against 343 m/s, OpenStax's value for air at 20 °C. 9 ÷ 343 × 100 = 2.6239%, too high. If the room was warmer, part of that error is the accepted value being wrong for the conditions — at 25 °C sound travels at about 346 m/s.

Where the Percent Error calculator can give the wrong answer

  • The accepted value is always the denominator. Dividing by your own measurement instead gives a different number and is the most common mistake in lab write-ups.
  • An accepted value of zero makes percent error undefined — report the absolute error instead.
  • Percent error compares against a known value. When comparing two measurements with no accepted value, the right tool is percent difference, which divides by their average.

Spotted a mistake? Tell us

Percent Error reference table

Accepted values often used in introductory labs
QuantityAccepted valueNote
Acceleration due to gravity, g9.80665 m/s²Standard gravity; most courses use 9.8 or 9.81, and the real value varies with place
Speed of sound in air343 m/s at 20 °C331 m/s × √(T ÷ 273 K): about 331 m/s at 0 °C, 346 m/s at 25 °C
Speed of light in a vacuum299,792,458 m/sExact, by the definition of the metre
Avogadro constant6.02214076 × 10²³ per moleExact since the 2019 SI redefinition
Density of water1.000 g/cm³ at 4 °C0.998 g/cm³ at 20 °C
Specific heat of water4.184 J/(g·°C)Used in calorimetry labs
Source: NIST, SI defining constants and standard acceleration of gravity; OpenStax University Physics Volume 1, §17.2 (speed of sound); OpenStax Chemistry 2e, §5.1 (specific heat of water)

Percent Error FAQ

The standard formula takes the absolute value, so no. Some instructors want the sign to show whether you were high or low; that is the signed error shown beneath the headline.