Skip to content

Rounding Calculator: Decimals, Significant Figures, Nearest 10 or Fraction

Round to decimal places, significant figures, the nearest 10 or 100, or the nearest ½ to 1/64, with a choice of tie rule.

Inputs

Rounded
2.68

Use this calculator on your own site

Free embed

  • Two lines of HTML, unlimited views
  • Shows a small CalculateEveryday bar, with a credit link under the calculator

What each Rounding input means

Number
The number to round. Decimals and negatives are fine; a negative rounds by the mirrored rule, so −2.5 to a whole number is −3 when 5 rounds up (away from zero).
Round to
Decimal places for money and measurements, significant figures for science, the nearest 10, 100 or any step for estimates, or the nearest fraction for tape-measure readings.
How many places or figures
How many decimal places, or how many significant figures, depending on the mode. 0 decimal places rounds to a whole number. The answer keeps trailing zeros, so 2.96 to one place reads 3.0.
Nearest
The step to round to in 'nearest' mode: 10, 100, 1000, 0.5, 0.25, 5 — any positive number. Rounding to the nearest 0.05 is how cash totals are rounded where one- and two-cent coins have been withdrawn.
Nearest
The fraction for nearest-fraction mode, from halves down to sixty-fourths. Sixteenths suit a tape measure; thirty-seconds and sixty-fourths suit drill bits and machining.
When the dropped digit is exactly 5
Only matters when the digit dropped is exactly 5 with nothing after it. School arithmetic rounds it up; science and banking round to the even neighbour, so ties don't push totals upward.

Rounding formula

decimal places: round(x × 10ⁿ) ÷ 10ⁿ · nearest step: round(x ÷ step) × step · significant figures: keep n digits from the first non-zero one

Rounding keeps the digits that matter and looks at the first one dropped: below 5, the kept digit stays; above 5, it goes up by one. The only real disagreement is about an exact 5. School arithmetic, as in OpenStax Prealgebra, rounds it up — 23,658 to the nearest hundred is 23,700 — and away from zero for negatives. Science, as in OpenStax Chemistry, rounds a lone 5 to whichever neighbour is even, so 92.85 to three significant figures is 92.8; that is also banker's rounding. The page offers both. Besides decimal places it rounds to significant figures (counted from the first non-zero digit), to the nearest 10, 100, 0.5 or any step, and to the nearest fraction such as 1/8 or 1/16 for measurements.

Rounding worked example

2.675 to two decimal places: 2.675 × 100 = 267.5, which rounds up to 268, so 2.68. Rounding the 5 to the even digit instead gives 2.68 too, because 8 is even; 2.665 would go up to 2.67 by the school rule and down to 2.66 by the even rule.

More Rounding examples

OpenStax Chemistry's example, 92.85 to three significant figures by the even rule: the dropped digit is exactly 5, and the kept digit, 8, is already even, so it stays — 92.8. The school rule would give 92.9.

1,234.5678 to the nearest 50: 1,234.5678 ÷ 50 = 24.69, which rounds to 25, and 25 × 50 = 1,250.

2.3 inches to the nearest eighth: 2.3 × 8 = 18.4, which rounds to 18 eighths, simplified to 2 1/4. The rounding error is 0.05 inch.

0.125 to two places by the even rule: 12.5 hundredths sits exactly halfway, and 12 is even, so it rounds down to 0.12. The school rule gives 0.13.

Where the Rounding calculator can give the wrong answer

  • A number like 2.675 is stored in binary as 2.67499999…, which makes many calculators round it to 2.67. This page treats anything within a billionth of a 5 as a 5, so it gives the pencil-and-paper answer.
  • Significant figures count from the first non-zero digit: 0.004567 to two figures is 0.0046, and 123,456 to three is 123,000.
  • Rounding to the nearest fraction gives a mixed number: 3.14159 to the nearest 1/16 is 3 1/8.
  • Rounding again and again (2.4449 → 2.445 → 2.45) can give a different answer from rounding once (2.44). Round once from the original.

Spotted a mistake? Tell us

Rounding reference table

Three numbers rounded six ways
Round to3.141592,674.50.004567
Whole number, 5 rounds up32,6750
Whole number, 5 rounds to even32,6740
2 decimal places3.142,674.500.00
3 significant figures3.142,6700.00457
Nearest 10002,7000
Nearest 1/163 1/82674 1/20
Source: Worked out with this page's calculator; tie rules from OpenStax Prealgebra 2e §1.1 (round up) and OpenStax Chemistry 2e §1.5 (round to even)

Rounding FAQ

Look at the third decimal place: 5 or more rounds the second up, less leaves it. 3.14159 → 3.14; 2.675 → 2.68.