Significant Figures Calculator Widget

Help chemistry and physics students apply the sig-fig rules correctly. The widget counts significant figures in any measurement, explains the verdict for every digit, and rounds to a chosen number of significant figures in plain and scientific notation.

Education & Math Calculator Runs in your browser Free · no ads

Customize your widget

Theme
Auto follows the visitor's light/dark setting.
Style
Attribution on your page
Optional and entirely your choice. The exact line is shown in the code below; it links to the tool with rel="nofollow".
More options
Starting values
Leave blank to use the widget's defaults. Visitors can still change every value.

Live preview

Exactly what your visitors will see

Embed code

<div data-a2z-widget="significant-figures-calculator" data-height="760"></div>
<script async src="https://a2z.tools/embed.js"></script>

Recommended. A small script (what it does) sizes the widget to fit its content, loads it lazily and keeps it isolated in its own frame. Works in WordPress (Custom HTML block), Squarespace, Webflow, Shopify, Blogger, React / Next.js and plain HTML - anywhere a <script> tag is allowed.

Works with

How it works

The input is kept as a string of digits so that zeros are not lost: 0.004560 is not the same measurement as 0.00456. The usual rules, as set out in Gonzaga University's CHEM 101 notes, are applied in order. Non-zero digits always count. Zeros between significant digits count. Leading zeros never count - they only position the decimal point, so 0.008206 has four. Trailing zeros count when a decimal point is written, so 273.00 has five and 1500. has four, but without one they are ambiguous, and 45,000 is reported as 2 to 5 rather than guessed. In scientific notation only the mantissa is counted: 6.02 x 10^23 has three. Rounding also works on the digit string, so 0.125 rounds to 0.13 exactly instead of tripping over binary representation; a half-to-even option suits labs that follow that convention. When rounding leaves zeros that would look insignificant, the widget writes a trailing point (99.96 to 3 figures is 100.) or recommends scientific notation.

Calculation method

  • Count: from the first non-zero digit to the last non-zero digit, plus trailing zeros if a decimal point is shown
  • Scientific notation: count the mantissa only
  • Round half up: next digit >= 5 increases the last kept digit
  • Round half to even: an exact trailing 5 rounds to the even neighbour

Worked examples

A measured mass

Inputs: 0.004560 g, round to 2

Result: 4 significant figures; 0.0046 (4.6 x 10^-3)

The trailing zero after 6 counts because the decimal point is shown.

Rounding that needs a decimal point

Inputs: 99.96, round to 3

Result: 100.

Rounding up carries into a new digit; the trailing point shows all three figures are significant.

Limitations

  • Rounds a single value; it does not apply the addition (decimal places) or multiplication (fewest figures) rules to a calculation.
  • Zero itself has no non-zero digit, so no count is given for 0 or 0.000.
  • Inputs are limited to 40 digits and exponents of up to three digits.

Where publishers use it

  • High-school and first-year chemistry course pages
  • Physics lab-report guides on reporting measurement precision
  • AP, IB and A-level exam revision sites
  • Engineering tutorials on rounding calculated results
  • Teacher worksheets with self-check answers
  • Pharmacy and nursing dosage courses where pipette and syringe readings must be reported correctly

Questions

How many significant figures does 0.008206 have?

Four: 8, 2, 0 and 6. The three leading zeros only place the decimal point, and the zero between 2 and 6 is captive, so it counts.

Does 1500 have two or four significant figures?

It is ambiguous: the trailing zeros may or may not have been measured. Write 1500. (with a point) for four, or 1.5 x 10^3 for two. The widget reports 2 to 4.

How do I round 123,456 to three significant figures?

Keep 1, 2, 3 and look at the next digit, 4, which is below 5: the answer is 123,000, better written 1.23 x 10^5 so the three figures are clear.

When should I use round-half-to-even?

Some laboratories and standards round an exact 5 to the even digit to avoid a systematic upward bias: 0.125 becomes 0.12, while 0.135 becomes 0.14. School courses usually round half up.

Do exact numbers have significant figures?

Counted values and defined conversions, such as 12 eggs or 1 inch = 2.54 cm exactly, have unlimited significant figures and never limit a calculation's precision.

Why do significant figures matter in a lab report?

They signal how precise a measurement is. A balance reading 2.350 g claims a precision of a milligram, while 2.35 g claims only a hundredth of a gram; a burette read to 24.10 mL carries four figures. Reporting more digits than the instrument resolves overstates the precision, and markers deduct for it.

How many significant figures should a calculated answer keep?

For multiplication and division, keep as many as the least precise input: 3.24 x 1.5 = 4.86 is reported as 4.9. For addition and subtraction the rule uses decimal places instead. Do the arithmetic at full precision and round once at the end.

Sources

  1. CHEM 101 - Significant figures - Gonzaga University, Department of Chemistry and Biochemistry (Dr. Cronk) . Counting rules: non-zero digits, captive zeros, leading zeros (0.008206 has four), trailing zeros (273.00 has five; 45,000 ambiguous), scientific notation

Cite or recommend this tool

If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.

A2Z Tools Significant Figures Calculator
https://a2z.tools/embed/significant-figures-calculator
  • Scientific Calculator

    Education & Math Calculator

    Trig in degrees or radians, logs, roots, powers, factorials, pi, e and Ans - typed or tapped.

    Get code
  • Statistics Calculator

    Education & Math Calculator

    Mean, median, mode, range, variance, standard deviation and quartiles of any list of numbers.

    Get code
  • Unit Converter

    Education & Math Converter

    Length, mass, volume, area, temperature, speed, time, data, pressure, energy and power - exact factors.

    Get code
  • Percentage Calculator

    Education & Math Calculator

    X% of Y, X as a percent of Y, and the percentage change between two values.

    Get code
  • Basic Calculator

    Education & Math Calculator

    A clean on-screen calculator with keyboard support, correct operator precedence and percent.

    Get code
  • Fraction Calculator

    Education & Math Calculator

    Add, subtract, multiply and divide fractions and mixed numbers, with the simplified answer.

    Get code

Preview