Significant Figures Calculator
Calculators · Added
Significant figures are a property of how a number was written, not of its value — 1200, 1.2 × 10³ and 1200. are the same quantity with two, two and four figures. This counts them digit by digit and says why each one does or does not count, rounds correctly on the cases floating point gets wrong, and applies the right propagation rule to a calculation rather than the one people usually reach for.
Enter a number and press the button.
How to use the significant figures calculator
- 1Pick what you need: counting the figures in a number, rounding to a set number of them, or calculating with them.
- 2Type the number exactly as it was given to you — the trailing zeros and the decimal point are the information.
- 3For a calculation, put each measurement on its own line and choose one operation.
- 4Read the answer, and the explanation of which operand set the precision and why.
Examples
Counting, with the reason for each digit
- Input
- 0.004560
- Result
- 4 significant figures, 6 decimal places
The leading zeros only place the point; the trailing zero after the point is significant or it would not have been written.
The case a computer gets wrong
- Input
- 1.005 to 2 decimal places
- Result
- 1.01
Type (1.005).toFixed(2) into any browser console and it gives 1.00, because the double nearest 1.005 is slightly below it.
Two rules, two answers
- Input
- 12.11 + 0.3 + 4.156, then 2.5 × 3.42
- Result
- 16.6 (one decimal place) and 8.6 (two significant figures)
Addition keeps decimal places, multiplication keeps significant figures. Swapping the rules is the standard exam mistake.
About the significant figures calculator
The rules, and the one that is not a rule
Four of the five rules are unambiguous. Every non-zero digit is significant. Zeros between non-zero digits are significant. Leading zeros never are — they only place the decimal point, which is why 0.0045 has two figures and not four. Trailing zeros after a decimal point are significant, because nobody writes them by accident.
The fifth case is not a rule at all but a hole in the notation. Trailing zeros in a whole number with no decimal point could be either, and no convention settles it. Some teachers say assume they are not significant, some say assume they are, and some say the number is simply badly written. All three are defensible, and this tool takes the third position: it reports the range and shows you the scientific notation that would say what you meant.
Why this rounds on the digits rather than on a number
The obvious implementation of rounding is to parse the input into a floating point number and call the language's rounding function. It produces wrong answers on exactly the examples a page about precision is likely to be asked. In JavaScript, (1.005).toFixed(2) is "1.00", not "1.01", and (1.015).toFixed(2) is "1.01" — because the doubles nearest those decimals sit fractionally below them, so the correct rounding of the stored value is downward. The same trap catches Python's round and most spreadsheet functions.
So this parses the literal into a sign, a string of digits and an exponent, rounds by looking at the digit after the cut and carrying through any nines, and renders the string back. No floating point value exists anywhere in the path, and every textbook case comes out the way the textbook says it should.
The same reasoning is why the input is a string rather than a number. As soon as the digits become a value, the difference between 1200 and 1.2 × 10³ is gone, and with it the entire question the tool exists to answer.
Where the rules break down
Subtraction of two close numbers destroys precision in a way the rules describe but do not warn about. 1.00003 minus 1.00001 has six significant figures on each side and two in the answer. This is catastrophic cancellation, and it is the reason a measurement intended to be subtracted from another has to be far more precise than the difference needs to be. The tool flags it when the result collapses to a small fraction of the first operand.
Rounding also compounds. Applying the rules after every step of a long calculation gives a different answer from carrying full precision and rounding once at the end, and the difference grows with the number of steps. The usual advice — keep an extra digit or two through the working and round only the final answer — is right, and it is another reason a mixed expression has no single correct treatment.
Frequently asked questions
Why is 1200 ambiguous?
Why does multiplication use significant figures and addition use decimal places?
Why does this not accept a mixed expression?
Are exact numbers counted?
Are significant figures the same as an uncertainty calculation?
Related tools
Scientific Notation Converter
Converters
Convert between standard, scientific and engineering notation, with significant figures handled properly.
Standard Deviation Calculator
Calculators
Calculate sample or population standard deviation with the full working shown.
Average Calculator
Calculators
Find the mean, median, mode and range of a list of numbers, pasted in any format.
AC BTU Calculator
Calculators
Size an air conditioner for a room, with the adjustments for sun, ceiling height, occupants and kitchens.