How to Round to Significant Figures in Excel and Google Sheets

To round to significant figures in Excel, combine ROUND with LOG10. Excel has no built-in sig fig function, but this one formula rounds the number in A2 to n significant figures:

=ROUND(A2, n-1-INT(LOG10(ABS(A2))))

Replace n with the number of sig figs you want. For 3 sig figs: =ROUND(A2,2-INT(LOG10(ABS(A2)))). The same formula works in Google Sheets.

The rest of this guide explains how the formula works, gives copy-paste versions for 1 to 4 sig figs, and fixes the three problems people run into: zeros, lost trailing zeros, and the #NUM error. If you only need to check one number, the sig fig calculator is faster, and if you are on a graphing calculator, see how to do sig figs on a TI-84.

Can Excel round to significant figures?

Not directly. Excel's rounding functions (ROUND, ROUNDUP, ROUNDDOWN, MROUND) all work in decimal places or multiples, not significant digits. ROUND(1234.5678, 2) gives 1234.57, which has six sig figs, not two. Microsoft's documentation for the ROUND function confirms that a negative num_digits rounds to the left of the decimal point, which is what the formula below relies on.

Sig figs count from the first non-zero digit, wherever that is. In 1234.5678 the first digit is in the thousands place; in 0.004567 it is in the thousandths place. So the number of decimal places you need changes with the size of the number. The formula works that out for you.

The Excel significant figures formula, explained

Here is the formula again, broken into its three parts:

=ROUND(A2, n - 1 - INT(LOG10(ABS(A2))))
  • ABS(A2) removes the minus sign, because LOG10 only works on positive numbers.
  • INT(LOG10(…)) finds the place value of the first significant digit. LOG10(1234.5678) is about 3.09, and INT gives 3 (thousands). LOG10(0.004567) is about −2.34, and INT rounds down to −3 (thousandths). Excel's INT always rounds toward negative infinity, which is why this also works for numbers below 1.
  • n – 1 – that place turns it into the decimal-places argument ROUND needs. A positive result rounds to the right of the decimal point; a negative result rounds to tens, hundreds or thousands.

Worked example for 0.004567 to 3 sig figs: 3 − 1 − (−3) = 5, so Excel runs ROUND(0.004567, 5) = 0.00457.

Worked example for 98765 to 2 sig figs: 2 − 1 − 4 = −3, so Excel runs ROUND(98765, -3) = 99000.

If you want a refresher on which digits count in the first place, see the rules for significant figures.

Copy-paste formulas for 1, 2, 3 and 4 sig figs

Put your number in A2 and paste one of these into B2, then drag down.

Sig figsFormula1234.5678 becomes0.004567 becomes
1 sig fig=ROUND(A2,0-INT(LOG10(ABS(A2))))10000.005
2 sig figs=ROUND(A2,1-INT(LOG10(ABS(A2))))12000.0046
3 sig figs=ROUND(A2,2-INT(LOG10(ABS(A2))))12300.00457
4 sig figs=ROUND(A2,3-INT(LOG10(ABS(A2))))12350.004567

To choose the number of sig figs from a cell instead, put it in C1 and use =ROUND(A2,$C$1-1-INT(LOG10(ABS(A2)))). Changing C1 updates the whole column.

A note on how Excel rounds: ROUND rounds a 5 away from zero, so 2.5 to 1 sig fig is 3 and −2.5 is −3. That matches the round-half-up rule most chemistry and physics classes use, and it matches our calculator. Some lab standards round half to even instead; see how to round to significant figures for the difference.

Handling zero and negative numbers

Negative numbers already work, because ABS strips the sign before LOG10 runs and ROUND keeps it. −0.0899 to 2 sig figs gives −0.09 (the value is −0.090; the next section shows how to display that last zero).

Zero is the problem. LOG10(0) has no answer, so the formula returns #NUM! for any cell that is 0 or blank. Wrap it in IF to pass zeros straight through:

=IF(A2=0, 0, ROUND(A2, n-1-INT(LOG10(ABS(A2)))))

Use this zero-safe version whenever a column might contain zeros or empty cells.

How to keep trailing zeros in Excel

Excel stores numbers, not digits, so 0.090 and 0.09 are the same value and Excel shows 0.09 by default. ROUND gets the value right; showing the trailing zero is a formatting job. You have three options.

Option 1: number format (keeps the number)

Select the cells, press Ctrl+1 (Format Cells), choose Number and set the decimal places. This works when every value in the column has the same size, such as a column of masses all near 0.09 g.

Option 2: scientific format (always n sig figs)

In Format Cells, choose Custom and type 0.00E+00. Every value then shows exactly 3 sig figs, whatever its size: 1234.5678 shows as 1.23E+03 and 0.004567 as 4.57E-03. Use 0.0E+00 for 2 sig figs or 0.000E+00 for 4. This is the quickest way to change significant figures in Excel without changing the value, because only the display changes; the cell still holds the full number.

Option 3: TEXT formula (exact sig fig display)

