Overview

Rounding makes a number shorter and easier to read at the cost of a little precision. You can round to decimal places, significant figures or the nearest ten, hundred or thousand.

Enter a number and the decimal places you want.

Worked examples

InputsResult
Number12,345.6789Decimal places2To 2 decimal places: 12,345.68Nearest 10: 12,350Nearest 100: 12,300Nearest 1,000: 12,0003 significant figures: 12,3005 significant figures: 12,346Floor: 12,345Ceiling: 12,346
Show 3 more examples
Number3.141593Decimal places3To 3 decimal places: 3.142Nearest 10: 0Nearest 100: 0Nearest 1,000: 03 significant figures: 3.145 significant figures: 3.1416Floor: 3Ceiling: 4
Number0.000457Decimal places5To 5 decimal places: 0.00046Nearest 10: 0Nearest 100: 0Nearest 1,000: 03 significant figures: 0.0004575 significant figures: 0.0004567Floor: 0Ceiling: 1
Number98,765.4321Decimal places0To 0 decimal places: 98,765Nearest 10: 98,770Nearest 100: 98,800Nearest 1,000: 99,0003 significant figures: 98,8005 significant figures: 98,765Floor: 98,765Ceiling: 98,766

To 2 decimal places by number

With the calculator's starting values, the to 2 decimal places is 12,345.68. The table shows how it changes with the number.

NumberTo 2 decimal places
8,0008,000
10,00010,000
12,00012,000
12,345.6789starting value12,345.68
14,00014,000
16,00016,000
18,00018,000

Other inputs: Decimal places: 2. Change them in the calculator above for your own numbers.

How it works

The number is scaled by 10 to the power of the decimal places, rounded to the nearest whole number (halves round away from zero) and scaled back.

The formula

round(x, d) = round(x × 10ᵈ) ÷ 10ᵈ
xThe number
dDecimal places

Practical tips

  • Round only at the end of a calculation to avoid accumulating error.
  • Significant figures count digits from the first non-zero digit.

Frequently asked questions

How do I round 2.5?

Standard rounding gives 3; banker’s rounding gives 2.

What is the difference between decimal places and significant figures?

Decimal places count after the point; significant figures count meaningful digits anywhere.