Grades 4-8Free, no account needed
Decimal rounding calculator
Round a signed finite decimal to positive or negative decimal places using exact half-away-from-zero comparisons.
Try your problem
Supported inputs and limits
Signed finite decimal inputs of magnitude at most 1 billion, at most 9 decimal places, and at most 40 characters. Integer rounding places range from -9 to 9: -1 means tens, -2 hundreds, 0 whole numbers, and 2 hundredths. Fractions, scientific notation and repeating-decimal input are not accepted. Positive places retain trailing zeros in the answer; negative zero is displayed as zero. Paste syntax: round -1.235 to 2, at most 200 characters.
Step by step
Understand the method
Rounding replaces a value with a nearby multiple of a chosen unit. Two decimal places use a unit of 0.01; zero places use 1; negative two places use 100. First find the two neighboring multiples, then choose the nearer one.
This calculator uses half-away-from-zero for exact ties. For example, 1.235 rounds to 1.24 at two places, and -1.235 rounds to -1.24. Exact rational remainder comparisons determine ties, so the outcome does not depend on how a computer approximates a decimal in binary.
Worked examples
Read the reasoning, or load an example into the calculator.
A negative halfway value
-1.235 is halfway between -1.24 and -1.23; half-away-from-zero selects -1.24.
Round to hundreds
1250 is halfway between 1200 and 1300. At -2 places, the answer is 1300.
Carry across a whole number
9.995 rounds up at two places. The carry gives 10.00, retaining two decimal places.
Try it without the calculator
Three questions for practice, not a graded school assessment. Your answers stay on this page and are not saved.
Original Testinar learning content. This local preview is awaiting final review before publication.

