Long Division Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter a dividend and a divisor (whole numbers) to get the quotient, the remainder and the decimal answer.
Result
Quotient (whole part)
Remainder
- Decimal answer
- Check: quotient × divisor + remainder
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Dividend (the number being divided): enter a number.
- Divisor (the number you divide by, not 0): enter a number.
- Read the result: Quotient (whole part); the panel also shows Remainder, Decimal answer and Check: quotient × divisor + remainder.
How this calculator works
Long division finds the whole number q and the remainder r with dividend = q × divisor + r, where 0 ≤ r < divisor for positive numbers (the division algorithm).
The quotient is the whole part of dividend ÷ divisor, rounded toward zero; the remainder is what is left: r = dividend − q × divisor.
The decimal answer continues the division past the decimal point: 1234 ÷ 7 = 176.2857…
The formula
| Symbol | Meaning |
|---|---|
| Dividend (the number being divided) | |
| Divisor (the number you divide by, not 0) | |
| Quotient (whole part) | |
floor(x) | the largest whole number not above x. |
ceil(x) | the smallest whole number not below x. |
Worked example
| Dividend (the number being divided) | 1,234 |
|---|---|
| Divisor (the number you divide by, not 0) | 7 |
| Remainder | 2 |
|---|---|
| Decimal answer | 176.2857 |
| Check: quotient × divisor + remainder | 1,234 |
Quotient (whole part) 176
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How do you write a remainder?
As 176 R 2, or as a mixed number: 1234 ÷ 7 = 176 2/7, since the remainder 2 is still to be divided by 7.
How do you check a long division?
Multiply the quotient by the divisor and add the remainder; you should get the dividend back: 176 × 7 + 2 = 1234.
Can the remainder be larger than the divisor?
No. If it were, the divisor would fit at least once more, so the quotient would be too small.