Rounding Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free rounding calculator. Round any number to decimal places or the nearest 5, 10, 0.25 or any step, half up, half even (banker's), up, down or truncate.
- Change
- 0
- Rule used
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the rounding calculator
- Type the number you want to round. It can be positive or negative, a whole number or a long decimal.
- Choose what to round to: a whole number, one, two or three decimal places, or the nearest 0.25, 0.5, 5, 10, 100 or 1,000. Pick "Other step…" to round to any step you like, such as the nearest 0.05 for cash or the nearest 15 for minutes.
- Choose the rule. Half up is the rule taught in school. Half to even (banker's rounding) is used in finance, statistics and many programming languages. You can also always round up, always round down, truncate or round away from zero.
- Read the answer. The rounding calculator shows the rounded number, how much it changed and the rule used, with a short explanation of what that rule does.
Everything runs in your browser. Nothing you type is sent anywhere.
Why this rounding calculator is exact
Most calculators and spreadsheets store numbers in binary floating point. Many decimals, like 1.005 or 2.675, can't be stored exactly in binary, so 2.675 is actually held as a number very slightly below it, about 2.67499999999999982. Round that to two places and you get 2.67, not the 2.68 you expected. This is why JavaScript's toFixed and some spreadsheet functions occasionally give answers that look wrong.
The rounding calculator avoids that problem. It reads the digits exactly as you typed them and does the arithmetic on whole numbers, so 2.675 rounded to two places half up is 2.68, every time. If you need an answer you can defend to an auditor, a teacher or a client, that matters.
Rounding to decimal places
Rounding to a number of decimal places means keeping that many digits after the decimal point and adjusting the last one based on what comes next.
- To 1 decimal place: 3.14159 → 3.1
- To 2 decimal places: 3.14159 → 3.14
- To 3 decimal places: 3.14159 → 3.142
With the half up rule, look at the first digit you're dropping. If it's 5 or more, the last kept digit goes up by one; if it's 4 or less, it stays the same. So 7.846 to two places is 7.85, and 7.844 is 7.84.
Rounding to a whole number works the same way: 18.5 becomes 19, and 18.49 becomes 18.
Rounding to the nearest 5, 10, 100 or any step
Rounding doesn't have to be to a decimal place. You can round to any step, and the rounding calculator handles all of them exactly:
- Nearest 10: 1,234 → 1,230. Nearest 100: 1,234.5 → 1,200. Nearest 1,000: 1,234 → 1,000.
- Nearest 5: useful for prices and scores. 47 → 45, 48 → 50.
- Nearest 0.5 or 0.25: used for hours on timesheets, shoe sizes, grades and measurements. 18.62 to the nearest 0.25 is 18.50.
- Nearest 0.05: for cash in countries without 1-cent coins, such as Canada, Australia and New Zealand, where cash totals are rounded to the nearest 5 cents.
- Nearest 15: for billing time in quarter hours (enter 15 as the step if you're working in minutes).
The method is the same whatever the step: divide by the step, round to a whole number using the chosen rule, then multiply back. 18.62 ÷ 0.25 = 74.48, which rounds to 74, and 74 × 0.25 = 18.50.
The rounding rules explained
Every rule agrees when the number isn't exactly halfway between two steps. They differ in what happens at exactly half, and in whether they always go one direction.
Half up (the school rule). Exact halves go up: 2.5 → 3, 0.125 → 0.13. For negative numbers the calculator rounds halves away from zero (−2.5 → −3), which is how most people and most tools apply "half up". This is the rule used in most everyday maths, receipts and reports.
Half to even (banker's rounding). Exact halves go to the neighbour that's even: 2.5 → 2, 3.5 → 4, 0.125 → 0.12, 0.135 → 0.14. Over many numbers, half the halves go up and half go down, so the total isn't pushed upward. It's the default in IEEE 754 arithmetic, Python's round() function, .NET's Math.Round, and many accounting and statistical systems.
Half down. Exact halves go towards zero: 2.5 → 2, but 2.51 → 3. It's rarely used, but some contracts and systems specify it.
Always up (ceiling). Any remainder at all rounds up to the next step: 4.01 → 5. Use this when you can't have less than the true amount: boxes needed to pack items, buses for a group, paint tins for a wall, or minimum billing increments.
Always down (floor). Any remainder is dropped downward: 4.99 → 4. Use it for things you have to complete in full, such as the number of whole items you can afford. For negative numbers, floor goes further from zero (−4.2 → −5).
Truncate. Simply chop off the extra digits, which always moves towards zero: 4.99 → 4, −4.99 → −4. Many programming languages convert decimals to integers this way.
Away from zero. Any remainder rounds outward: 4.01 → 5 and −4.01 → −5. It's the mirror image of truncation.
Rounding negative numbers
Negative numbers are where rounding rules cause the most confusion. Here is −2.5 rounded to a whole number under each rule:
| Rule | −2.5 becomes |
|---|---|
| Half up (away from zero at halves) | −3 |
| Half to even | −2 |
| Half down (towards zero at halves) | −2 |
| Always up (ceiling) | −2 |
| Always down (floor) | −3 |
| Truncate | −2 |
| Away from zero | −3 |
If you're matching a spreadsheet or programming language, check which convention it uses. Excel's ROUND function rounds halves away from zero, ROUNDUP and ROUNDDOWN go away from and towards zero, and CEILING and FLOOR go to multiples. The rounding calculator lets you try each rule on the same number and see the difference straight away.
Rounding versus significant figures
Rounding to decimal places and rounding to significant figures are different. Decimal places count digits after the point; significant figures count digits from the first non-zero digit. 0.004567 to two decimal places is 0.00, which loses everything, but to two significant figures it's 0.0046. For very large or very small numbers, the scientific notation converter shows numbers in significant-figure form.
When rounding errors add up
Rounding each item in a list and then adding them can give a different total from adding first and rounding once. Three items of 0.333 each round to 0.33, totalling 0.99, while the true total of 0.999 rounds to 1.00. Invoices, tax calculations and percentage tables often hit this problem; the usual fix is to keep full precision until the end and round only the final figure, or to use banker's rounding so errors cancel out. The percentage calculator and average calculator show unrounded values for the same reason.
Common uses for a rounding calculator
- Money: rounding prices, tax and currency conversions to two decimal places, or cash totals to the nearest 0.05.
- Timesheets: rounding hours to the nearest quarter or half hour before payroll.
- School and exams: rounding answers to a given number of decimal places, and checking homework.
- Measurements: rounding a length to the nearest millimetre, quarter inch or half centimetre. To turn a decimal into a tape-measure fraction, use the decimal to fraction converter.
- Statistics and reports: rounding percentages and averages for tables without bias, using banker's rounding.
- Programming: checking what a rounding function should return before writing tests.
A worked example
A bookkeeper is checking a spreadsheet where a 2.675 unit price is showing as 2.67 after rounding to two places, though the company policy is "round half up". She enters 2.675 into the rounding calculator, chooses 2 decimal places and half up. The answer is 2.68, a change of +0.005. The spreadsheet was rounding the binary approximation of 2.675, which is just under the true value.
Next she checks the finance team's rule for interest, which uses banker's rounding. Switching to half to even, 2.5 rounds to 2 and 3.5 to 4, confirming that halves go to the even neighbour.
Finally, the café on the same books rounds cash sales to the nearest 0.05. With "Other step…" set to 0.05, a 47.30 total stays 47.30, because it's already a multiple of 0.05, and the calculator says the change is none.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Frequently asked questions
How do I round to 2 decimal places?
Look at the third decimal digit. If it's 5 or more, add one to the second digit; otherwise leave it. 3.456 becomes 3.46 and 3.454 becomes 3.45. The rounding calculator does this exactly, even for numbers like 1.005.
What is banker's rounding?
Rounding exact halves to the nearest even number, so 2.5 becomes 2 and 3.5 becomes 4. It avoids pushing totals upward and is used in finance, statistics and many programming languages.
Why does 2.675 round to 2.67 in some software?
The computer stores 2.675 as a binary number slightly below 2.675, so it rounds down. This rounding calculator works on the exact decimal you type, so it gives 2.68.
How do I round to the nearest 5 or 10?
Choose "Nearest 5" or "Nearest 10" in the rounding calculator. It divides by the step, rounds, and multiplies back: 47 to the nearest 5 is 45, and 1,234 to the nearest 10 is 1,230.
What's the difference between rounding down and truncating?
They're the same for positive numbers. For negative numbers, rounding down (floor) goes further from zero (−4.2 → −5), while truncating moves towards zero (−4.2 → −4).
Is the rounding calculator free?
Yes. It's free, needs no sign-up, and works entirely in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.