Skip to content
SmartDailyCalculator

Rounding Calculator

Enter a number, choose how to round it and compare the result under different rounding rules.

Rounded number

3.14

Round half away from zero (standard)
3.14
Round half to even (banker's)
3.14
Always round up (ceiling)
3.15
Always round down (floor)
3.14
Truncate (toward zero)
3.14

How to use the Rounding Calculator

  1. Enter the number you want to round.
  2. Choose decimal places, significant figures or the nearest multiple, then enter how many places, figures or which multiple.
  3. Choose a rounding method. Standard rounding is the default.
  4. Compare the result with the other methods listed underneath.

Rounding rules

Rounded=round(x×10d)10d
Nearest multiple=round(xm)×m

Where:

x
= the number
d
= decimal places
m
= the multiple
Show as plain text

Rounded = round(x × 10ᵈ) ÷ 10ᵈ (d = decimal places) Nearest multiple = round(x ÷ m) × m

To round to d decimal places, look at the digit after position d. If it is below 5 the number rounds down; above 5 it rounds up. The methods differ only in what happens when the remainder is exactly half.

Standard rounding sends halves away from zero (2.5 → 3, −2.5 → −3). Banker's rounding sends halves to the nearest even digit (2.5 → 2, 3.5 → 4), which avoids an upward bias when many numbers are rounded.

Assumptions and limitations

  • Decimal shifts are done on the number's decimal digits rather than in binary, so 1.005 rounds to 1.01 as expected.
  • “Round up” means toward positive infinity and “round down” toward negative infinity, so −2.5 rounds up to −2.
  • Inputs are limited to about 15 significant digits.

Example: Rounding 3.14159

  1. To 2 decimal places: the third decimal is 1, which is below 5, so the result is 3.14.
  2. To 3 significant figures: the first three significant digits are 3, 1, 4 and the next is 1, so the result is 3.14.
  3. To the nearest 5: 3.14159 ÷ 5 = 0.63, which rounds to 1, and 1 × 5 = 5.

When to use the Rounding Calculator

  • Rounding measurements to the precision required in a science report.
  • Rounding prices or times to the nearest 0.05, 0.25 or 15 minutes.
  • Seeing why banker's rounding gives different totals from standard rounding in spreadsheets and accounting software.

Rounding Calculator FAQs

What is banker's rounding?

Also called round-half-to-even, it rounds a value exactly halfway between two options to the one ending in an even digit. Over many values the ups and downs cancel out, so it is common in finance and statistics.

What are significant figures?

The digits that carry meaning, counted from the first non-zero digit. 0.004562 to 2 significant figures is 0.0046, and 1,234,567 to 3 significant figures is 1,230,000.

How do I round to the nearest 5, 0.25 or other multiple?

Choose “Nearest multiple” and enter the multiple. The calculator divides by it, rounds to a whole number and multiplies back. 17.38 rounds to 17.5 as a multiple of 0.25, and to 15 as a multiple of 5.

How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.