Mass Error Calculator: How to Find It
- Relative error
- %
- Result
- Accepted value
- 100 g
- You entered
- Measured value
- 98.5 g
- You entered
This calculator works out the absolute and relative error in a measured mass when you enter the accepted (true) value and the measured (experimental) value. You get the absolute error in the same unit you entered, plus the relative error as a percentage, which tells you how large the error is compared to the true value.
Formula
The absolute error is simply the difference between the measured value and the accepted value, taken as a positive number:
Absolute error = |measured − accepted|
The relative error expresses that difference as a fraction of the accepted value:
Relative error = (|measured − accepted| / accepted) × 100%
Here, accepted is the true or reference mass (in grams, kilograms, etc.), and measured is the value you obtained from your measurement (in the same unit). The vertical bars mean “absolute value,� so the error is always reported as a positive number, regardless of whether your measurement was high or low.
Worked Example
Using the default values from the calculator above, suppose the accepted mass of a standard weight is 100 g and your laboratory balance reads 98.5 g.
- Subtract the measured value from the accepted value: 100 − 98.5 = 1.5 g.
- Take the absolute value (it is already positive): absolute error = 1.5 g.
- Divide by the accepted value: 1.5 / 100 = 0.015.
- Multiply by 100 to get a percentage: 0.015 × 100 = 1.5%.
The absolute error is 1.5 g and the relative error is 1.5%. The calculator shows the same result with two decimal places.
Why Mass Error Matters
Mass measurements appear in nearly every science lab, from chemistry stoichiometry to physics experiments and quality control in manufacturing. Knowing the error in a mass measurement tells you how much you can trust the numbers that depend on it. For example, if you are preparing a solution that requires 5.00 g of a reagent and your balance has an error of ±0.05 g, that error propagates into the concentration of your solution. A small absolute error might be acceptable in one context but disastrous in another, which is why relative error is often the more meaningful number.
In many educational settings, the “accepted value� comes from a published source, such as the molar mass of an element or the mass of a standard calibration weight. The measured value is what you actually obtain on your instrument. Comparing the two gives a clear, quantitative measure of accuracy—how close your measurement is to the true value.
Common Mistakes and How to Avoid Them
- Using the wrong order in subtraction: Because you take the absolute value, it does not matter whether you subtract the measured from the accepted or vice versa. But if you skip the absolute value, you might get a negative error, which is sometimes used to indicate direction (bias), not magnitude.
- Mixing units: Both values must be in the same unit. If the accepted mass is in kilograms and the measured is in grams, convert one before calculating. The calculator assumes you enter both in the same unit.
- Confusing relative error with absolute error: A 1.5 g error on a 100 g object is 1.5%, but the same 1.5 g error on a 1000 g object is only 0.15%. Always report which one you mean.
- Rounding too early: Keep extra digits during intermediate steps and round only the final answer. Rounding the absolute error before dividing can change the percentage noticeably.
How to Choose the Right Error Type
Use absolute error when you need to know the raw difference in the same unit as the measurement—for example, checking whether a balance meets its specification of ±0.01 g. Use relative error when comparing measurements of different sizes, such as a 1 g error on a 10 g sample versus a 1 g error on a 1000 g sample. Relative error is also the standard way to express accuracy in analytical chemistry, often as parts per thousand (ppt) or parts per million (ppm) instead of percent: multiply the decimal relative error by 1000 or 1,000,000, respectively.
If you are measuring something with no accepted value, you cannot calculate error—you can only calculate precision (how close repeated measurements are to each other). That requires a different calculation, such as standard deviation, not error.
Limitations of the Simple Error Formula
The formula above assumes the accepted value is exact and the only error comes from the measurement. In practice, the accepted value itself may have uncertainty, and the measurement may have both random and systematic components. The simple error calculation gives you the total deviation but does not tell you whether it is due to a calibration offset (systematic) or random fluctuations (random). To separate those, you would need repeated measurements and statistical analysis.
Also, the relative error becomes undefined if the accepted value is zero, because you cannot divide by zero. In that case, report only the absolute error. Similarly, if the accepted value is very small, the relative error can be extremely large even for a tiny absolute error—this is not a bug but a reflection that a small absolute difference is huge relative to the true value.
Frequently Asked Questions
What is the difference between absolute and relative error?
Absolute error is the raw difference between the measured and accepted values, expressed in the same unit (e.g., grams). Relative error is that difference divided by the accepted value, usually shown as a percentage. For a 1 g error on a 100 g object, absolute is 1 g and relative is 1%; on a 1000 g object, the same absolute error is only 0.1% relative.
Can the error be negative?
The absolute error is always positive because it uses the absolute value. However, some fields report “signed error� or “bias� as measured minus accepted, which can be negative if your measurement is low. The calculator here gives the magnitude only, which is what most lab reports call “error.�
Why is relative error more useful than absolute error?
Relative error puts the error into context. A 0.5 g error on a 10 g sample is 5%, which may be unacceptable, while the same 0.5 g error on a 2000 g sample is only 0.025%, which is excellent. Relative error lets you compare accuracy across different scales.
What if I don’t know the accepted value?
Then you cannot compute error. You can only compute precision, such as the standard deviation of repeated measurements. Error requires a reference or true value to compare against.
Does the calculator work for any unit of mass?
Yes. The formula is unit-agnostic—just enter both values in the same unit (grams, kilograms, milligrams, etc.). The absolute error will be in that same unit, and the relative error is unitless (a percentage), so it does not change regardless of the unit you choose.
Related
Formula used
in a | Accepted value | g | 100 | 0 in m | Measured value | g | 98.5 | 0 out abserr | Absolute error | g | abs(m - a) | 2 out relerr | Relative error | % | (abs(m - a) / a) * 100 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.