Skip to content

Math

Rounding Calculator

Enter your values and the result updates as you type. The formula and a worked example are below the calculator.

Digits, a point, a minus sign or an exponent (1.5e3). Commas are fine.

The nearer neighbour wins. A value exactly halfway goes away from zero (5.5 becomes 6, and -5.5 becomes -6).

Rounded value

12,34,568

12,34,567.891 rounded to the nearest whole number is 12,34,568.

Change from your number
+0.109

Same number, every method

Result of each rounding method for this number and precision
MethodResult
Nearest (halves away from zero)12,34,568
Half up (toward the larger value)12,34,568
Half down (toward the smaller value)12,34,568
Round up (ceiling)12,34,568
Round down (floor)12,34,567
Half to even (banker's rounding)12,34,568
Half to odd12,34,568
Half away from zero12,34,568
Half toward zero12,34,568

How to use

  1. Type the number you want to round. Commas, a minus sign and an exponent such as 1.5e3 are all fine.
  2. Pick the precision: a place after the decimal point (tenths, hundredths and so on), the ones place, a place before the point (tens, hundreds, lakhs, crores), or a fraction from 1/2 to 1/64. Choose Custom place to type any place from -1000 to 1000.
  3. Pick the rounding method. The default sends a value that sits exactly halfway away from zero; the other eight methods settle halves, or every value, in their own direction.
  4. Read the rounded value, the sentence that explains it, how far rounding moved the number, and the table that shows the answer of every method side by side.

Formula

Divide the number by the step (1 for the ones place, 0.01 for hundredths, 1/8 for eighths), round that quotient to a whole number, then multiply back by the step. Between two whole numbers the nearer one wins; a quotient exactly halfway is settled by the method: half away from zero, half up (toward +infinity), half down (toward -infinity), half to even, half to odd or half toward zero. Ceiling and floor always move up or down.

Example

The number 1,234.5678 rounded to the nearest 0.01 is 1,234.57. Rounded up to the nearest 100 (ceiling) it is 1,300. To the nearest lakh, 12,34,567.891 becomes 12,00,000. For 2.5 to the nearest whole number, half away from zero gives 3, half to even gives 2 and half to odd gives 3.

The tool works on the exact decimal digits you type, not on binary approximations, so 1.005 rounds to 1.01 at two places, as it does on paper. Rounding to a place before the point (such as lakhs or crores) returns a number with zeros at the end, and rounding a small number to a large place can give 0. Half to even is sometimes called banker's rounding and is the default for many computer systems because it avoids a steady upward drift when many values are added.