Math & Conversions

Absolute Error Calculator

The Absolute Error Calculator compares a measured value with the exact (true) value, returning the absolute error |measured - exact| and, when the exact value is not zero, the relative error as a percentage.

What this calculator does

The Absolute Error Calculator estimates your result instantly from the values you enter, using standard math & conversions formulas. The Absolute Error Calculator compares a measured value with the exact (true) value, returning the absolute error |measured - exact| and, when the exact value is not zero, the relative error as a percentage. Calculations run in your browser, so nothing you type is sent to a server, and the output is an estimate rather than a certified or official figure.

Absolute Error Calculator

Result

0
Absolute Error
0%
Relative Error

About Absolute Error Calculator

Absolute error is the size of the gap between a measured value and the exact value it is meant to represent, calculated as |measured − exact|. Relative error expresses that gap as a share of the exact value, which makes it easier to compare accuracy across measurements of different sizes.

Enter your measured value and the exact value, and the calculator returns the absolute error and — when the exact value is not zero — the relative error as a percentage.

Formula & Mathematical Calculation

absErr = Math.abs(m - e)

relErr = e !== 0 ? (absErr ÷ Math.abs(e)) × 100 : null

Derived directly from the verified calculation function in the tool engine.

Calculation Example

If your measured value is 9.8 and the exact value is 10, the absolute error is |9.8 − 10| = 0.2. The relative error is (0.2 ÷ 10) × 100 = 2.0000%.

Key Benefits

  • Reports both absolute error and relative error from a single pair of values
  • Handles decimals and negative values
  • Flags the case where the exact value is zero, when relative error is undefined
  • Runs in your browser with no data sent to a server

How to Use this Calculator

  1. Enter the measured value
    Type the value you observed or recorded into the Measured field.
  2. Enter the exact value
    Type the true or accepted reference value into the Exact field.
  3. Calculate
    Press Calculate to see the absolute error and, if the exact value is not zero, the relative error as a percentage.

Assumptions & Limitations

What the calculation assumes

  • Every value you enter is treated as an exact, known amount.
  • Any rate or interval you enter is assumed to hold for the whole period unless the form asks for it separately.
  • Results use standard published formulas and account only for the values entered above.
  • Rounding is applied for display; the underlying calculation uses your full precision.
  • Results are returned in the same units you enter, unless the tool states the output unit.

What it does not cover

  • Absolute Error Calculator produces a calculated result for reference and learning, not a certified or official measurement.
  • Real-world outcomes differ when tolerances, rounding rules or local standards apply.
  • Definitions and standards vary by region and change over time; verify the convention that applies to your case.
  • Figures are only as accurate as the inputs you supply — check them before acting on the result.
  • For work where the result carries real consequences, confirm it against an authoritative source.

Frequently Asked Questions

Absolute error is the raw difference |measured - exact| in the same units as your values. Relative error divides that difference by the exact value and expresses it as a percentage, so it shows the error in proportion to the quantity being measured.

Relative error divides by the exact value. When the exact value is 0, that division is undefined, so the calculator reports the relative error as not available.

Absolute error uses the absolute difference, so swapping measured and exact gives the same absolute error. Relative error, however, is always divided by the exact value you enter.

Free to use, no account needed. Calculations run in your browser, so nothing you type is sent to a server. Results are estimates — how we build and check our calculators.