Math calculators

Rounding Calculator

Enter a number, choose decimal places or significant figures and a rounding method.

Quick answer: Scale by 10^places, round to a whole number with the chosen method, scale back. For example, with number of 3.142 and how many of 2, the rounded number is 3.14.

How the Rounding calculation works

  • Scale by 10^places, round to a whole number with the chosen method, scale back
  • Significant figures: places = figures − 1 − floor(log10 |x|)

Choosing a rounding method

  • Half up — the school rule: 2.5 → 3, 2.4 → 2. Use it unless told otherwise.
  • Half to even (banker’s rounding): 2.5 → 2, 3.5 → 4. Used in accounting, statistics and many programming languages to avoid upward bias.
  • Always up (ceiling): for quantities you cannot buy partly, such as tins of paint or buses for a group.
  • Always down (floor) or truncate: for counting complete units, such as whole weeks.

Avoiding rounding errors

Round only at the end. Rounding intermediate results — such as a price per item before multiplying — can make the final answer noticeably wrong. Computers store some decimals slightly imprecisely (1.005 is really 1.00499…), so the calculator corrects for this before rounding. For very large or small numbers, see the Scientific Notation Calculator.

What you need for the Rounding Calculator

NumberA number.
Round toChoose one: Decimal places; Significant figures.
How manyA whole number.
MethodChoose one: Half up (5 rounds away from zero); Half to even (banker’s rounding); Always up (ceiling); Always down (floor); Toward zero (truncate).

How to use the Rounding Calculator

  1. Check the Region line at the top of the calculator. Your country, currency and units are detected automatically; change them if needed.
  2. Enter number, round to, how many and method. Example values are filled in so you can see how it works.
  3. Read your result: the rounded number appears instantly, with rounding difference underneath.
  4. Use Copy result, Share link or Print to keep the answer. Nothing you type is sent to our servers.

Rounding calculation example

Using the calculator’s example values (shown in US dollars and metric units — the calculator itself adapts to your country):

Inputs
Number3.142
Round toDecimal places
How many2
MethodHalf up (5 rounds away from zero)
Results
Rounded number3.14
Rounding difference-0.00159

Assumptions and limitations of the Rounding Calculator

  • The rounded number is shown with a dot as decimal separator so trailing zeros (2.50) are kept.

Limitations

  • Results are estimates based on the numbers you enter. Check important decisions with a qualified professional.

Rounding Calculator FAQs

What is 3.14159 rounded to 2 decimal places?

3.14. The third decimal is 1, which is less than 5, so the second decimal stays the same.

What is banker’s rounding?

Rounding exact halves to the nearest even digit: 2.5 becomes 2 and 3.5 becomes 4. It avoids an upward bias when many values are rounded, and is common in finance and statistics.

How do significant figures work?

Count from the first non-zero digit. 0.004567 to 2 significant figures is 0.0046; 45,678 to 2 significant figures is 46,000.

How do you round to the nearest 10 or 100?

Use negative decimal places conceptually: divide by 10 or 100, round to a whole number, then multiply back. 1,247 to the nearest 100 is 1,200.

What formula does the Rounding Calculator use?

Scale by 10^places, round to a whole number with the chosen method, scale back. Significant figures: places = figures − 1 − floor(log10 |x|).

What do I need to use the Rounding Calculator?

You need number, round to, how many and method. Example values are pre-filled, and the calculator converts between metric and imperial units and any currency.

Embed this calculator on your website

Free for any website or blog. Paste this code where the calculator should appear — it resizes itself and needs no sign-up.