Rounding Calculator

Round numbers exactly, to any place, with every rounding rule.

Rounding Calculator tool

—
Rounded number
—
Rounding difference
—
Rule used

About the Rounding Calculator

Rounding looks simple until a number ends in exactly 5: 2.5 rounds up to 3 by the usual school rule but down to 2 under banker's rounding, which many spreadsheets and programming languages use. This rounding calculator lets you choose the rule, half-up, half-even, floor, ceiling and more, and round to decimal places or to the nearest 10, 100 or 1,000.

Unlike most calculators, it works on the digits exactly as you typed them rather than on binary floating-point values. That matters at the halfway point: computers store 2.675 as 2.67499999…, so many programs round it to 2.67, while the correct answer under the usual rule is 2.68. Here the number is handled as an exact decimal, so ties are detected precisely and the result never suffers from floating-point drift.

Example: 2.675 rounded to two places is 2.68 with half away from zero, half up and ceiling; 2.67 with half toward zero, floor and truncation; and 2.68 with banker's rounding, because the digit before the 5 is odd, so the result rounds to the even 8. Rounding −2.5 to a whole number gives −3 with half away from zero, but −2 with banker's rounding and with half up toward positive infinity.

For rounding by significant figures instead of decimal places, use the significant figures calculator. Very large or small results read better with the scientific notation converter, and money rounding questions often pair with the percentage calculator.

How to use the Rounding Calculator

  1. Enter a numberType any number; commas and negative signs are fine.
  2. Choose the placePick a number of decimal places, a whole number, or the nearest 10, 100 or 1,000.
  3. Choose the ruleKeep the standard rule or pick banker's rounding, floor, ceiling and others.
  4. Compare the rulesSee the result under every rule in the table, with the rounding difference.

Rounding Calculator features

  • Round to 0 to 10 decimal places
  • Round to the nearest 10, 100 or 1,000
  • Nine rounding rules including banker's rounding
  • Exact decimal arithmetic with no floating-point errors
  • Every rule compared in one table
  • Rounding difference shown
  • Works with negative and very long numbers

Common uses

  • Homework on rounding and place value
  • Rounding prices, tax and invoices
  • Checking how spreadsheets and programs round
  • Reporting measurements to a fixed precision
  • Understanding banker's rounding in finance

Rounding in practice: methods, money, statistics and famous rounding errors

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Rounding replaces a number with a simpler one that is close to it. It makes results readable and fits them to the precision that matters, but different methods give different answers, and rounding at the wrong stage can quietly distort totals. This guide explains when to round, why bankers and computers sometimes round halves to even, how rounding affects invoices and percentages, and a real stock market index that went wrong because of rounding.

Why there are several methods

Rounding halves is the only tricky case: everything else simply goes to the nearest value. Rounding half up sends 2.5 to 3 every time. Over many values, always rounding halves up adds a small upward bias. Banker's rounding, or round half to even, sends 2.5 to 2 and 3.5 to 4, so halves go up and down equally often and the bias disappears.

Floor and ceiling ignore halves altogether: floor always rounds down and ceiling always rounds up, which suits situations such as counting how many full boxes you can fill, or how many buses you need.

Computers and rounding

Many programming languages use banker's rounding by default. In Python, round(2.5) gives 2 and round(3.5) gives 4. Spreadsheet programs such as Excel round halves away from zero with their ROUND function, so =ROUND(2.5,0) gives 3. Knowing which rule a tool uses explains results that otherwise look like mistakes.

Ceiling and floor in daily life

Some decisions need rounding in one direction only. If 130 people need transport and each bus holds 50, you need 3 buses, the ceiling of 2.6, even though 2.6 rounds to 3 anyway; for 101 people, the ceiling still gives 3 buses although ordinary rounding would give 2. If tiles come in boxes of 12 and you need 50, you must buy 5 boxes. Floor applies when only complete units count, such as how many full 750 ml bottles a 5-litre container fills: 6.

Rounding money

