Rounding Calculator

This rounding calculator rounds a number to decimal places, tens, hundreds or any multiple such as 0.05. The number 2.665 rounded to two places gives 2.67 with the usual half-up rule but 2.66 with round half to even – all four rules are shown side by side.

Example: Number to round 2.665 · Round to: Decimal places, tens, hundreds … · Place: 2 decimal places (hundredths) · Rounding rule: Half up (5 rounds up) → Rounded value: 2.67. Source: Wikipedia – Rounding (round half away from zero, round half to even, directed rounding). Updated: .

My ToolboxYour inputs are saved in this browser only.

Result

Rounded value
2.67
Difference
Difference from the original: +0.005
Working
Digit after the rounding place: 5 (exactly halfway, nothing after it) → 5 or more rounds up → 2.67
All rules compared
  • Half up: 2.67
  • Half to even: 2.66
  • Round down: 2.66
  • Round up: 2.67

How it is calculated

How the rounding calculator works

Enter a number, pick the place and the rule, and the result appears at once. The calculator uses exact decimal arithmetic instead of floating point, so 2.675 really rounds to 2.68 even though many programs return 2.67.

The four rounding rules

Rounding to tens, hundreds or 5 cents

A negative place rounds before the decimal point: 1,234 to the nearest hundred is 1,200. With “A multiple” you can round to any step, for example 2.52 to 0.05 = 2.50. That is how cash totals are rounded to 5 cents in countries such as the Netherlands, Finland and Belgium.

Worked examples: nearest tenth, hundredth, thousand

QuestionDeciding digitAnswer
3.14159 to the nearest tenth4 → down3.1
0.456 to the nearest tenth5 → up0.5
3.14159 to the nearest hundredth1 → down3.14
4.7368 to the nearest thousandth8 → up4.737
149 to the nearest ten9 → up150
1,234.5 to the nearest hundred3 → down1,200
48,765 to the nearest thousand7 → up49,000
8.5 to a whole number, half to evenexact tie → even8
17 to the nearest 515 is closer than 2015

The deciding digit is the one right after the place you round to: with half up, 5 to 9 rounds up and 0 to 4 rounds down. Half up and half to even give different answers only for exact ties such as 8.5 or 2.665. Both rules and the directed ones are described in Rounding on Wikipedia; half to even is the default rounding mode of the IEEE 754 floating-point standard.

Honest limits

Rounding always introduces a small error: adding several rounded intermediate results can differ from the exact total. Round only at the end. For tax or accounting, the rounding rules of the relevant regulation apply, not just these four.

Frequently asked questions

How do I round to 2 decimal places?

Look at the third decimal: 5 or more rounds up, less rounds down. 3.14159 becomes 3.14 and 2.675 becomes 2.68.

How do I round to the nearest tenth?

Keep one decimal and look at the second: 5 or more rounds up. 3.14159 becomes 3.1 and 0.456 becomes 0.5. In the calculator choose “1 decimal place (tenths)”.

How do I round to the nearest thousand?

Look at the hundreds digit: 5 or more rounds up. 48,765 becomes 49,000 and 1,234.5 becomes 1,000. In the calculator choose “Thousands”.

How do I round to the nearest whole number?

Choose “Whole number”: the first decimal decides, so 7.5 becomes 8 and 7.4 becomes 7.

What does round half to even mean?

When a value is exactly halfway between two numbers it goes to the even one: 2.5 → 2 and 3.5 → 4. Over many values the errors cancel out.

How do I round to the nearest 5 cents?

Choose “A multiple” and enter 0.05: 2.52 becomes 2.50 and 2.53 becomes 2.55.

How do I round negative numbers?

With half up the size is rounded and the sign stays: −2.5 → −3. “Round up” and “Round down” mean away from and toward 0, not toward plus or minus infinity.

Sources and legal basis

As of: · Editorial policy

Related tools