If you need numbers in normal notation with the right trailing zeros, build the text yourself. In Excel 365, Excel 2021 or Google Sheets:

=LET(x, A2, n, 3, d, n-1-INT(LOG10(ABS(x))), IF(d>0, TEXT(ROUND(x,d), "0."&REPT("0",d)), TEXT(ROUND(x,d), "0")))

With n = 2, −0.0899 now shows as −0.090. The catch: the result is text, so it sits left-aligned and SUM ignores it. Keep a numeric column for calculations and use the text column for reports. One edge case: if rounding carries into a new place value (9.99 to 2 sig figs), this shows 10.0 instead of 10.

Round up or down to significant figures

Swap ROUND for ROUNDUP or ROUNDDOWN. The second argument is the same:

  • =ROUNDUP(A2, 2-INT(LOG10(ABS(A2)))): 1234.5678 becomes 1240
  • =ROUNDDOWN(A2, 2-INT(LOG10(ABS(A2)))): 1234.5678 becomes 1230

ROUNDUP moves away from zero and ROUNDDOWN moves toward zero, for negative numbers too. Sig fig rules normally use ordinary rounding; round up or down only when a spec asks for it, such as a safety margin.

Make a reusable SIGFIG function

Typing the long formula gets old. Both programs let you save it as your own function.

Excel 365: LAMBDA in Name Manager

  1. Go to Formulas, then Name Manager, then New.
  2. Name it SIGFIG.
  3. In "Refers to", paste: =LAMBDA(x, n, IF(x=0, 0, ROUND(x, n-1-INT(LOG10(ABS(x))))))
  4. Click OK. Now =SIGFIG(A2, 3) works anywhere in that workbook.

LAMBDA needs Excel for Microsoft 365 or Excel 2024; older versions need the full formula.

Google Sheets: named functions

  1. Open Data, then Named functions, then Add new function.
  2. Name it SIGFIG and add two placeholders: x and n.
  3. Paste the definition: =IF(x=0, 0, ROUND(x, n-1-INT(LOG10(ABS(x)))))
  4. Save, then use =SIGFIG(A2, 3).

How to round to significant figures in Google Sheets

Google Sheets uses the same functions as Excel, so every formula on this page works unchanged:

  1. Put your number in A2.
  2. In B2 type =ROUND(A2, 1-INT(LOG10(ABS(A2)))) for 2 sig figs (change the 1 to n−1 for other counts).
  3. Drag the fill handle down the column.
  4. To show trailing zeros, use Format, then Number, then Scientific, or a custom number format such as 0.00E+00.

For example, 0.04562 to 2 sig figs gives 0.046 in Sheets, the same as Excel.

Common errors and how to fix them

What you seeCauseFix
#NUM!The cell is 0 or blank, and LOG10(0) is undefinedUse the zero-safe IF version
#VALUE!The number is stored as text (often after pasting)Convert with VALUE(A2) or Data, then Text to Columns
Trailing zero missing (0.09 not 0.090)Excel drops zeros that do not change the valueUse a number format or the TEXT version
Wrong count of sig figsROUND was used with a fixed decimal-places argumentUse the LOG10 formula, not ROUND(A2, 2)
SUM ignores resultsThe column holds TEXT outputSum the numeric column instead

One more thing to know about significant figures in Excel calculations: Excel keeps about 15 significant digits internally and does not track sig figs at all. Do the arithmetic at full precision, then round the final answer once. Rounding every intermediate cell adds rounding error. For the rules on how many sig figs an answer should have after adding or multiplying, see sig figs for addition and subtraction and sig figs for multiplication and division.

FAQ

Can Excel round to significant figures?

Yes, with a formula. Excel has no SIGFIG function, but =ROUND(A2, n-1-INT(LOG10(ABS(A2)))) rounds A2 to n significant figures.

What is the Excel formula for significant figures?

=ROUND(A2, n-1-INT(LOG10(ABS(A2)))). LOG10 finds the place of the first digit, and ROUND keeps n digits from there. Use =IF(A2=0,0,...) around it if the column can contain zeros.

How do I round to 3 significant figures in Excel?

Use =ROUND(A2, 2-INT(LOG10(ABS(A2)))). For example, 1234.5678 becomes 1230 and 0.004567 becomes 0.00457.

How do I keep trailing zeros in Excel?

Excel drops trailing zeros because they do not change the value. Show them with a number format (Ctrl+1), a scientific format such as 0.00E+00, or a TEXT formula that returns the digits as text.

How do I round to significant figures in Google Sheets?

Use the same formula as Excel: =ROUND(A2, n-1-INT(LOG10(ABS(A2)))). You can save it as a reusable function under Data, then Named functions.

Why does my sig fig formula give #NUM?

The cell is 0 or blank, and LOG10(0) is undefined. Wrap the formula in IF(A2=0, 0, ...).

How do I change significant figures in Excel without changing the value?

Change the format, not the number. A custom format such as 0.00E+00 displays 3 significant figures while the cell keeps its full value for later calculations.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *