Skip to main content

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.

All calculators

Try your problem

Signed finite decimal, up to 9 places; exact ties round away from zero.
Integer from -9 to 9: 2 = hundredths, 0 = whole, -2 = hundreds.

Your calculations stay in this browser. No input history is saved.

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.

Understand the method

A number line places -1.235 halfway between -1.24 and -1.23, with an arrow toward -1.24 showing that an exact tie rounds away from zero.

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.

1. Round -2.5 to zero decimal places using this rule.
2. Round 346 to -1 decimal places.
3. Round 0.0049 to two decimal places.

Original Testinar learning content. This local preview is awaiting final review before publication.

Page UP