Checking absolute and relative error against a stated reference
The same absolute difference can be small or large depending on what it is compared with. This guide uses a difference of 2 against references of 100 and 10 to show the gap between absolute and relative error.
Two ways to state the same miss
Absolute error is the size of the difference between a measured or computed value and a reference, in the original unit. Relative error divides that difference by the size of the reference, giving a unitless ratio, often shown as a percent. A difference of 2 against a reference of 100 is an absolute error of 2 and a relative error of 2/100, or 2 percent. The same difference of 2 against a reference of 10 is still an absolute error of 2, but the relative error is 2/10, or 20 percent. The what percent calculator performs this division: part 2, whole 100 gives 2, and part 2, whole 10 gives 20.
Why the reference changes the picture
An error of 2 millimeters is minor on a 100 millimeter part and large on a 10 millimeter part. Relative error captures that. It tells you how big the miss is compared with the thing being measured, which is often what matters for judging quality. Absolute error captures the size in units a person can feel, such as 2 dollars, 2 degrees or 2 meters. Neither is better in general. They answer different questions, and reports that give only one can mislead a reader who wanted the other. A quality report might say a reading was off by 2 units, which is 2 percent of the reference. That single sentence carries both views and lets each reader take the one they need. Where space allows, give the signed difference as well, since a plus or minus sign shows whether the measurement ran high or low.
Absolute and relative tolerances
A tolerance is the allowed amount of error. An absolute tolerance, such as plus or minus 2 units, is the same for every value. A relative tolerance, such as plus or minus 2 percent, grows with the size of the value: it allows 2 on 100 and 20 on 1,000, but only 0.2 on 10. Numerical software often combines the two, accepting a result if it falls within either bound. The two descriptions diverge sharply at small and large magnitudes, so a check that passes under one rule can fail under the other.
More references for the same difference
Keep the difference at 2 and change the reference. Against 50 the relative error is 4 percent. Against 2,000 it is 0.1 percent. Against 1,000,000 it is 0.0002 percent. The absolute error never moves, and the relative error ranges across four orders of magnitude. The what percent calculator confirms the first two: part 2 with whole 50 gives 4, and part 2 with whole 2,000 gives 0.1. This is why a statement such as the error is only 2 is incomplete without the reference, and why the statement the error is 2 percent is incomplete without the unit of the reference. Reporting both numbers resolves the ambiguity.
Which value is the reference
The relative error depends on the value you divide by. Conventionally, the denominator is the true, accepted or reference value. If a true value is 100 and a measurement is 102, the relative error is 2/100 = 2 percent. If you divide by the measurement instead, you get 2/102, about 1.96 percent. The difference is small here and grows with larger errors. Fix the convention in advance, state it with the result, and apply it consistently. The worksheet uses the stated reference as the whole in the percent calculation.
A zero reference
If the reference is zero, relative error is undefined, because the division is by zero. An instrument that reads 0.003 when the true value is zero has an absolute error of 0.003 and no relative error. This is a real problem near zero, where small absolute errors produce huge or undefined ratios. In such cases, use an absolute tolerance, or switch to a scale-based measure, such as comparing against the range of the instrument. The worksheet does not choose a tolerance for any application. It compares the two arithmetic scales under positive references.
Percent error versus percentage points
Relative error expressed in percent should not be mixed up with a difference between two percentages. If a rate moves from 20 percent to 22 percent, the change is 2 percentage points. As a relative change it is 2/20 = 10 percent. The first is an absolute difference on the percent scale, and the second is a relative one. The same logic as in this guide applies, with the percentages themselves as the quantities. Writing percentage points for the first and percent for the second prevents most confusion. The same trap appears in error reports. If a forecast error falls from 10 percent to 8 percent, that is a drop of 2 percentage points, and a relative improvement of 2/10, or 20 percent. Both statements are correct, and which one a headline uses changes how large the improvement sounds, so say which is meant.
Reading specifications
Instrument and component specifications often give accuracy as a percent of reading plus a fixed amount, such as 1 percent plus 2 counts. That combines both ideas: the relative part grows with the reading and the absolute part sets a floor. For a reading of 100, the bound is 1 + 2 = 3 units if the counts equal one unit each, and at a reading of 10, it is 0.1 + 2 = 2.1. Reading such a specification correctly requires seeing both parts, since a single percentage would suggest an error bound that shrinks toward zero with the reading.
What the worksheet does and does not do
The worksheet compares two arithmetic scales for a stated difference and positive reference values. It does not decide what error is acceptable for any measurement, product or application, and it does not replace a tolerance given by a standard or a customer. Whether 2 percent is small enough, or 2 units, depends on the use. Treat the two results as a pair, record the reference with them, and make the acceptance decision against the rule that applies to your work. When a specification states a limit, check which kind it is before comparing: a limit of 2 units and a limit of 2 percent disagree for every reference except 100. The two controls here make that disagreement concrete, with the same difference of 2 landing at 2 percent on one reference and 20 percent on the other.
Reproduce the checks
Large reference
Open the What percent calculator and enter:
- Part
2- Whole
100
Expected output:
Percentage of the whole
2The difference is two percent of this reference.
Small reference
Open the What percent calculator and enter:
- Part
2- Whole
10
Expected output:
Percentage of the whole
20The same absolute difference has a larger relative size.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.