Long Division Calculator
Divide any two numbers step by step as on paper, to a remainder or a decimal, with repeating decimals marked and a printable layout.
Whole numbers or decimals of up to 40 digits, negatives too.
176 R 2
- Fraction
- 176 2/7
- Decimal
- 176.(285714)
- Check
- 176 × 7 + 2 = 1,234
Working
Type a dividend and a divisor and the division is written out the way it is done by hand: the quotient above the bracket, each subtraction below, and every digit brought down. It opens on 1,234 ÷ 7, which gives 176 R 2, and every step is explained in words underneath.
Answers come as a quotient and remainder or as a decimal, with a repeating decimal marked by a bar over the digits that repeat. Short division (the bus stop method) and partial quotients are one click away, a step-through shows one cycle at a time, and the layout prints on its own.
How to use it
Dividend and Divisor take whole numbers or decimals of up to 40 digits, negatives included. A divisor of 0 is refused: “Division by 0 has no answer”.
Answer is Remainder or Decimal. It starts on Remainder when both numbers are whole and on Decimal when either has decimals, until you choose. For decimals, Stop chooses When it repeats, which carries on until the remainder is 0 or comes back (shown in full up to 60 decimal places), or Places, from 1 to 10.
Method switches between Long division, Short division and Partial quotients. Partial quotients always give a whole quotient and a remainder. Step through shows the layout one cycle at a time, with that cycle highlighted and explained, and Print layout prints the answer and the layout alone.
How long division works
Each cycle has four moves: divide (how many times does the divisor go into the number so far?), multiply that digit by the divisor, subtract, and bring down the next digit. The first cycle takes as many leading digits as the divisor needs, so the quotient never starts with a 0, except the 0 of a quotient below 1. With a divisor of two digits or more, the tool estimates each digit by rounding the divisor to one significant figure, then checks it: the digit times the divisor fits, and one more does not.
A decimal divisor is made whole first by moving both decimal points the same number of places right, which leaves the answer unchanged. A remainder is then a remainder of the moved numbers, so its point moves back: 1.7 ÷ 0.3 is 5 R 0.2, checked by 5 × 0.3 + 0.2 = 1.7.
To go past the point, zeros are added after the dividend and brought down like any other digit. Only as many remainders as the divisor allows (0 up to one less than it) can come up, so once the dividend's own digits are used up, either a remainder of 0 ends the division or a remainder comes back, and from there the digits repeat. That is why 1 ÷ 7 is 0.(142857): repeats every 6 digits.
Short division does the same in one line, writing each remainder small in front of the next digit instead of subtracting below. Partial quotients take away easy lots of the divisor (hundreds, tens, ones) and add the lots up at the end, as NCERT's Class 4 Maths Mela teaches it in chapter 9, “Equal Groups”, and chapter 13, “The Transport Museum”. Each lot is written beside its subtraction.
Dividend = Quotient × Divisor + Remainder, with 0 ≤ Remainder < |Divisor|
a ÷ b = (a × 10ᵏ) ÷ (b × 10ᵏ)
Examples
1,234 ÷ 7
With the default options, the answer is 176 R 2, checked by 176 × 7 + 2 = 1,234. As a decimal it is 176.(285714): the brackets hold the digits that repeat.
- 7 goes into 12 once 1 × 7 = 7; 12 − 7 = 5; bring down the 3 to make 53
- 7 goes into 53 7 times 7 × 7 = 49; 53 − 49 = 4; bring down the 4 to make 44
- 7 goes into 44 6 times. No digits are left to bring down: 2 is the remainder 6 × 7 = 42; 44 − 42 = 2
4.5 ÷ 0.9
Both points move one place, to 45 ÷ 9, so the answer is 5.
- Move both decimal points 1 place right, so the divisor is a whole number 4.5 ÷ 0.9 = 45 ÷ 9
- 9 goes into 45 5 times. Nothing is left over, so the division ends 5 × 9 = 45; 45 − 45 = 0
1 ÷ 7 to a repeat
With Decimal and When it repeats, the division stops when the remainder 1 comes back: 0.(142857). Repeats every 6 digits.
- 7 is more than 1, so it goes 0 times write 0 in the quotient; bring down an added 0 to make 10
- 7 goes into 10 once 1 × 7 = 7; 10 − 7 = 3; bring down an added 0 to make 30
- 7 goes into 30 4 times 4 × 7 = 28; 30 − 28 = 2; bring down an added 0 to make 20
- 7 goes into 20 twice 2 × 7 = 14; 20 − 14 = 6; bring down an added 0 to make 60
- 7 goes into 60 8 times 8 × 7 = 56; 60 − 56 = 4; bring down an added 0 to make 40
- 7 goes into 40 5 times 5 × 7 = 35; 40 − 35 = 5; bring down an added 0 to make 50
- 7 goes into 50 7 times. The remainder 1 has come before, so the digits 142857 repeat from here 7 × 7 = 49; 50 − 49 = 1
96 ÷ 4 by short division
With Short chosen, each remainder is carried in front of the next digit instead of being subtracted below. The answer is 24.
- 4 goes into 9 twice, with 1 over 9 = 2 × 4 + 1; write 2; carry 1 to the 6, making 16
- 4 goes into 16 4 times, with nothing over. Nothing is left over, so the division ends 16 = 4 × 4 + 0; write 4
Unit fractions as decimals
| Division | Decimal | Repeats |
|---|---|---|
| 1 ÷ 2 | 0.5 | Ends |
| 1 ÷ 3 | 0.(3) | digit |
| 1 ÷ 4 | 0.25 | Ends |
| 1 ÷ 5 | 0.2 | Ends |
| 1 ÷ 6 | 0.1(6) | digit |
| 1 ÷ 7 | 0.(142857) | 6 digits |
| 1 ÷ 8 | 0.125 | Ends |
| 1 ÷ 9 | 0.(1) | digit |
| 1 ÷ 10 | 0.1 | Ends |
| 1 ÷ 11 | 0.(09) | 2 digits |
| 1 ÷ 12 | 0.08(3) | digit |
| 1 ÷ 13 | 0.(076923) | 6 digits |
| 1 ÷ 14 | 0.0(714285) | 6 digits |
| 1 ÷ 15 | 0.0(6) | digit |
| 1 ÷ 16 | 0.0625 | Ends |
| 1 ÷ 17 | 0.(0588235294117647) | 16 digits |
| 1 ÷ 18 | 0.0(5) | digit |
| 1 ÷ 19 | 0.(052631578947368421) | 18 digits |
| 1 ÷ 20 | 0.05 | Ends |
Frequently asked questions
See also
- Fraction Calculator — to add, subtract, multiply and divide fractions with the steps.
- Decimal to Fraction Converter — to turn a repeating decimal back into a fraction.
- Multiplication Table — for the times tables long division leans on.
- Square Root & Cube Root Calculator — for square roots by the long division method.