Numeravo

Numeravo

Smart calculators

Utility calculator

Rounding Calculator

Round an exact decimal half up, half even, up, or down. Choose decimal places, significant figures, or an increment such as 0.25.

Rounding

Round the number

Result

Rounded half up

3

half up

3

half even

2

up

3

down

2

How it works

The number you type is read as an exact decimal. Half up rounds to the nearest value and, on an exact tie, moves away from zero. Half even also rounds to the nearest value, but an exact tie stays on the even digit. That tie rule is often called banker’s rounding.

Up always moves away from zero when the number is not already on the requested value. Down always moves toward zero. Neither rule looks for a nearest value.

Decimal places keep a fixed number of digits after the decimal point. Significant figures start at the first non-zero digit. An increment rounds to a multiple of the step you enter, such as the nearest 0.25, using the same tie rule.

Formulas

The four modes differ only in which way a remainder moves. Significant figures count from the first non-zero digit.

  • Half up: round to the nearest value; a tie moves away from zero
  • Half even: round to the nearest value; a tie moves to the even digit
  • Up moves away from zero; down moves toward zero
  • Significant figures are counted from the first non-zero digit

Worked examples

  1. 2.5 to 0 decimal places is 3 with half up, and 2 with half even.

    2.5 is equally far from 2 and 3. Half up moves away from zero. Half even stays on the even digit, 2.

  2. 12,345 to 2 significant figures, half up, is 12000 (1.2 × 10^4).

    The first two significant digits are 1 and 2. The next digit is 3, so half up leaves 1.2 × 10^4.

FAQ

What does half up do with 2.5?

2.5 is equally far from 2 and 3. Half up moves away from zero, so 2.5 to a whole number is 3. The same rule makes −2.5 into −3.

What does half even do with 2.5 and 3.5?

A tie goes to the even digit. 2.5 goes to 2, and 3.5 goes to 4. −2.5 goes to −2 because 2 is the even digit.

How do up and down differ from half up?

Up and down do not look for the nearest value. Up moves away from zero whenever anything remains, so 1.2 to a whole number is 2. Down moves toward zero, so 1.8 is 1 and −1.8 is −1.

How are significant figures counted?

Count starts at the first non-zero digit. 12,345 to 2 significant figures is 12,000, which is 1.2 × 10^4. Leading zeros in a number such as 0.00123 are not significant.

How does rounding to an increment work?

The number is divided by the increment, that quotient is rounded with the selected mode, and the result is multiplied by the increment again. 10.3 to the nearest 0.25, half up, is 10.25.

Related calculators