Money is usually rounded to two decimal places, or to whole rupees in many everyday transactions. Invoices raise a subtle issue: rounding each line's tax separately can give a slightly different total from calculating tax on the whole invoice and rounding once. Businesses follow the method required by their tax authority and accounting software, and should apply it consistently.

Percentages that do not add to 100

When percentages are rounded individually, they may add up to 99% or 101%. Three equal shares of one third each become 33%, 33% and 33%, totalling 99%. Reports often add a note explaining this, or adjust one figure so the total is exactly 100%. Neither approach is wrong, but readers should not be surprised by small differences.

A worked example: a quarterly report

A business has three product lines with sales of Rs 1,234,567, Rs 2,345,678 and Rs 3,456,789, a total of Rs 7,037,034. Rounding each to the nearest thousand gives 1,235,000, 2,346,000 and 3,457,000, which add up to 7,038,000, while the rounded total is 7,037,000. The difference of 1,000 comes entirely from rounding.

A good report rounds the total from the exact sum, not by adding rounded figures, and notes that components may not add up exactly because of rounding.

A famous rounding failure

In 1982, the Vancouver Stock Exchange launched a new index at 1,000 points. It was recalculated thousands of times a day and truncated, rather than rounded, to three decimal places each time. The tiny losses accumulated, and by late 1983 the index had fallen to about 520 even though the market had risen. When it was recalculated correctly, its value was about 1,098. The episode is a classic warning about rounding inside repeated calculations.

When to round

Round at the end, not during a calculation. Keep full precision in intermediate steps, and round only the final result to the precision your situation needs: two decimal places for money, a sensible number of significant figures for measurements and whole numbers for counts of people or objects.

Common mistakes

  • Rounding intermediate results in multi-step calculations.
  • Using ordinary rounding when a situation needs a ceiling or floor.
  • Adding rounded figures to get a total.
  • Expecting every tool to round halves the same way.

Related tools

For significant figures, use Significant Figures Calculator. For very large and small numbers, try Scientific Notation Converter, and for percentages, Percentage Calculator.

Rounding measurements

Measurements should be rounded to match the precision of the instrument. A tape measure read to the nearest millimetre supports a result such as 1,253 mm, not 1,253.47 mm, even if a calculation produces more digits. When measurements are combined, the result should be rounded to match the least precise measurement, which is the idea behind significant figures in science and engineering.

Limits

Rounding is exact for the method chosen; results depend on that choice, so pick the method that matches your context.

Frequently asked questions

How do I round to two decimal places?

Look at the third decimal digit. If it is 5 or more, increase the second digit by one; otherwise leave it. 3.14159 becomes 3.14 and 2.675 becomes 2.68 under the standard rule.

What is banker's rounding?

Round half to even: a number exactly halfway is rounded to the nearest even digit, so 2.5 becomes 2 and 3.5 becomes 4. Over many values it avoids the upward bias of always rounding halves up, which is why finance and statistics software use it.

Why does my program round 2.675 to 2.67?

Because 2.675 cannot be stored exactly in binary floating point; it is held as 2.67499999999999982236431605997495353221893310546875. The digits after the tie are lost, so it rounds down. This calculator rounds the decimal digits exactly.

What is the difference between floor and truncate?

Truncation drops the extra digits, moving toward zero. Floor always moves down toward negative infinity. They agree for positive numbers but differ for negatives: −2.7 truncates to −2 but floors to −3.

How do I round to the nearest hundred?

Look at the tens digit. If it is 5 or more, round up to the next hundred; otherwise round down. 1,249 becomes 1,200 and 1,250 becomes 1,300 under the standard rule.

What does rounding half away from zero mean?

Ties move away from zero, so 2.5 becomes 3 and −2.5 becomes −3. It is the rule most people learn at school and the one used by Excel's ROUND function.

Does rounding change the value much?

At most by half of the place you round to under the half rules, and by less than one whole unit of that place under floor, ceiling or truncation. The calculator shows the exact difference.