Rounding Calculator
Round a number to decimal places, significant figures or the nearest multiple, using half up, half even (banker's), ceiling, floor or truncation.
How to use this calculator
Type the number exactly as you have it; it is handled as written, so values such as 2.675 round correctly without floating-point errors. Choose decimal places, significant figures or a multiple such as 5, 100 or 0.05, and pick the rounding rule. The result also shows how the other rules would round the same number.
Formula
Rounding to a step q (0.01 for 2 decimal places, 10^(e − s + 1) for s significant figures where e is the exponent of the leading digit, or the multiple) divides the number by q, rounds to an integer by the chosen rule and multiplies back by q. Half up rounds 0.5 away from zero; half even rounds 0.5 to the nearest even digit.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What is the rule for rounding?
Look at the digit after the place you are rounding to. If it is 5 or more, round up; if it is 4 or less, keep the digit. This is called round half up.
What is banker's rounding?
Round half to even: when a number is exactly halfway, it is rounded to the nearest even digit (2.5 → 2, 3.5 → 4). It avoids an upward bias when many values are rounded and is the default in IEEE 754 floating-point arithmetic.
What are significant figures?
Significant figures are the digits that carry meaning, starting from the first non-zero digit. 0.004560 has four significant figures: 4, 5, 6 and the final 0.
How do I round negative numbers?
Half up rounds −2.5 to −3 (away from zero). Floor always goes to the lower number (−2.1 → −3) and ceiling to the higher (−2.9 → −2).
Why does my spreadsheet round 2.675 to 2.67?
Many programs store 2.675 as 2.67499999… in binary. This calculator works with the decimal digits you type, so it rounds 2.675 to 2.68 half up.
How do I round to the nearest 5 or 0.25?
Choose Nearest multiple and enter 5 or 0.25. 17 rounds to 15, and 3.13 rounds to 3.25 to the nearest quarter.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Institute of Electrical and Electronics Engineers. (2019). IEEE standard for floating-point arithmetic (IEEE Std 754-2019). View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source
- Thompson, A., & Taylor, B. N. (2008). Guide for the use of the International System of Units (SI) (NIST Special Publication 811). National Institute of Standards and Technology. View source
- Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Prealgebra 2e. OpenStax. View source