Significant Figures (count + round)

Count sig figs in a number; round to a target N.

Run the calculator

Example

You enter

You get

Checked against published worked examples from: NIST SP 811 §7 (public); NIST.

Details, formula, and sources

ScopeLeading zeros not significant; trailing zeros after a decimal ARE.

Formula or tableSig-fig count: non-zero digits are always significant; zeros between non-zeros are significant; leading zeros are not; trailing zeros after a decimal point ARE significant. Trailing zeros in a bare integer are ambiguous and NOT counted here (use scientific notation for explicit precision). Rounding to N sig figs follows NIST SP 811 B.7.1 on the number's decimal digits: a dropped digit below 5 truncates, a dropped 5 followed by any nonzero digit rounds up, and a dropped 5 followed only by zeros rounds to the even digit.

Source and editionSignificant-figure conventions per NIST SP 811 §7 (Guide for the Use of the International System of Units).

Free accessFree at nist.gov/pml/special-publication-811.

What governsEstimate only. Readability formulas and similar metrics are derived from a representative population and have known edge-case noise. The classroom teacher governs final text selection, grade placement, and assessment decisions.

API field namesvalue, target_sig_figs, input_sig_figs, rounded_value

Related tools