Engineering Notation and Significant Figures
Your multimeter shows 0.0470 on its amps range. A colleague writes "0.047 A" in the report, a spreadsheet prints 0.047000000000000006, and the datasheet calls it "47 mA". Are these the same? Not quite: the meter said the third digit after the 4 is a real zero, the colleague threw that information away, and the spreadsheet invented thirteen digits nobody measured. Significant figures are the digits that carry information, and engineering notation is the way engineers write numbers so that the prefix and the digits are visible at a glance.
If you have seen these ideas in school, the Lab Skills lessons on scientific notation, significant figures and calculating with them cover the basics. This lesson adds the engineering habits.
Intuition: which digits count
The rules, short:
- Non-zero digits are significant.
- Zeros between significant digits are significant ( has three).
- Leading zeros only place the decimal point ( starts counting at the 4).
- Trailing zeros after a decimal point are significant ( has three). Trailing zeros in a whole number are ambiguous: "4700 ohm" could be two, three or four figures. Notation removes the doubt.
Scientific and engineering notation
Scientific notation writes one non-zero digit before the point: . Engineering notation restricts the exponent to multiples of three, so the mantissa lies between 1 and 999 and the exponent maps directly onto an SI prefix:
The number of significant figures is the number of digits in the mantissa: has three and two, and they are not the same claim. Calculators often have an ENG display mode for this; Python's format codes do it with a small helper (below).
Rules for calculations
- Multiply and divide: the result keeps as many significant figures as the least precise factor.
- Add and subtract: the result keeps as many decimal places as the least precise term (line the numbers up by their units first).
- Keep guard digits. Carry one or two extra digits through intermediate steps and round only the final answer. Rounding at every step accumulates error.
- With an uncertainty, the uncertainty decides. Round the uncertainty to one or two significant figures, then round the value to the same decimal place: becomes or , never . The uncertainty lesson shows where the uncertainty comes from.
Counting significant figures is only a rough stand-in for real uncertainty; once you know the uncertainty, rule 4 replaces rules 1 and 2.
Worked example
Given: a resistor of (three figures) with across it, in series with a battery whose internal resistance is . Find: the power in and the total resistance of the loop. Solve:
Check: , so has the right size, and the unit is a power. The total resistance can't be known better than the tenth of an ohm in , even though was given to the thousandth.
Code: engineering notation in Python
Python's f"{x:.3g}" gives three significant figures, f"{x:.2e}" scientific notation; neither picks a prefix. This helper rounds to sig figures first (so 9999 becomes 10.0 k, not 999.9) and then chooses the exponent multiple of three:
import math
PREFIXES = {-12: "p", -9: "n", -6: "u", -3: "m", 0: "", 3: "k", 6: "M", 9: "G"}
def eng(x, unit="", sig=3):
"""Engineering notation with an SI prefix and `sig` significant figures."""
if x == 0:
return f"0 {unit}"
x = float(f"{x:.{sig}g}") # round to sig figures first
exp3 = 3 * math.floor(math.log10(abs(x)) / 3)
mant = x / 10**exp3
decimals = max(sig - len(str(int(abs(mant)))), 0)
return f"{mant:.{decimals}f} {PREFIXES[exp3]}{unit}"
for x, u in [(0.000047, "F"), (4700, "ohm"), (0.0012345, "A"), (1.21e6, "Hz"), (9999, "ohm"), (3.3e-11, "F")]:
print(f"{x:>10g} -> sci {x:.2e} | eng {eng(x, u)}")
V, R = 4.41, 10.0
print(f"P = {V**2 / R} W, reported as {eng(V**2 / R, 'W')}")
print(f"R_tot = {10.0 + 0.476} ohm, reported as {10.0 + 0.476:.1f} ohm")
print("round(0.125, 2) =", round(0.125, 2), "| round(0.375, 2) =", round(0.375, 2))
print("round(2.675, 2) =", round(2.675, 2), "because 2.675 is stored as", f"{2.675:.20f}") 4.7e-05 -> sci 4.70e-05 | eng 47.0 uF
4700 -> sci 4.70e+03 | eng 4.70 kohm
0.0012345 -> sci 1.23e-03 | eng 1.23 mA
1.21e+06 -> sci 1.21e+06 | eng 1.21 MHz
9999 -> sci 1.00e+04 | eng 10.0 kohm
3.3e-11 -> sci 3.30e-11 | eng 33.0 pF
P = 1.94481 W, reported as 1.94 W
R_tot = 10.475999999999999 ohm, reported as 10.5 ohm
round(0.125, 2) = 0.12 | round(0.375, 2) = 0.38
round(2.675, 2) = 2.67 because 2.675 is stored as 2.67499999999999982236
Two surprises in the last lines. Python's round rounds an exact half to the nearest even digit ("banker's rounding", the IEEE 754 default), so 0.125 goes down and 0.375 goes up. And 2.675 can't be stored exactly in binary floating point, so it is really a hair below 2.675 and rounds down. Neither matters for measurements, whose uncertainty is far larger than the last digit, but both matter if you compare printed numbers in a test, and both are why the output blocks in this course print fixed precision.
Guided lab: read a meter honestly
- Hand calculation: a 6000-count meter (largest display 5999) on its range shows three decimals. How many significant figures does a reading of have? Four. On the range the same battery reads : three.
- Simulation: in the lab below (it writes the voltage as ) the ammeter readout shows three decimals; with and it reads . Write it in engineering notation () and compute the power to the right precision ( if has two figures).
- What you would measure: an AA cell on the range reads around to when fresh, and the last digit may flicker by one or two counts. Record the digit range you see (for example "1.587 to 1.589 V") rather than one frozen value.
Hazards and safe setup: a single AA cell and a meter on its voltage range: no hazard beyond not shorting the cell with the probes on a current range.
Pitfalls
- Copying every digit the calculator shows. A result can't be more precise than its inputs.
- Dropping meaningful zeros. and claim different precision.
- Rounding too early. Round once, at the end.
- Ambiguous whole numbers. Write or , not "4700 ohm".
Practice
- How many significant figures: , , ?
- Write and (three figures) in engineering notation with prefixes.
- flows through . Give with the right number of figures.
Answer
- Three, four, one.
- and .
- ; has two figures, so .
Test yourself
How many significant figures does have?
- 2
- 3
- 4
- 5
Which is in engineering notation?
should be reported as
A result is with uncertainty . Which is the correct report?
Python prints round(0.125, 2) as 0.12. Why?
- A bug in Python
- Exact halves round to the even digit
- 0.125 is stored as slightly less than 0.125
- round() truncates