Rounding Calculator

Updated July 2026

Round any number to a set number of decimal places, to the nearest whole, ten, hundred, thousand, tenth or hundredth, or to a custom multiple such as 5 or 0.25 — using round half up, round half down, banker's rounding, ceiling, floor or truncate. Every rounding mode is shown side by side. Everything runs privately in your browser.

Rounding replaces a number with a nearby simpler value. With round half up (the everyday rule) a value that lands exactly halfway rounds away from zero, so 2.5 becomes 3. With banker's rounding (round half to even) a halfway value rounds to the nearest even digit, so 2.5 becomes 2 and 3.5 becomes 4.
Enter any number, including negatives and large values.
0 to 10 places.
Rounded result
Original number
Rounding to
Mode used

All modes at this precision

ModeResult
Round half up
Round half down
Round half to even (banker's)
Ceiling
Floor
Truncate

How this rounding calculator works

Rounding replaces a number with a nearby value that is simpler to read or store, keeping only as much detail as you need. You first choose what to round to — a fixed number of decimal places, a nearest unit such as ten or one hundred, or a custom multiple like 5 or 0.25 — and then a rounding mode that decides what happens when the value sits exactly halfway between two options.

The everyday rule is round half up: look at the first digit you are about to drop, and if it is 5 or more you round the kept part up, otherwise you leave it. Banker's rounding (round half to even) instead sends exact halves to the nearest even digit, which keeps large batches of numbers from drifting upward. Ceiling and floor always go up or down regardless of the digit, while truncate simply chops off the extra digits toward zero.

Worked example: rounding 3.14159 to 2 decimal places gives 3.14, because the next digit is 1 (below 5). The halfway case shows the difference between modes: 2.5 rounded to a whole number is 3 with round half up, but 2 with banker's rounding, since 2 is the nearer even number.

Reference note: this tool parses input as a JavaScript number, so values carry roughly 15–17 significant digits of precision. Some decimals (such as 2.675) cannot be stored exactly in binary, which can occasionally tip a borderline halfway case; for exact arbitrary-precision rounding use a dedicated decimal library.

Frequently asked questions

How do I round a number?
Decide what you are rounding to — a number of decimal places or a nearest unit such as 10 or 0.25 — then look at the first digit being dropped. With round half up, if that digit is 5 or more you round up, otherwise you round down. For example 3.14159 rounded to 2 decimal places is 3.14 because the next digit is 1.
What is rounding half up?
Round half up is the rule most people learn in school: when the part being dropped is exactly one half, you round away from zero to the larger magnitude. So 2.5 becomes 3 and 0.45 to one decimal place becomes 0.5. It is the default mode in this calculator.
What is banker's rounding?
Banker's rounding, also called round half to even, rounds a value that is exactly halfway to the nearest even digit instead of always rounding up. So 2.5 becomes 2 and 3.5 becomes 4. Spreading halves between up and down reduces cumulative bias, which is why it is used in finance and statistics.
How do I round to the nearest 10?
Divide the number by 10, round that result to a whole number, then multiply back by 10. For example 47 divided by 10 is 4.7, which rounds to 5, and 5 times 10 is 50. In this tool you can pick nearest ten directly, or enter 10 as a custom nearest multiple.
What is the difference between round, floor and ceiling?
Rounding moves a number to the closest target value, up or down depending on the dropped part. Floor always rounds down toward negative infinity, so 2.9 becomes 2. Ceiling always rounds up toward positive infinity, so 2.1 becomes 3. Truncate simply discards the extra digits toward zero, so -2.9 becomes -2.
How do I round to 2 decimal places?
Keep the first two digits after the decimal point and look at the third digit to decide the last kept digit. With round half up, 3.14159 becomes 3.14 because the third digit is 1, while 2.675 becomes 2.68. Set decimal places to 2 in this calculator to do it automatically.
⚡ Rounding Calculator — by larely ↗

Related tools

Arithmetic Sequence Calculator

Find the nth term and sum of an arithmetic sequence from a1 and the common difference.

Geometric Sequence Calculator

Find the nth term, sum and infinite sum of a geometric sequence.

Pythagorean Theorem Calculator

Solve a² + b² = c² for any missing side of a right triangle, plus angles and area.

Distance Formula Calculator

Find the distance between two points, plus the midpoint and slope.

Final Grade Calculator

Find the grade you need on the final, plus weighted-grade and GPA calculators.

Percentage Calculator

Percent of a number, percent change, and percentage increase or decrease.

Statistics Calculator

Mean, median, mode, range and standard deviation from a list of numbers.

Fraction Calculator

Add, subtract, multiply and divide fractions, with simplification.

Quadratic Equation Solver

Solve ax²+bx+c=0 with roots, discriminant, vertex and steps.

Area Calculator

Calculate the area of rectangles, circles, triangles and more.

Right Triangle Calculator

Pythagorean theorem solver: find sides, angles, area and perimeter.

Ratio Calculator

Solve proportions, simplify ratios and scale them up or down.

Browse all 251 free tools →