Rounding Calculator

Round a number to decimal places, significant figures or the nearest multiple, such as 5, 0.25 or 1/16. Choose from nine rounding rules, including banker’s rounding, and see both candidates on a number line.

Calculator Numbers & Math Updated Oct 3, 2026
How to Use
  1. Type the number. It is read exactly as written, so 2.345 really ends in 5.
  2. Choose what to round to: decimal places, significant figures or the nearest multiple (5, 0.25, 1/16 …).
  3. Pick the rule. The default, half away from zero, is the one taught in school and used by Excel’s ROUND.
  4. Read the rounded value, how much it changed, and the step below and above.
  5. The number line shows the two candidates, the halfway point and which one won.
Input
Presets
Number line
Rounded
—
Change
—
Step below
—
Step above
—

Worked Example

2.345 to two decimal places. The candidates are 2.34 and 2.35, and 2.345 is exactly halfway between them. School rounding (half away from zero) takes 2.35; banker’s rounding takes the even last digit, 2.34.

1234.5678 to three significant figures. The first three significant digits are 1, 2 and 3, in the thousands, hundreds and tens places, so round to the nearest 10. The next digit is 4, below 5, so the answer is 1,230, or 1.23 × 10³ to make the three significant figures clear.

The common mistake: rounding in stages. 2.4449 to one decimal place is 2.4, because 0.0449 is less than half of 0.1. Rounding to 2.445 first, then 2.45, then 2.5 drifts upward at each step and gives the wrong answer. Always round the original number once.

Show Work

Enter a number to see the step-by-step working.

Formulas

To a step u
round(x / u) × u
Decimal places d
u = 10−d
Significant figures s
u = 10⌊log₁₀|x|⌋ − s + 1
Floor and ceiling
⌊x⌋ ≤ x ≤ ⌈x⌉
Largest error
|error| ≤ u / 2
for the round-to-nearest rules

Why There Are So Many Rules

Every rule agrees except at an exact tie or when it must always go one way. Ties are rare for measured values but common in money, where prices end in 5 all the time, so the tie rule decides real amounts. Round-half-to-even was already recommended in the 1940s for statistics and accounting because it doesn’t drift; the IEEE 754 floating-point standard of 1985 made it the default for every computer’s arithmetic.

Directed rounding has its own uses: floor and ceiling in integer arithmetic and paging (how many pages for 101 items at 10 a page? ⌈10.1⌉ = 11), and interval arithmetic, which rounds lower bounds down and upper bounds up so the true answer is always inside.

About This Calculator

This calculator rounds to decimal places (negative places round to tens, hundreds and beyond), significant figures, or any step including fractions such as 1/16. It reads your number as an exact decimal rather than a binary float, so ties are real ties, and it offers all nine common rounding rules, warning when banker’s and school rounding disagree.

Everything runs in your browser; nothing is sent anywhere.

Related calculators: Scientific Notation Converter, Number Formatter, and IEEE 754 Float Converter.

Frequently Asked Questions

What is banker’s rounding?

Rounding exact ties to the nearest even digit: 2.5 → 2, 3.5 → 4, 2.345 → 2.34. Always rounding ties up adds a small upward bias over many numbers; rounding to even sends half the ties each way, so the bias cancels. It is the IEEE 754 default and what Python’s round() and .NET’s Math.Round do. Excel’s ROUND and school rounding send ties away from zero instead.

How do I round to significant figures?

Count from the first non-zero digit. 1234.5678 to 3 significant figures keeps 1, 2 and 3, and the next digit, 4, rounds down: 1,230. For 0.0012345 the leading zeros don’t count, so 3 significant figures is 0.00123. Trailing zeros in a whole number are ambiguous; 1.23 × 10³ says plainly that there are three.

Why does my spreadsheet round 2.675 to 2.67?

Because a computer stores 2.675 in binary as 2.67499999999999982236431605997495353221893310546875, which is just below the tie, so it rounds down. Excel works around this for display; JavaScript’s toFixed and Python do not. This calculator reads the number as the exact decimal you typed, so 2.675 to 2 places is 2.68 with half away from zero.

How do I round negative numbers?

It depends on the rule. Half away from zero gives −2.5 → −3; half up (toward +∞), which is JavaScript’s Math.round, gives −2. Floor always goes down, so −2.1 → −3; truncate always goes toward zero, so −2.9 → −2. The rule list here covers all nine common choices.

How do I round to the nearest 5, quarter or sixteenth?

Divide by the step, round to a whole number, multiply back. 47 to the nearest 5: 47 ÷ 5 = 9.4 → 9 → 45. 7.3 to the nearest 0.25: 29.2 → 29 → 7.25. A measurement of 3.14159 inches to the nearest 1/16: 50.27 → 50 → 50/16 = 3 1/8 inches.

How do I use the Rounding Calculator?

Simply type your numbers and read the result, which refreshes the instant you change something. There is nothing to submit and nothing to wait for.

Does it cost anything or need an account?

No. The tool is completely free, there is no account to create, and it keeps working offline after the page first loads.

Is anything I type uploaded?

No. The tool works entirely on your device, so the values you enter never leave your browser.

Common Use Cases

Money

$19.995 to the cent is $20.00; with banker’s rounding too, since 0 is even.

Lab reports

0.0012345 g to 3 significant figures is 0.00123 g.

Woodworking

3.14159″ to the nearest 1/16″ is 3 1/8″.

Pricing

47 to the nearest 5 is 45; 7.3 hours to the nearest quarter is 7.25.

Programming

See why Python gives round(2.5) = 2 while Excel gives 3.

Last updated: