Rounding calculator: how do you round to the nearest whole number, tenth or hundredth?
Type a number and choose a place or a number of significant figures. You see the deciding digit, the two values it lies between and why the answer is the one it is.
Rounding calculator
I want to round 3.14159 to the hundredths place with normal rounding (half away from zero).
Rounded
3.14
3.14159 rounded to the nearest hundredth is 3.14. The next digit, 1 in the thousandths place, is less than 5, so 3.14 is the closer of 3.14 and 3.15.
- 3.14Lower candidate
- 3.15Upper candidate
- 1Deciding digit (thousandths)
- −0.00159Rounding error (rounded − original)
How the rounding calculator works it out
- The hundredths digit of 3.14159 is 4.
- The digit right after it, in the thousandths place, is 1.
- So 3.14159 lies between 3.14 and 3.15. Halfway is 3.145.
- 1 is less than 5, so normal rounding (half away from zero) takes the closer value, 3.14.
- Keep 2 decimal places: 3.14.
Your number rounded to each place with the same method. The error is rounded minus original; the marked row is your choice.
| Place | Rounded | Error |
|---|---|---|
| Tens | 0 | −3.14159 |
| Ones | 3 | −0.14159 |
| Tenths | 3.1 | −0.04159 |
| Hundredths | 3.14 | −0.00159 |
| Thousandths | 3.142 | +0.00041 |
| 10-thousandths | 3.1416 | +0.00001 |
| 100k-ths | 3.14159 | 0 |
How to use the rounding calculator
- Number: any decimal, positive or negative, with or without thousands commas. Up to 15 decimals.
- Round to: Place rounds to a fixed place such as tenths or thousands. Sig figs keeps a number of significant figures, counted from the first digit that is not 0.
- Place or significant figures: pick the place from millions to millionths, or type how many significant figures to keep.
- Method: Normal is the school rule (5 or more goes up, away from zero). The half methods differ only on exact halves. Always up, always down and toward zero take one side whatever the digits.
When to use a rounding calculator
Use it to round money to cents, measurements to a sensible precision, test answers to the place a question asks for, large numbers to the nearest thousand or million for a report, or lab results to significant figures. It also shows how a tie such as 2.5 is handled by different rules, which explains why two tools can give different answers.
To write a rounded decimal as a fraction, use the decimal to fraction calculator. To work out a percent before rounding it, use the percentage calculator.
Rounding calculator at a glance
What it does
Rounds a number to any place from millions to millionths or to 1–15 significant figures, with seven methods, using the exact digits typed, and rounds it to every other place for comparison.
Who it's for
Students, teachers, and anyone rounding prices, measurements or results for a report.
Watch out for
Look only at the one digit right after the place. Rounding in steps (3.1449 to 3.145 to 3.15) gives a wrong answer.
How the rounding calculator works
Rounding replaces a number with the nearest value that stops at the place you choose. Find that place, then look at the single digit to its right. If that digit is 5 or more, the place goes up by one; if it is 4 or less, it stays. Everything after the place is dropped, or turned into zeros when the place is left of the decimal point.
With your numbers: 3.14159 lies between 3.14 and 3.15, the deciding digit is 1, and normal rounding (half away from zero) gives 3.14.
The methods only disagree in two situations. When the dropped part is exactly half, such as 2.5 or 0.125 to two decimals, normal rounding moves away from zero, banker's rounding picks the even neighbor (used in finance and statistics so that ties do not always push totals up), and half up or half down pick the larger or smaller neighbor. Always up, always down and toward zero ignore the digits completely and just take one side. This calculator works with the exact decimal digits you type, so 2.675 rounds to 2.68, where some programming languages give 2.67 because they store the number as 2.67499999….
Significant figures count from the first nonzero digit, so 0.004567 to 2 significant figures is 0.0046. To turn a rounded decimal into a fraction, use the decimal to fraction calculator; to round a percent you worked out first, use the percentage calculator; and for the average of a list before you round it, use the average calculator.
Rounding calculator: worked examples
Round 3.14159 to the nearest hundredth.
The hundredths digit is 4. The next digit is 1, less than 5, so the 4 stays: 3.14.
Common mistake: starting from the last digit and rounding step by step. The 9 does not matter; only the digit right after the place counts.
Round 48,450 to the nearest thousand.
The thousands digit is 8 and the next digit is 4, so it stays and the rest become zeros: 48,000.
Common mistake: rounding to the nearest hundred first (48,500) and then to the thousand (49,000).
Round 0.004567 to 2 significant figures.
The first nonzero digit is 4, in the thousandths place, so 2 figures end at the ten-thousandths place. The next digit is 6, so 0.0046.
Common mistake: counting the leading zeros as figures, which gives 0.0.
Round −2.5 to a whole number. Why do tools disagree?
It is exactly halfway between −3 and −2. Normal rounding goes away from zero: −3. Banker's rounding takes the even neighbor, −2, and half up takes the larger number, also −2.
Common mistake: assuming every tool rounds halves the same way. Check which method yours uses.
A rounding calculator in Excel and Google Sheets
Put the number in A2. The second argument is the number of decimals: 2 for hundredths, 0 for whole numbers, −3 for thousands.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Your number | 3.14159 |
| B2 | Rounded to the nearest hundredth | =ROUND(A2,2) |
Normal rounding (half away from zero)
=ROUND(A2,2) Always up (ceiling)
=CEILING.MATH(A2,0.01) Always down (floor)
=FLOOR.MATH(A2,0.01) Toward zero (truncate)
=TRUNC(A2,2) Significant figures (number of figures in C2)
=ROUND(A2,C2-1-INT(LOG10(ABS(A2)))) ROUNDUP and ROUNDDOWN round away from and toward zero, so for negative numbers ROUNDUP is not the ceiling. Neither Excel nor Google Sheets has a banker's rounding function. The significant-figures formula does not work for 0. The same formulas work in Google Sheets.
Rounding calculator: frequently asked questions
How do you round to the nearest hundredth?
Keep two decimals and look at the third. If it is 5 or more, add 1 to the second decimal; otherwise leave it. 7.236 becomes 7.24 and 7.234 becomes 7.23.
Does 5 round up or down?
In normal rounding a 5 rounds up, away from zero: 2.5 becomes 3 and −2.5 becomes −3. Other rules treat exact halves differently, such as banker's rounding, which gives 2.
What is banker's rounding?
Round half to even: an exact half goes to the neighbor whose last digit is even, so 2.5 becomes 2 and 3.5 becomes 4. Over many numbers the ties go up and down equally, so totals do not drift upward.
How do you round negative numbers?
With normal rounding, round the number without its sign and put the minus back: −7.26 to tenths is −7.3. Always up (ceiling) moves toward the larger number, so −7.26 becomes −7.2.
What are significant figures?
The digits that carry meaning, counted from the first one that is not 0. 0.0450 has three: 4, 5 and the final 0. Rounding 123,456 to 3 significant figures gives 123,000.
Why does another tool round 2.675 to 2.67?
Many programs store 2.675 as a binary number just below it, 2.67499999…, and round that. This calculator rounds the digits you typed, so it gives 2.68.
Other math calculators
- Average calculator
- Decimal to fraction
- Fraction calculator
- Fraction to decimal
- Median calculator
- Percent change calculator
- Percent difference calculator
- Percent increase calculator
- Percent off calculator
- Percentage calculator
- Ratio calculator
- Scientific notation calculator
- Simplify fractions calculator
- Square root calculator
- Standard deviation calculator
- Weighted average calculator
Report a problem with this calculator · Sponsor this calculator