About the Rounding Calculator
Choose how to round, how many places, and the rounding rule. “Half away from zero” is the usual school method; “half to even” (banker’s rounding) reduces bias in large datasets and is the default in many programming languages and in IEEE 754.
Ceiling and floor-style rules always round in one direction, and truncating simply drops digits. The steps show the step size, the scaled value and the rounded result, so you can see exactly what happened.
How to Use the Rounding Calculator
- Enter the number.
- Choose decimal places, significant figures or a power of ten.
- Choose the rounding rule.
- Read the result.
Formula and Method
Round to a step
round(x ÷ step) × step
Step is 10⁻ᵈ for d decimal places.
Significant figures
step = 10^(⌊log₁₀|x|⌋ − s + 1)
Worked Example
Two decimal places
Input: 3.14159265
- Step 0.01
- 314.159 → 314
- 314 × 0.01
Result: 3.14.
Frequently Asked Questions
What is banker’s rounding?
Round halves to the nearest even digit, so 2.5 → 2 and 3.5 → 4, to avoid a systematic upward bias.
What are significant figures?
The digits that carry meaning, counted from the first non-zero digit.
How do I round to the nearest 10?
Choose “power of ten” with 1.
Is rounding the same as truncating?
No. Truncating drops digits without looking at them.
Related Calculators
Sources and Further Reading
Accuracy and Scope
Results use standard IEEE-754 double-precision arithmetic and are rounded for display. For exam, engineering or research work, verify critical values with a second method. See our full disclaimer.