What is significant-figure rounding?
Significant figures (sig figs) are the digits in a number that carry meaningful precision. This calculator rounds any number you enter to a chosen number of significant figures. It accepts whole numbers, decimals, and scientific notation written as 3.5e3, 3.5 x 10^3, or 3.5*10^3. It returns both the rounded value and a presentation string that makes the precision unambiguous using an overline on the last significant digit.
How to use it
Type the number you want to round in the "Round:" box. Enter how many significant figures you want to keep in the second box. Click calculate. The big number is your rounded answer; the table shows a presentation that marks the last significant digit with an overline whenever trailing zeros to the left of the decimal point are not significant.
The formula explained
Let \(V\) be the input and \(N\) the requested significant figures. We take the order of magnitude of the leading digit, \(d = \lfloor \log_{10}|V| \rfloor\). The rounding power is \(p = d - (N - 1)\). We then compute $$\text{Rounded} = \operatorname{sign}(V)\cdot\left\lfloor\frac{|V|}{10^{\,p}}+0.5\right\rfloor\cdot 10^{\,p}$$ which is standard round-half-up. The result is reformatted to \(\max(0, -p)\) decimal places to remove floating-point artifacts.
Worked example
Round 305.459 to 5 significant figures. Here \(d = \lfloor \log_{10}(305.459) \rfloor = 2\), so \(p = 2 - (5 - 1) = -2\) and \(10^p = 0.01\). Then \(305.459 / 0.01 = 30545.9\); \(\lfloor 30545.9 + 0.5 \rfloor = 30546\); multiply back by \(0.01\) to get \(305.46\). To 2 sig figs the same number rounds to 310, presented as 3 1̅ 0 because the trailing zero is not significant.
Rules for Counting Significant Figures
Significant figures (sig figs) are the digits in a measured or reported number that carry meaning about its precision. Use these rules before rounding, so you know how many digits a value already has.
| Rule | Example | Sig figs |
|---|---|---|
| Non-zero digits are always significant | 123 | 3 |
| Zeros between non-zero digits are significant | 1005 | 4 |
| Leading zeros are not significant (they only place the decimal point) | 0.0042 | 2 |
| Trailing zeros after a decimal point are significant | 2.500 | 4 |
| Trailing zeros in a whole number with no decimal point are ambiguous | 1200 | 2, 3 or 4 (unclear) |
| Scientific notation removes the ambiguity: every digit in the coefficient is significant | \(1.20\times10^{3}\) | 3 |
| An overline marks the last significant digit of a whole number | \(12\overline{0}0\) | 3 |
| Exact counted numbers have unlimited sig figs | 12 eggs in a dozen | unlimited |
| Defined constants have unlimited sig figs | 1 inch = 2.54 cm (exact by definition) | unlimited |
To avoid ambiguity, write a number like 1200 as \(1.2\times10^{3}\), \(1.20\times10^{3}\) or \(1.200\times10^{3}\), depending on the precision you mean. This calculator rounds half up: a discarded part of exactly 5 rounds the last kept digit upward (in absolute value).
Same Number Rounded to Different Significant Figures
The table rounds each input to 1, 2, 3 and 4 sig figs using round-half-up. The last column says whether the plain-decimal result needs an overline (or scientific notation) to show which trailing zeros are significant. When it applies, the overline goes on the last significant digit.
| Input | Sig figs | Rounded value | Scientific notation | Overline needed? |
|---|---|---|---|---|
| 0.004567 | 1 | 0.005 | \(5\times10^{-3}\) | No |
| 0.004567 | 2 | 0.0046 | \(4.6\times10^{-3}\) | No |
| 0.004567 | 3 | 0.00457 | \(4.57\times10^{-3}\) | No |
| 0.004567 | 4 | 0.004567 | \(4.567\times10^{-3}\) | No |
| 305.459 | 1 | 300 | \(3\times10^{2}\) | Yes: \(\overline{3}00\) |
| 305.459 | 2 | 300 | \(3.0\times10^{2}\) | Yes: \(3\overline{0}0\) |
| 305.459 | 3 | 305 | \(3.05\times10^{2}\) | No |
| 305.459 | 4 | 305.5 | \(3.055\times10^{2}\) | No |
| 999.6 | 1 | 1000 | \(1\times10^{3}\) | Yes: \(\overline{1}000\) |
| 999.6 | 2 | 1000 | \(1.0\times10^{3}\) | Yes: \(1\overline{0}00\) |
| 999.6 | 3 (carry case) | 1000 | \(1.00\times10^{3}\) | Yes: \(10\overline{0}0\) |
| 999.6 | 4 | 999.6 | \(9.996\times10^{2}\) | No |
| 12,500 | 1 | 10,000 | \(1\times10^{4}\) | Yes: \(\overline{1}0{,}000\) |
| 12,500 | 2 | 13,000 | \(1.3\times10^{4}\) | Yes: \(1\overline{3}{,}000\) |
| 12,500 | 3 | 12,500 | \(1.25\times10^{4}\) | Yes: \(12{,}\overline{5}00\) |
| 12,500 | 4 | 12,500 | \(1.250\times10^{4}\) | Yes: \(12{,}5\overline{0}0\) |
| 6.02e23 | 1 | 6e23 | \(6\times10^{23}\) | No (already in scientific notation) |
| 6.02e23 | 2 | 6.0e23 | \(6.0\times10^{23}\) | No |
| 6.02e23 | 3 | 6.02e23 | \(6.02\times10^{23}\) | No |
| 6.02e23 | 4 | 6.020e23 | \(6.020\times10^{23}\) | No |
| 2.5 (round-half-up case) | 1 | 3 | \(3\times10^{0}\) | No |
Two things to notice. First, 999.6 rounded to 3 sig figs becomes 1000, because the carry turns 999.6 into 1000 and the result must still show three significant digits (\(1.00\times10^{3}\)). Second, 12,500 rounded to 2 sig figs gives 13,000 under the round-half-up convention; some fields use round-half-to-even instead, which would give 12,000.
FAQ
Why is there a line over one digit? When an integer like 360 keeps only 2 significant figures, the trailing zero is ambiguous. The overline on the 6 shows it is the last significant digit.
What rounding rule is used? Round half up: the digit after the cutoff rounds up if it is 5 or more, otherwise it is dropped.
What happens with 999.6 to 3 sig figs? It carries to 1000, gaining an extra leading digit. This is mathematically correct and is shown as-is.