What is the division result?
Free online division calculator. Fast, accurate, and easy to use math tool.
- Quotient
- 6.25
25 ÷ 4 = 6.25, or 6 remainder 1.
- Whole-number quotient
- 6
- Remainder
- 1
Quotient: 6.25. 25 ÷ 4 = 6.25, or 6 remainder 1.
How to calculate
Divides two numbers and shows the decimal quotient, the whole-number quotient, and the remainder.
Example with the default inputs (Dividend 25, Divisor 4, Remainder sign Floored): 25 ÷ 4 = 6.25, or 6 remainder 1.
Method: Quotient = dividend ÷ divisor; dividend = divisor × q + r, with q the quotient rounded down (floored) or toward 0 (truncated).
- The divisor cannot be 0.
- Floored (the default): the whole-number quotient is rounded down and the remainder has the sign of the divisor. Truncated: rounded toward 0, and the remainder has the sign of the dividend. Both agree when no number is negative.
- Decimals are taken exactly as typed: 2.4 ÷ 0.2 = 12 with remainder 0.
Worked examples
Each example is checked against the calculator on every build.
- Dividend 25, Divisor 4, Remainder sign Floored gives Quotient 6.25, Whole-number quotient 6, Remainder 1.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
- Dividend 100, Divisor 7, Remainder sign Floored gives Quotient 14.285714, Whole-number quotient 14, Remainder 2.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
- Dividend -17, Divisor 5, Remainder sign Floored gives Quotient -3.4, Whole-number quotient -4, Remainder 3.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
- Dividend -17, Divisor 5, Remainder sign Truncated gives Quotient -3.4, Whole-number quotient -3, Remainder -2.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
- Dividend 2.4, Divisor 0.2, Remainder sign Floored gives Quotient 12, Whole-number quotient 12, Remainder 0.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
- Dividend 7.5, Divisor 2.5, Remainder sign Floored gives Quotient 3, Whole-number quotient 3, Remainder 0.Source: Ted Sundstrom, Mathematical Reasoning: Writing and Proof, §3.5 The Division Algorithm and Congruence (for integers a and b with b > 0 there are unique q and r with a = bq + r and 0 ≤ r < b, −17 = 5(−4) + 3). https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Book:_Mathematical_Reasoning__Writing_and_Proof_(Sundstrom)/03:_Constructing_and_Writing_Proofs_in_Mathematics/3.05:_The_Division_Algorithm_and_Congruence
How it works
For a dividend a and a divisor b (not 0):
- Quotient: a ÷ b, as a decimal.
- Whole-number quotient: q = ⌊a ÷ b⌋, the quotient rounded down (floored). With the truncated option, q is the quotient rounded toward 0.
- Remainder: r = a − b × q, so that a = b × q + r.
With floored division the remainder has the sign of the divisor (or is 0) and is smaller than it in size: 0 ≤ r < b when b > 0. With truncated division the remainder has the sign of the dividend. When a and b are both positive the two agree, and this is ordinary long division with remainder.
Assumptions
- The divisor cannot be 0.
- Decimals are allowed, and the same rules apply: 7.5 ÷ 2.5 = 3 remainder 0, and 5.5 ÷ 2 = 2 remainder 1.5.
- Decimals are taken exactly as typed. Both numbers are multiplied by the same power of ten to make them whole, the whole-number division gives the quotient and the remainder, and the remainder is divided by that power of ten again. So 2.4 ÷ 0.2 is exactly 12 remainder 0. Whole numbers of any size up to about 1.8 × 10³⁰⁸ are exact; the remainder and the decimal quotient are then shown as 64-bit floats.
- The decimal quotient is shown to at most 6 decimal places.
Worked examples by hand
25 ÷ 4. 4 fits into 25 six times (4 × 6 = 24), leaving 25 − 24 = 1. As a decimal, 25 ÷ 4 = 6.25.
100 ÷ 7. 7 × 14 = 98, so the whole-number quotient is 14 and the remainder is 100 − 98 = 2. As a decimal, 100 ÷ 7 = 14.285714…
−17 ÷ 5, floored. −17 ÷ 5 = −3.4. Rounded down, q = −4. r = −17 − 5 × (−4) = −17 + 20 = 3.
−17 ÷ 5, truncated. Rounded toward 0, q = −3. r = −17 − 5 × (−3) = −17 + 15 = −2.
2.4 ÷ 0.2. Multiply both by 10: 24 ÷ 2 = 12 exactly, so the quotient is 12 with remainder 0. (In binary floating point 2.4 and 0.2 are not exact, and a float remainder comes out as 0.19999…; this calculator works on the decimals as typed.)
7.5 ÷ 2.5. 2.5 × 3 = 7.5 exactly, so the quotient is 3 with remainder 0.
Other questions people ask
What is a division calculator?
A division calculator is a tool that performs division operations between two numbers, showing both the quotient (the result of division) and the remainder (what's left over when division isn't exact). It's useful for understanding how division works and for solving mathematical problems.
What is the difference between quotient and remainder?
The quotient is the result of division (how many times the divisor fits into the dividend), while the remainder is what's left over when the division isn't exact. For example, in 17 ÷ 5, the quotient is 3.4, the whole-number quotient is 3 and the remainder is 2, because 5 × 3 + 2 = 17.
How do you calculate division with remainder?
To calculate division with remainder: 1) Divide the dividend by the divisor to get the quotient, 2) Multiply the divisor by the integer part of the quotient, 3) Subtract this from the dividend to get the remainder. The formula is: Dividend = (Divisor × Quotient) + Remainder.
What is exact division?
Exact division occurs when the remainder is zero, meaning the dividend is perfectly divisible by the divisor. For example, 20 ÷ 4 = 5 with no remainder, so this is exact division. When there's a remainder, it's called division with remainder.
Can you divide by zero?
No, division by zero is not allowed in mathematics. It's undefined because there's no number that can be multiplied by zero to get a non-zero result. Our calculator will show an error if you try to divide by zero.
How is this different from a modulo calculator?
A modulo calculator only shows the remainder, while our division calculator shows both the quotient and remainder. This gives you a complete picture of the division operation, making it easier to understand the relationship between the numbers.
What are some practical uses for division with remainder?
Division with remainder is used in many real-world applications: calculating time (hours and minutes), money (dollars and cents), measurements (feet and inches), programming (integer division), and solving word problems involving equal groups with leftovers.
How do I verify my division calculation?
You can verify your division by using the formula: Dividend = (Divisor × Quotient) + Remainder. For example, if 25 ÷ 4 = 6.25 with remainder 1, verify: 4 × 6 + 1 = 24 + 1 = 25. The calculator shows the whole-number quotient and the remainder, so you can check this.
What is the remainder when a number is negative?
There are two conventions. Floored division rounds the quotient down, so the remainder has the sign of the divisor: −17 ÷ 5 is −4 remainder 3, because 5 × (−4) + 3 = −17. Truncated division rounds toward 0, so the remainder has the sign of the dividend: −17 ÷ 5 is −3 remainder −2. This calculator uses floored division unless you pick truncated. Both give the same answer when no number is negative.