≈ Rounding Calculator

Round numbers to decimal places, the nearest 0.25, 5, 10 or 100, or significant figures — half up, banker’s rounding, ceiling, floor or truncate — exactly.

✓ Free✓ No Signup Required✓ Browser-Based

5 rounds away from zero: 2.5 → 3, −2.5 → −3

2.675 rounded
2.68

Many calculators and spreadsheets show 2.67 here, because the computer stores 2.675 as a binary fraction slightly below it. This calculator works with the exact decimal you typed.

Under every rounding rule

Round half up (standard)2.68
Round half to even (banker’s)2.68
Round half down2.67
Round up (ceiling)2.68
Round down (floor)2.67
Truncate2.67
Round away from zero2.68

What Rounding Calculator Does

This rounding calculator rounds any number to decimal places (or to tens, hundreds and thousands), to the nearest multiple such as 0.25, 5 or 100, or to a number of significant figures. Choose the rule: standard round half up, banker’s rounding (half to even), half down, ceiling, floor, truncate, or away from zero — and a table shows the same number under every rule at once.

It works with the exact decimal you type. Most software stores numbers in binary, where 2.675 is really 2.67499999…, which is why so many calculators and spreadsheets round it to 2.67. Here 2.675 rounds to 2.68, and when binary arithmetic would give a different answer the page points it out.

How to Use Rounding Calculator

  1. Enter the number to round
  2. Choose decimal places, a nearest multiple, or significant figures
  3. Pick a rounding rule — standard half up, banker’s, ceiling, floor or truncate
  4. Read the exact result
  5. Compare how the number rounds under every rule

Formula Used by Rounding Calculator

Rounding to decimal places

Look at the first dropped digit: 0–4 → keep; 5–9 → round the last kept digit up (half up)

Worked example

3.14159 to 3 decimal places.

  1. Keep 3.141
  2. The next digit is 5
  3. Round up

Result: 3.142.

Banker’s rounding (half to even)

When the dropped part is exactly half, round to the neighbor with an even last digit

Worked example

0.125, 0.135 and 0.145 to 2 decimal places.

  1. 0.125 → 0.12 (2 is even)
  2. 0.135 → 0.14 (4 is even)
  3. 0.145 → 0.14

Result: Ties go up and down equally often, so totals do not drift upward.

One Number, Seven Rules (to a Whole Number)

Rule2.53.5−2.52.1
Half up (standard)34−32
Half to even (banker’s)24−22
Half down23−22
Ceiling34−23
Floor23−32
Truncate23−22
Away from zero34−33

How to Read Your Result

Which rule to use

Schools and everyday arithmetic use round half up. Banker’s rounding is common in finance, statistics and several programming languages’ default rounding because it avoids bias when many values are summed. Ceiling suits “how many boxes do I need”, floor suits “how many complete items can I afford”, and truncation is what happens when digits are simply cut off.

Rounding only once

Round at the end of a calculation, not at every step. Rounding intermediate results compounds the error: 2.46 rounded to one decimal is 2.5, then to a whole number 3 — but 2.46 rounded directly to a whole number is 2.

Limitations & Accuracy Notes

  • Inputs up to thousands of digits are handled exactly; scientific notation such as 1.2e-4 is accepted.
  • Significant-figure results for large whole numbers are shown without scientific notation, so trailing zeros may be ambiguous — write 1.2 × 10⁵ if that matters.

Frequently Asked Questions

How do you round a number?
Look at the digit just after the place you are rounding to. If it is 5 or more, round up; if it is 4 or less, keep the digit and drop the rest. 3.14159 to two decimal places is 3.14; 2.675 is 2.68.
Why do some calculators round 2.675 to 2.67?
Computers store numbers in binary, and 2.675 cannot be stored exactly — it becomes 2.67499999…, which rounds down. This calculator works with the exact decimal you type, so 2.675 rounds to 2.68 as it should.
What is banker’s rounding?
Round half to even: when the dropped part is exactly 5, round to the neighbor whose last digit is even. 2.5 → 2, 3.5 → 4, 2.665 → 2.66. It avoids the slight upward bias of always rounding 5 up and is used in finance, statistics and by default in some programming languages.
How do I round to the nearest 5, 10 or 0.25?
Choose Nearest multiple and enter the step. 23 to the nearest 5 is 25; 7.13 to the nearest 0.25 is 7.25; 1,234 to the nearest 100 is 1,200.
How do I round to significant figures?
Count from the first nonzero digit. 0.0012345 to 3 significant figures is 0.00123; 123,456 to 2 is 120,000. Trailing zeros that are significant are kept: 2.0001 to 3 significant figures is 2.00.
How do negative numbers round?
With standard rounding, halves round away from zero: −2.5 → −3. Ceiling always rounds toward positive infinity (−2.9 → −2) and floor toward negative infinity (−2.1 → −3). The table shows every rule side by side.
By OnlineToolHubs Team • Updated September 2026