Rounding Calculator: Decimals and Sig Figs
This rounding calculator rounds a number to the nearest whole number, tenth, hundredth or any decimal place, or to a set number of significant figures. You can also pick the method, such as round half up or round half to even. It is useful for homework, money amounts and lab results.
Rounding Calculator
-
-
-
This rounding calculator rounds any number to a chosen number of decimal places or significant figures. Pick one of five methods (half up, half even, floor, ceiling or truncate) and see the rounded result next to the original and the difference.
How to use the Rounding Calculator
- Enter the Number to round.
- Choose a Mode: Decimal Places or Significant Figures.
- Set Places / Sig Figs: 0 to 15 for decimal places, or at least 1 for significant figures.
- Pick a Rounding Method, press Round, and read the rounded result, the original value and the difference.
Rounding methods
Floor: always down Ceil: always up Truncate: cut off toward zero
Decimal places: round(x × 10แต) ÷ 10แต
The methods only disagree on certain numbers. Half up and half even differ only when the dropped part is exactly 5. Floor and truncate differ only for negative numbers: floor(−2.7) = −3, but truncate gives −2.
Example
3.14159265 to 3 decimal places with half up gives 3.142, a difference of about 0.000407. With half even, 2.5 to 0 places gives 2, while half up gives 3. In significant-figure mode, 0.0045678 to 3 significant figures is 0.00457, because leading zeros don't count.
Frequently asked questions
How do I round to 2 decimal places?
Look at the third decimal digit. If it is 5 or more, round the second digit up; otherwise leave it as is. 4.736 becomes 4.74, and 4.732 becomes 4.73.
What are significant figures?
They are the digits that carry meaning in a measurement, starting from the first non-zero digit. 0.00457 has 3 significant figures, and 2,050 has 3 or 4 depending on whether the final zero was measured.
What is banker's rounding?
It's the half-even method: a number exactly halfway rounds to the nearest even digit, so 2.5 rounds to 2 and 3.5 rounds to 4. Over many values, it avoids the upward bias of always rounding 5 up.
What is the difference between rounding and truncating?
Rounding picks the nearest value at your chosen precision; truncating simply drops the extra digits. 7.89 rounded to 1 decimal place is 7.9, but truncated it is 7.8.
Round to decimal places or significant figures
How to use it
- Enter the number to round.
- Pick decimal places or significant figures.
- Enter how many places or sig figs you want.
- Choose a rounding method and read the result.
More questions
How do I round to the nearest hundredth?
Look at the thousandths digit. If it is 5 or more, round up. 3.456 becomes 3.46.
What is round half to even?
Numbers exactly halfway round to the nearest even digit, so 2.5 becomes 2 and 3.5 becomes 4. It is also called banker's rounding.
How do I round money?
Round to two decimal places, the nearest cent.
Related tools: Significant Figures Calculator, Fraction to Decimal and Decimal to Fraction Converter, Scientific Notation Calculator.
Rounding a $2.675 price and a half-even tie
Enter the number, choose decimal places or significant figures, pick a rounding method and read the rounded value and the difference from the original. To compare prices per ounce or per unit before rounding, use the Unit Price Calculator.
Worked example: a unit price of $2.675 rounded to 2 places with half-up becomes $2.68 (a difference of 0.005). A tie like 2.665 gives 2.67 with half-up but 2.66 with half-even.
More answers
Why does 2.675 sometimes round to 2.67 in code or a spreadsheet?
Many programs store 2.675 in binary, where it is slightly below 2.675, so their rounding drops to 2.67. This calculator rounds the decimal as written, so half-up gives 2.68.
When should I use half-even instead of half-up?
Half-even sends exact ties to the nearest even digit, which avoids a steady upward bias across many numbers. For a single price, half-up is usually what people expect.