Significant Figures Calculator
Quick answer: To round a number to 3 significant figures, keep its first 3 non-zero digits and round the rest: 12,345 becomes 12,300, and 0.004567 to 2 significant figures becomes 0.0046. Leading zeros never count as significant, but zeros between digits and trailing zeros after a decimal point do. Enter any number below and choose how many significant figures you want.
This significant figures calculator rounds any number — positive, negative, or zero — to the number of significant figures you choose, and shows how many significant figures your original number carries.
Enter your numbers
Any number, positive or negative. Zero is a special case and always returns 0.
How many significant digits to keep, from 1 to 21.
Your results
| Rounded result | 12,300 |
|---|---|
| Significant figures in your number | 5 |
| Scientific notation | 1.23 × 10^4 |
Rounding follows JavaScript Number.toPrecision, with trailing zeros stripped so the result shows exactly the requested significant figures.
How to use this calculator
Enter the number you want to round, then set how many significant figures to keep. The result updates instantly as you type.
Use the result when a measurement or calculation should not claim more precision than the data supports — for example, reporting a lab result to 3 significant figures.
How it works
Rounding to n significant figures keeps the first n digits starting from the first non-zero digit, then rounds the next digit up if it is 5 or more. Leading zeros (such as the zeros in 0.004567) are placeholders and never count; zeros between non-zero digits and trailing zeros after a decimal point do count.
Zero is an edge case: 0 has no non-zero digits, so it rounds to 0 at any number of significant figures. Negative numbers are rounded by magnitude and keep their minus sign. This calculator uses JavaScript's Number.toPrecision for the rounding step and then strips unneeded trailing zeros.
Assumptions: the input is treated as an exact value to be rounded, not as a measurement with its own uncertainty. Results beyond about 21 significant figures exceed the precision of double-precision numbers and may not be exact.
Worked example
12,345 to 3 significant figures: the first 3 significant digits are 1, 2, 3, and the next digit (4) rounds down, giving 12,300. 0.004567 to 2 significant figures: the first 2 significant digits are 4 and 5, and the next digit (6) rounds up, giving 0.0046.
Reference data
| Rule | Example |
|---|---|
| All non-zero digits count | 12,345 has 5 significant figures |
| Leading zeros do not count | 0.004567 has 4 significant figures |
| Zeros between digits count | 10,005 has 5 significant figures |
| Trailing zeros after a decimal point count | 12.300 has 5 significant figures |
Source: standard significant-figure rules as published by the National Institute of Standards and Technology (NIST SP 811), current edition 2026.
Method & sources
The calculator rounds with Number.toPrecision(n), which rounds to n significant digits, then removes trailing zeros after the decimal point. The significant-figure count of the input is found by stripping the sign, leading zeros, and the decimal point, then counting the remaining digits.
Frequently asked questions
What is a significant figure?
A significant figure is a digit that carries real information about a value. All non-zero digits count, leading zeros do not, and zeros between digits or after a decimal point do count.
How do you round 12,345 to 3 significant figures?
Keep the first 3 significant digits (1, 2, 3). The next digit is 4, which rounds down, so the answer is 12,300.
Do leading zeros count as significant figures?
No. In 0.004567 the zeros before the 4 are placeholders only, so the number has 4 significant figures.
What happens with zero or negative numbers?
Zero rounds to 0 at any number of significant figures. Negative numbers are rounded by magnitude and keep the minus sign.
Why does 12.300 have 5 significant figures?
Trailing zeros after a decimal point are significant because they show the value was measured to that precision — 12.300 claims precision to the thousandths place.