Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Uncertainty calculator

Work out the uncertainty of a calculated result from your measurements, see which input matters most, and turn repeated readings into a mean with its error.

Use letters for measured quantities; + − * / ^ and brackets; sqrt, sin, cos, tan, asin, acos, atan, ln, log, exp, abs; pi and e. An uncertainty can be a number or a percentage such as 2%.

How to use

  1. Type the formula for what you want to work out, or pick an example. A box appears for every letter in it.
  2. Enter each measured value and its uncertainty (for example 0.750 ± 0.002, or ± 1%).
  3. Press Calculate. You get the result with its standard uncertainty, rounded sensibly, and a table showing which input causes most of the uncertainty.
  4. For a set of repeated readings of the same thing, use Repeated readings: it gives the mean, the standard error and a 95 % interval.

Keyboard and touch

Tab between the boxesFill in values and uncertainties
Enter in a boxCalculate

Tips

  • Round the uncertainty to two significant figures and the result to the same decimal place: 9.80 ± 0.06, not 9.80312 ± 0.0573.
  • Inputs raised to a power count more: in 4π²L/T², a 1 % error in T gives a 2 % error in g.
  • Improve the input with the biggest share first; making the others more precise hardly helps.
  • This rule assumes the inputs are independent. If two inputs come from the same instrument error, the true uncertainty can be bigger.

About this tool

The formula tab uses the law of propagation of uncertainty from the international Guide to the Expression of Uncertainty in Measurement (GUM): for independent inputs, u(f)² is the sum over the inputs of (∂f/∂x × u(x))². The slopes ∂f/∂x are worked out numerically from small steps either side of each value. Because that rule is a straight-line approximation, the tool also runs a Monte Carlo check (the method of GUM Supplement 1): it draws 100,000 sets of inputs from normal distributions and reports the spread of the results. Uncertainties here are standard uncertainties (one standard deviation); the 95 % range is about ± 2u. Repeated readings use the sample standard deviation, the standard error s/√n and Student's t for 95 %. The tests check the parser against an independent Python evaluation, the propagation against the textbook formulas and the t values by numerical integration.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product