Home › Calculators › Rounding Calculator

Rounding Calculator

Round any number to a number of decimal places, significant figures or the nearest 10, 100, 0.5 or any increment. Choose the rounding rule, including banker's rounding, ceiling, floor and truncation, and compare every method side by side.

Last updated:

Any number, e.g. 1234.5678, -2.5 or 6.02e23. Exact decimal math, no floating-point errors.

Round to

0 = whole number; −1 = tens, −2 = hundreds

Enter your values to see the result.
Advertisement
Advertisement

How to use the Rounding Calculator

  1. Enter the number you want to round.
  2. Choose what to round to: decimal places, significant figures or the nearest increment.
  3. Set the precision, for example 2 decimal places or the nearest 100.
  4. Pick a rounding rule. The standard school rule is round half away from zero.
  5. Press Round to see the result, the working and a table comparing every method.

Rounding rules compared

Rule2.53.5−2.52.42.6−2.6
Half away from zero (standard)34−323−3
Half up (toward +∞)34−223−3
Half down (toward −∞)23−323−3
Half to even (banker's)24−223−3
Half toward zero23−223−3
Ceiling (round up)34−233−2
Floor (round down)23−322−3
Truncate (toward zero)23−222−2
Away from zero34−333−3

How rounding works

Every kind of rounding replaces a number with a multiple of some increment: 0.01 for two decimal places, 100 for the nearest hundred, 0.05 for the nearest five cents. The number lies between two neighboring multiples, and the rule picks one. The "half" rules choose the closer neighbor and only differ when the number is exactly in the middle. Ceiling, floor, truncate and away-from-zero ignore distance and always move in one direction.

Significant figures set the increment from the size of the number: for 0.004567 the first significant digit is in the thousandths place, so 2 significant figures means rounding to the nearest 0.0001, giving 0.0046.

NumberNearest whole1 decimal2 decimalsNearest 103 sig. figs
3.1415933.13.1403.14
2.67532.72.6802.68
48.9514949.048.955049.0
1,234.56781,2351,234.61,234.571,2301,230
−7.45−7−7.5−7.45−10−7.45

Values in this table use the standard rule, round half away from zero.

Frequently asked questions

How do you round to 2 decimal places?

Look at the third decimal digit. If it is 5 or more, add 1 to the second decimal digit; if it is 4 or less, leave it. Then drop the rest. 3.14159 becomes 3.14 and 2.675 becomes 2.68.

What is banker's rounding?

Round half to even: when a number is exactly halfway, it goes to the neighbor whose last digit is even, so 2.5 → 2, 3.5 → 4 and 0.125 → 0.12. It avoids the upward bias of always rounding halves up and is used in finance and by IEEE 754 floating point.

What is the difference between round half up and round half away from zero?

They only differ for negative halves. Half up always moves ties toward positive infinity (−2.5 → −2), while half away from zero moves them away from zero (−2.5 → −3). Most people mean half away from zero when they say "round half up".

How do you round to significant figures?

Start counting at the first non-zero digit, keep that many digits, and round the next one. 0.004567 to 2 significant figures is 0.0046 and 18,470 to 2 significant figures is 18,000.

How do you round to the nearest 10 or 100?

Find the two multiples the number lies between and pick the closer one. 1,847 to the nearest 100 lies between 1,800 and 1,900 and is closer to 1,800. A number exactly halfway, like 1,850, follows your tie rule.

What is the difference between rounding down and truncating?

Rounding down (floor) always goes toward negative infinity, while truncating just chops off digits, which goes toward zero. They agree for positive numbers but differ for negatives: floor(−2.3) = −3, truncate(−2.3) = −2.

Why do some calculators round 1.005 to 1.00?

In binary floating point 1.005 is stored as 1.00499999…, so naive code rounds it down. This calculator does exact decimal arithmetic on the digits you type, so 1.005 rounds to 1.01 with the standard rule.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Significant Figures CalculatorCount sig figs, round to any number of significant figures and do arithmetic with sig fig rules.Scientific Notation ConverterConvert numbers to and from scientific, engineering and E-notation, with exact digits and SI prefixes.Long Division CalculatorDivide with quotient, remainder, decimals and a step-by-step long division layout.Percentage CalculatorWork out percentages, increases and decreases.Decimal to Percent ConverterTurn decimals into percentages with the rounding you choose; convert a list at once.IEEE 754 Floating Point ConverterConvert decimals to 32/64-bit IEEE 754 floats: toggle bits, see hex, exact value and rounding error.Time Clock Rounding CalculatorRound punch times to 5, 6 or 15 minutes (7-minute rule) and see rounded payable hours.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Percentage Difference CalculatorFind the percent difference between two values, with the formula.Ratio CalculatorSimplify, solve and scale ratios with step-by-step working.Proportion CalculatorSolve A/B = C/D for x with cross multiplication steps.Scientific CalculatorTrig, logs, powers and more in your browser.Fraction CalculatorAdd, subtract, multiply and divide fractions with steps.Multiplication Table GeneratorPrintable multiplication charts up to 30 × 30, single tables and practice sheets.Times Tables PracticeTimed times tables drills with a number pad, streaks and an accuracy heatmap.Fraction VisualizerInteractive fraction circles and bars: equivalents, comparing, adding and simplifying.Number Line GeneratorDraw number lines with any range, fractions or decimals, points, jumps and inequalities.Caffeine CalculatorAdd up daily caffeine, compare it with 400 mg and see how much is left at bedtime.Percent Error CalculatorPercent error between experimental and theoretical values, for one result or several trials.Cube Root CalculatorFind cube roots and nth roots, check perfect cubes and simplify radicals.2-Stroke Oil Mix CalculatorHow much 2-stroke oil to add to gas for 50:1, 40:1, 32:1 and more, in fl oz or ml.Math Worksheet GeneratorCreate printable addition, subtraction, multiplication and division worksheets with answer keys.Simplify Fractions CalculatorReduce any fraction to lowest terms with GCD steps, mixed number, decimal and equivalents.Complex Number CalculatorAdd, subtract, multiply, divide complex numbers; polar form, modulus, argument, powers and roots.Big Number CalculatorExact + − × ÷ mod and powers for huge integers with hundreds of digits, plus digit count.Three-Phase Power CalculatorkW, kVA and kVAR from volts, amps and power factor, or three-phase current from kW or kVA.Compression Ratio CalculatorStatic engine compression ratio from bore, stroke, chamber, gasket, deck and piston volume.Expanded Form CalculatorWrite any number or decimal in expanded form, word form and a place value chart.Mixed Number CalculatorAdd, subtract, multiply and divide mixed numbers, or convert improper fractions, with steps.Nth Root CalculatorAny root of any number: real nth root, simplified radical and all complex roots.Long Multiplication CalculatorMultiply whole numbers or decimals with the column method shown digit by digit.Matrix Multiplication CalculatorMultiply matrices up to 8×8 with every dot product shown, exact fractions and a size check.Order of Operations Calculator (PEMDAS)Solve arithmetic expressions step by step with PEMDAS/BODMAS, brackets, powers and fractions.Virtual Base Ten BlocksDrag ones, rods, flats and cubes onto a place value mat to model regrouping, addition and subtraction.Compare Fractions CalculatorCompare two or more fractions with <, > or = and put them in order, with steps.Equivalent Fractions CalculatorList equivalent fractions, check if two are equal, or find a missing number, with bars.Map Scale CalculatorConvert map distance to real distance and back for scales like 1:24,000 or 1 in = 1 mi.Math Formulas Cheat SheetSearchable algebra, geometry, trig, calculus and statistics formulas with a printable sheet.Paper Tape CalculatorAdding machine calculator with a running paper tape: edit entries, subtotals, notes, print or export.Pi Digits CalculatorCalculate π to up to 100,000 digits, find any number or your birthday in pi, and download it.PSAT Score CalculatorEstimate your PSAT/NMSQT section scores, total score and National Merit Selection Index.Rational Expressions CalculatorSimplify, add, subtract, multiply and divide rational expressions with excluded values.Rationalize the Denominator CalculatorRemove square roots and cube roots from a denominator, with conjugates and full steps.Reverse Percentage CalculatorFind the original value before a percentage increase or decrease, or the whole from a part.Riemann Sum CalculatorLeft, right, midpoint and trapezoid sums of f(x) on [a, b] with a table and rectangle graph.Sum CalculatorPaste any list or column of numbers to get the total, count, average, min and max instantly.Unit Rate CalculatorFind the unit rate (per 1) from two quantities, compare rates and see the steps.Number Properties CalculatorIs it prime, perfect, square, triangular or Fibonacci? See every property of a number.
See all 46 Arithmetic & Number Calculators →