PennyPages

Rounding Calculator

Enter a number and get it rounded to the decimal places you choose — nearest, always up, or always down.

About the Rounding Calculator

Rounding drops the digits past the place you keep, by a rule: to the nearest, with a half rounding up (3.145 to two places is 3.15); always up, away from the kept digits (3.141 to two places becomes 3.15); or always down, truncating (3.149 becomes 3.14). Money rounds to two places, measurements to the precision of the tool, and reported figures to the places their accuracy earns.

The rule matters at the boundary: exactly-half values are where 'nearest' implementations disagree, and this page uses the school rule — half goes up (in absolute value, so -2.5 rounds to -3 in magnitude: the result shown is -3). Always-up and always-down also work on the absolute value, keeping the sign, so the three rules stay consistent for negative numbers. Nothing you enter leaves your browser.

Common questions

What is 3.14159 rounded to 2 decimal places?

3.14 to the nearest: the third decimal is 1, below a half, so the kept digits stay. Rounded always up it is 3.15; always down it is 3.14.

What does round half up mean?

When the dropped part is exactly half of the last kept place, the number rounds up: 2.5 rounds to 3 and 3.145 rounds to 3.15 at two places.

What is the difference between rounding up and rounding to the nearest?

Rounding up always moves to the next value at the kept place, however small the dropped part; rounding to the nearest only moves when the dropped part is at least half.

How do I round to a whole number?

Set the decimal places to 0: 3.6 rounds to 4 to the nearest, 3.2 rounds to 3.

Put this tool on your site

Free to embed — your visitors use it without leaving your page.

PennyPages #071 · free forever · same input, same answer, every time