Sub topic 6
Counting significant figures
This chapter assumes you can read scientific notation, you know what a measurement uncertainty is (from the previous chapter), and you are comfortable with powers of ten. It covers how to count significant figures in a written number and how to write a number so its precision is clear. Calculations and rounding come in the next chapter.
What significant figures tell you
Significant figures (sig figs) are the digits in a reported value that carry information about the measurement. They are the digits you are confident about, plus one final digit that is estimated.
Suppose you read a ruler marked in millimetres and record 12.34 cm. The digits 1, 2 and 3 are read from the scale. The 4 is your estimate between two marks. All four digits are significant. Writing 12.340 cm would claim you could estimate to a tenth of a millimetre's tenth, which the ruler does not support.
So the count of sig figs is a compact statement of uncertainty. A value of 12.34 cm implies an uncertainty of about 0.01 cm in the last place. This is why you should never copy all the digits from a calculator display.
The counting rules
Every digit falls into one of a few categories. The rules below decide which categories count.
- Non-zero digits are always significant. In 4.56 there are 3 sig figs.
- Zeros between non-zero digits are significant. In 1007 there are 4.
- Leading zeros are never significant. They only locate the decimal point. In 0.0045 there are 2.
- Trailing zeros after a decimal point are significant. In 1.200 there are 4, and in 0.00450 there are 3.
- Trailing zeros in a number with no decimal point are ambiguous. In 100 you cannot tell whether there are 1, 2 or 3 sig figs.
The table applies these rules to some typical values.
| Value | Sig figs | Reason |
|---|---|---|
| 4.56 | 3 | All non-zero |
| 1007 | 4 | Captive zeros count |
| 0.0045 | 2 | Leading zeros do not count |
| 0.00450 | 3 | Trailing zero after the decimal point counts |
| 1.200 | 4 | Trailing zeros after the decimal point count |
| 100. | 3 | The decimal point marks the zeros as significant |
| 100 | 1 (by convention) | Trailing zeros without a point are ambiguous |
| 10200 | 3 (by convention) | Middle zero counts, trailing zeros do not |
Why leading zeros do not count
Leading zeros come from the choice of unit, not from the quality of the measurement. The length 0.0045 m is the same measurement as 4.5 mm. Changing the unit moved the zeros away, so they cannot carry information about precision. Both forms have 2 sig figs.
Trailing zeros are different. Writing 4.50 mm instead of 4.5 mm is a deliberate claim that the hundredths place was measured and found to be zero. That claim changes the implied uncertainty from about 0.1 mm to about 0.01 mm.
The trailing-zero problem and scientific notation
A number like 1500 m can mean "about 1500, to the nearest hundred" or "exactly 1500, to the nearest metre". Plain notation cannot tell these apart. Scientific notation removes the ambiguity, because every digit in the mantissa (the part before the power of ten) is significant.
| Written form | Sig figs | Implied precision |
|---|---|---|
| 1.5 × 10³ m | 2 | Nearest 100 m |
| 1.50 × 10³ m | 3 | Nearest 10 m |
| 1.500 × 10³ m | 4 | Nearest 1 m |
There are other ways to mark precision. A trailing decimal point (1500.) makes all digits significant. A bar over the last significant zero, or an explicit uncertainty such as 1500 ± 10 m, also works. In a plain-text or typed solution, scientific notation is the clearest choice.
The power of ten never affects the count. 6.02 × 10²³ has 3 sig figs, and so does 6.02 × 10⁻²³.
Exact numbers
Some numbers have no uncertainty, so they have effectively unlimited sig figs. There are two main kinds.
- Counted values. If you count 12 eggs, there is no estimated digit.
- Defined values. The factor 1000 in 1 km = 1000 m is a definition, and so is 2.54 in 1 in = 2.54 cm. Since 2019 the SI also defines constants exactly, such as the speed of light, 299 792 458 m/s.
Exact numbers never limit the precision of a result. Only measured values do. The same goes for pure numerical factors in formulas, like the 2 in 2πr or the ½ in ½mv².
A counting function you can run
The rules above can be coded. The function below takes a number as a string (a string keeps trailing zeros that a float would discard) and returns the sig fig count under the conventions in this chapter.
def count_sig_figs(text):
"""Count significant figures in a decimal or scientific-notation string.
Convention: trailing zeros in a number with no decimal point
are treated as not significant.
"""
s = text.strip().lower().lstrip("+-")
mantissa = s.split("e")[0] # the power of ten never matters
if "." in mantissa:
# Remove the point, then drop leading zeros only.
digits = mantissa.replace(".", "").lstrip("0")
else:
# No point: drop leading and trailing zeros.
digits = mantissa.strip("0")
return len(digits)
tests = ["4.56", "0.0045", "1.200", "100", "100.", "1.00e3",
"10200", "0.00450", "5.0e-3"]
for t in tests:
print(f"{t:>8} -> {count_sig_figs(t)}")Running it prints 3, 2, 4, 1, 3, 3, 3, 3 and 2 in that order. Note that the string "100" gives 1 because the function follows the convention. A different instructor or textbook might read it as 3, which is the reason to avoid writing such numbers in the first place.
The function returns 0 for "0" and "0.0". A bare zero has no significant digits to count, so treat that case as outside the rules.
Sig figs versus decimal places
These are two different ways of measuring precision, and mixing them up causes many errors.
- Significant figures count meaningful digits from the first non-zero digit onward.
- Decimal places count digits after the decimal point.
The value 0.00450 has 3 sig figs and 5 decimal places. The value 12.30 has 4 sig figs and 2 decimal places. Addition and subtraction follow decimal places, while multiplication and division follow sig figs. The next chapter develops this, so make sure you can tell the two counts apart now.
Common errors
- Counting leading zeros. Saying 0.0072 has 4 sig figs. It has 2.
- Dropping meaningful trailing zeros. Writing 2.50 as 2.5 after a measurement made to the hundredths place. This discards information.
- Adding zeros you did not measure. Converting 5 km to metres and writing 5000 m suggests more precision than you have. Write 5 × 10³ m.
- Trusting the calculator. A display of 3.3333333 from 10.0 ÷ 3.0 has 8 digits, but the inputs support only 2.
- Treating a unit conversion as new precision. 2.0 in is 5.08 cm if you use every digit, but it should be reported as 5.1 cm, because the input had 2 sig figs.
Checking your understanding
Exercise
How many significant figures are in each of these values? (a) 0.030200 (b) 5.00 × 10⁻⁴ (c) 4700 (d) 4700. (e) 1.0070
Show answer
(a) 5. The leading zeros do not count, while the 3, the captive 0, the 2, and the two trailing zeros after the decimal point all do. (b) 3, since every digit of the mantissa counts and the power of ten does not. (c) 2 by convention, because the trailing zeros have no decimal point to mark them as significant. (d) 4, because the trailing decimal point makes the zeros significant. (e) 5, because the captive zeros and the trailing zero after the decimal point all count.
Exercise
A student measures a length with a metre stick marked in millimetres and writes down 0.0820 m. (a) How many sig figs does this have? (b) Rewrite it in millimetres with the same number of sig figs. (c) Why is writing 82 mm a loss of information?
Show answer
(a) 3 sig figs: the 8, the 2, and the trailing 0 after the decimal point. The leading zeros do not count. (b) 82.0 mm, which also has 3 sig figs. The unit changed but the precision did not. (c) 82 mm has only 2 sig figs, so it implies an uncertainty of about 1 mm. The original value claims the measurement was good to about 0.1 mm, which the student did record.