Round any number to a set number of decimal places, to significant figures, or to the nearest 10, 100, 0.5 or any other multiple. Choose the rounding rule too — standard half-up rounding, banker’s rounding (half to even), or always rounding up or down — and see the same number rounded several other ways.
How you round matters for money, measurements and statistics. The calculator rounds to decimal places, significant figures or the nearest 5, 10 or 100, using standard rounding or banker’s rounding, ceiling or floor.
What is rounding?
Rounding replaces a number with a simpler one that is close to it — 3.14159 becomes 3.14, and 48,712 becomes 49,000. It makes results easier to read and avoids claiming more precision than a measurement really has.
You round to a chosen precision: a number of decimal places, a number of significant figures, or the nearest multiple of something such as 10, 100, 0.5 or 0.05. Only the digit just after the cut-off matters. Below 5 rounds down; above 5 rounds up; an exact 5 is the tie that different rules handle differently.
The everyday rule rounds ties away from zero (“half up”). Round half to even, or banker’s rounding, sends ties to the even neighbour so that rounding errors cancel out over many values; it is the default in IEEE 754 floating-point arithmetic and is recommended in NIST guidance on rounding numbers. Ceiling, floor and truncation always round in one direction, which suits prices, capacities and age.
How to use the rounding calculator
- Enter the number.
- Choose what to round to: decimal places, significant figures or a multiple.
- Choose the rounding rule and read the result.
Formula
Rounded = round(x ÷ step) × step
The step is 0.01 for two decimal places, 10 for the nearest ten, and 10^(digits before the point − figures) for significant figures. The number is divided by the step, rounded to a whole number by the chosen rule, then multiplied back.
Half up rounds a 5 away from zero (2.5 → 3, −2.5 → −3). Half to even rounds a 5 to the even neighbour (2.5 → 2, 3.5 → 4), which avoids a bias when many values are rounded and added up.
Worked examples
Money to the nearest cent
- Number
- 2.675
- Round to
- Decimal places
- Decimal places
- 2
- Rule
- Round half up (standard)
- Rounded to 2 decimal places
- 2.68
- Change
- 0.005
- Rule
- Round half up (standard)
The third decimal is 5, so standard half-up rounding gives 2.68. (Some software shows 2.67 because 2.675 cannot be stored exactly in binary — this calculator treats it as the decimal you typed.)
Significant figures in a measurement
- Number
- 0.004568
- Round to
- Significant figures
- Significant figures
- 3
- Rule
- Round half up (standard)
- Rounded to 3 significant figures
- 0.00457
- Change
- 0.0000022
- Rule
- Round half up (standard)
Leading zeros are not significant, so the first three significant figures are 4, 5 and 6; the next digit is 7, so round up to 0.00457.
Banker’s rounding of a tie
- Number
- 12.5
- Round to
- Decimal places
- Decimal places
- 0
- Rule
- Round half to even (banker’s)
- Rounded to nearest whole number
- 12
- Change
- -0.5
- Rule
- Round half to even (banker’s)
12.5 is exactly halfway between 12 and 13. Half to even picks the even neighbour, 12, while half up would give 13.
How each rule rounds to a whole number
| Number | Half up | Half to even | Ceiling | Floor | Truncate |
|---|---|---|---|---|---|
| 2.3 | 2 | 2 | 3 | 2 | 2 |
| 2.5 | 3 | 2 | 3 | 2 | 2 |
| 3.5 | 4 | 4 | 4 | 3 | 3 |
| 2.7 | 3 | 3 | 3 | 2 | 2 |
| -2.5 | -3 | -2 | -2 | -3 | -2 |
| -2.7 | -3 | -3 | -2 | -3 | -2 |
Round once, at the end
Rounding at each step builds up error. Adding three prices of $1.333 gives $4.00 if you round only the total, but $3.99 if you round each to $1.33 first. In multi-step calculations, keep full precision until the final answer.
Common mistakes
- Rounding in stages. 2.449 rounded to one decimal is 2.4, but rounding first to 2.45 and then to 2.5 gives the wrong answer. Always round the original number once.
- Rounding too early in a calculation. Keep full precision through the working and round only the final result.
- Counting leading zeros as significant figures: 0.0052 has two significant figures, not four.
- Dropping meaningful trailing zeros. 2.50 to two decimal places shows the measurement is precise to the hundredth; writing 2.5 loses that.
- Rounding twice. 2.45 rounded straight to a whole number is 2, but rounding to 2.5 first and then to a whole number gives 3.
Frequently asked questions
How do I round to two decimal places?
Look at the third decimal digit. If it is 5 or more, add one to the second digit; otherwise leave it. 3.14159 becomes 3.14 and 2.675 becomes 2.68.
What is banker’s rounding?
Rounding exact halves to the nearest even digit, so 0.125 rounds to 0.12 but 0.135 rounds to 0.14. Over many values the ups and downs cancel out, which is why it is used in finance, statistics and IEEE 754 computer arithmetic.
How do significant figures differ from decimal places?
Decimal places count digits after the point; significant figures count from the first non-zero digit. 0.004567 to 2 significant figures is 0.0046, but to 2 decimal places it is 0.00.
How do I round to the nearest 5 or 10?
Divide by 5 (or 10), round to a whole number and multiply back. 37 to the nearest 5 is 37 ÷ 5 = 7.4 → 7 → 35.
Sources
- NIST Guide to the SI, Appendix B (B.7 Rules for rounding numbers), National Institute of Standards and Technology (NIST)
- Chemistry 2e, 1.5 Measurement Uncertainty, Accuracy, and Precision (significant figures and rounding), OpenStax, Rice University
- Rounding, Wolfram MathWorld
Last updated · Calculations checked by automated tests· Editorial policy