Definition
What rounding means
Rounding replaces a number with one on a chosen scale, such as a whole number, a hundredth or a multiple of ten. The step sets which answers are possible, and the rounding rule determines which one to choose when the original lies between them.
- Set the scale
- Places, multiples or significant figures
- At an exact tie
- Half-up and half-even can differ
- For negative values
- Check which direction the rule uses
Choose the place that matters
Start with the purpose of the number. Decimal places are useful when every answer needs the same position after the decimal point, such as a measurement recorded to hundredths. Nearest ten, hundred or thousand is useful when reporting counts at a broader scale. Significant figures are useful when the precision should follow the size of the number.
For significant figures, leading zeros only locate the decimal point. They do not count as measured digits. Zeros between nonzero digits do count. A final zero after a decimal point can also count, which is why the result preserves formatting instead of treating every answer as an unformatted number.
Read the tie rule before comparing answers
The number 1234.565 lies exactly halfway between two hundredths. Half-up gives 1234.57; half-even gives 1234.56, because the retained hundredths digit is even in the latter answer. Neither result can be checked properly without naming the rule.
Away-from-zero and toward-zero rules do not look for the nearest answer. They act whenever a discarded portion is nonzero. A value already on the chosen increment stays unchanged under every rule. For negative numbers, apply the rule to the magnitude first, then restore the sign; a rounded zero is displayed without a minus sign.
Use significant figures for scale
At three significant figures, 0.004567 becomes 0.00457. Counting begins at the first nonzero digit. In a much larger number, the final significant digit may sit to the left of the decimal point, so rounding can replace several ending digits with zeros.
A carry can move the first significant digit into a new position. The scientific-notation row makes that change readable and records the intended number of figures. Zero has no first nonzero digit, so this tool displays it as zero in significant-figure mode; use decimal-place mode if you need an explicit number of decimal zeros.
Why decimal input is kept as text
Many familiar decimal fractions cannot be stored exactly as binary floating-point numbers. A value typed as an exact halfway decimal can therefore arrive just above or below the boundary in ordinary numerical code. This calculator separates the sign, integer digits and decimal exponent, then compares the discarded portion using integer arithmetic.
That approach also preserves integer digits beyond the usual safe-number limit. It does not add accuracy to a measured input: a rounded measurement remains a rounded measurement. Enter all digits you actually have, choose the required reporting precision, and avoid presenting extra digits as evidence of a more precise instrument.
Check a result with its increment
The increment tells you the spacing between allowed answers. A nearest result should sit no more than half an increment from the original value, except that the tie rule chooses which endpoint to use at exactly half. Away-from-zero and toward-zero results may sit almost a full increment away.
When comparing a spreadsheet with this page, match the input text, target and rule. Check whether the spreadsheet has already rounded an intermediate result. A different number of displayed digits can hide a remaining fractional part, so visible cell formatting alone may not explain a disagreement.
Step-by-step example
Round 1234.565 to two decimal places with both tie rules, and round 0.004567 to three significant figures.
| Step | Result |
|---|---|
| Half-up at two decimal places | 1234.57 |
| Half-even at two decimal places | 1234.56 |
| Three significant figures | 0.00457 |
| Increment at three significant figures | 0.00001 |
Formulas used
Increment = 10^(−p) for p decimal places
Nearest multiple = increment × rounded(value / increment)
- p
- number of decimal places
- rounded
- round the increment count by the chosen rule
Example: 1234.565 at two decimal places: half-up = 1234.57; half-even = 1234.56.
Increment = 10^(k − s + 1)
k is the exponent of the first nonzero digit; s is the requested figure count
- k
- power of ten of the first nonzero digit
- s
- number of significant figures
Example: For 0.004567, k = −3 and s = 3. The increment is 0.00001 and the rounded result is 0.00457.
When the answer can mislead
- Displayed digits in a spreadsheet may hide a fraction that affects whether the value is halfway.
- When a rounding step carries into a new place, use scientific notation to make retained zeros clear.
- Match the reporting rule before comparing results from different calculators.
Questions
How are decimal places different from significant figures?
Decimal places count positions after the decimal point. Significant figures count from the first nonzero digit, whether it appears before or after the point. A small measurement may therefore need many decimal places to retain only a few significant figures. Choose the setting that matches the instruction on your worksheet or measurement report.
What happens exactly halfway between two answers?
Half-up selects the answer farther from zero. Half-even selects the answer whose last retained digit is even. These methods differ only at an exact tie. Half-even can reduce a repeated preference for increasing magnitude across many ties, although it does not remove every possible source of bias in a dataset.
Does rounding up mean moving toward positive infinity?
Here, up means away from zero, and down means toward zero. For a negative value, up makes the answer more negative. Ceiling and floor are different operations: ceiling moves toward positive infinity and floor toward negative infinity. Read the selected rule carefully before using a result in software or a specification.
Why does the answer keep trailing zeros?
Trailing zeros communicate the chosen decimal precision. An answer ending in .00 still has two decimal places, even though those zeros do not change its numerical value. Whole numbers can be ambiguous when significant figures matter, so the scientific-notation row preserves retained zeros in its coefficient.
Can I enter very large or very small numbers?
Yes. The input accepts decimal text with up to 100 digits and an optional e exponent from minus 300 through 300. Use a dot for the decimal separator and omit grouping commas. Decimal places support zero through thirty; significant figures support one through thirty. Values outside those limits produce a message instead of a rounded guess.
Should I round each step of a long calculation?
Usually keep extra digits in intermediate steps and round the final answer once. Rounding twice can cross a boundary that the original value never crossed. If a contract, marking scheme or accounting policy explicitly requires rounding at each step, follow that rule and use the same tie convention throughout.
Embed this calculator
Cite this calculator
Rounding Calculator. CalculatorLab. https://calculatorlab.site/calculators/rounding-calculator/. Last updated . Accessed .