Skip to content
Jellykit

Rounding Calculator

Round a number to decimal places, significant figures or the nearest multiple, using ten rules from half up to banker’s rounding.

  • Runs on your device
Loading tool

About Rounding Calculator

Type a number and choose what to round it to: a number of decimal places, a number of significant figures, or the nearest multiple of a step such as 0.05, 5 or a quarter. Pick the rule for the halfway case and the result appears at once, with how far it moved from the original.

A table shows the same number under every rule side by side, so you can see where half up, half to even, floor, ceiling and truncation agree and where they part. The arithmetic is exact: 2.675 is treated as the 2.675 you typed, not the slightly smaller value a computer would store.

How it works

  1. The number is read exactly as a fraction of whole numbers, so decimals such as 2.675 and 1.005 keep their written value and ties are recognised as ties.
  2. It is divided by the step (0.01 for two places, the multiple, or a power of ten for significant figures), rounded to a whole number by the chosen rule, and multiplied back.
  3. Half rules only differ when the number is exactly halfway: half up goes away from zero, half down toward zero, half to even picks the even neighbour, and the two directional rules always go up or down.
  4. Floor, ceiling, up and down ignore halves altogether and move every number that is not already a multiple.

Questions

Why does 2.675 round to 2.68 here when a spreadsheet may give 2.67?

Most software stores 2.675 as a binary number just below it, 2.67499999…, and rounds that. This calculator works on the decimal you typed, so the halfway case is treated as a tie and the rule you chose decides it.

What is banker’s rounding?

Half to even: a value exactly halfway goes to the neighbour whose last digit is even, so 2.5 becomes 2 and 3.5 becomes 4. Over many values it does not push totals upward the way half up does, which is why accounting and statistics software use it.

How do negative numbers round?

Half up and up go away from zero, so −2.5 becomes −3. Ceiling and half toward positive infinity go toward the larger number, so −2.5 becomes −2. The table shows every rule, which makes the difference easy to check.

What can I type?

Decimals, numbers with an exponent such as 1.5e3, fractions such as 2/3 and mixed numbers such as 1 1/2, up to 200 characters. Places run from −20 to 20 and significant figures from 1 to 30.

Is what I enter sent anywhere?

No. Everything is worked out in this page. The values are kept in the page address so that a copied link shows the same result.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.