Long Division Calculator

Divide any two whole numbers and see each long division step: divide, multiply, subtract and bring down, with the remainder, decimal, repeating digits and a check.

Long division calculator
Answer

    Long division steps

    StepCurrent numberDivide by divisorMultiply backSubtract (remainder)

    Enter whole numbers; the dividend can have up to 30 digits and the divisor up to 15. In decimal mode the calculator continues after the decimal point and marks any repeating block with brackets, such as 0.(142857).

    On this page

    A long division calculator divides one whole number by another and shows every step of the long division method: divide, multiply, subtract and bring down. You can get the answer as a quotient with a remainder, or as a decimal, in which case any repeating digits are found and shown in brackets. It also gives the answer as a mixed number and a simplified fraction, with a check.

    For example, 1,537 ÷ 7 = 219 remainder 4, which is 219 4/7 or 219.(571428) as a repeating decimal. 1 ÷ 8 = 0.125 exactly, and 1 ÷ 6 = 0.1(6), which is 0.1666… forever.

    How to use the long division calculator

    1. Enter the dividend, the number being divided.
    2. Enter the divisor, the number you’re dividing by.
    3. Choose whether you want a quotient and remainder or a decimal answer.
    4. Press Divide and follow the table of steps.

    Parts of a division

    In 1,537 ÷ 7 = 219 remainder 4, the dividend is 1,537, the divisor is 7, the quotient is 219 and the remainder is 4. They’re always linked by: dividend = quotient × divisor + remainder. Here, 219 × 7 + 4 = 1,537, which is the check the calculator shows. The remainder is always smaller than the divisor.

    The long division method

    Long division breaks a hard division into a series of easy ones, working through the dividend one digit at a time from the left. Repeat these four steps:

    1. Divide: how many times does the divisor go into the current number? Write that digit in the answer.
    2. Multiply: multiply the divisor by that digit.
    3. Subtract: take the product away from the current number to get the remainder.
    4. Bring down: bring down the next digit of the dividend next to the remainder to make the new current number.

    A popular way to remember the order is “Does McDonald’s Sell Burgers?” for Divide, Multiply, Subtract, Bring down.

    Worked example: 1,537 ÷ 7

    1. 7 doesn’t go into 1, so write 0 (or leave it blank) and carry on with 15.
    2. 7 goes into 15 twice: 2 × 7 = 14, and 15 − 14 = 1. Bring down the 3 to make 13.
    3. 7 goes into 13 once: 1 × 7 = 7, and 13 − 7 = 6. Bring down the 7 to make 67.
    4. 7 goes into 67 nine times: 9 × 7 = 63, and 67 − 63 = 4. There are no more digits.

    The answer is 219 remainder 4. Check: 219 × 7 = 1,533, and 1,533 + 4 = 1,537.

    Worked example with a two-digit divisor: 9,876 ÷ 24

    With a two-digit divisor, it helps to estimate each step by rounding. 24 doesn’t go into 9, so start with 98. Since 24 is close to 25, and 25 goes into 98 about 3 times, try 4: 4 × 24 = 96, and 98 − 96 = 2. Bring down the 7 to make 27; 24 goes in once, leaving 3. Bring down the 6 to make 36; 24 goes in once, leaving 12. The answer is 411 remainder 12. Check: 411 × 24 = 9,864, and 9,864 + 12 = 9,876. As a decimal, the remainder 12 is half of 24, so the answer is exactly 411.5.

    Short division

    For single-digit divisors, many people use short division, a compact version of the same method. Instead of writing out the multiply and subtract steps, you do them in your head and write each remainder as a small digit in front of the next digit of the dividend. For 1,537 ÷ 7, you’d write 7 into 15 is 2 remainder 1, carry the 1 to make 13, 7 into 13 is 1 remainder 6, carry the 6 to make 67, and 7 into 67 is 9 remainder 4. The answer, 219 remainder 4, is the same; long division simply shows more of the working, which makes it easier to check and better for larger divisors.

    Dividing decimals

    To divide by a decimal, first make the divisor a whole number by multiplying both numbers by the same power of 10. For 15.37 ÷ 0.7, multiply both by 10 to get 153.7 ÷ 7, or by 100 to get 1,537 ÷ 70. The answer doesn’t change, because you’ve scaled both numbers equally. This calculator works with whole numbers, so scaling up like this lets you use it for decimal divisions too.

    Why long division works

    Long division splits the dividend by place value. Dividing 1,537 by 7 is the same as sharing 15 hundreds, then the leftover hundred together with 3 tens, then the leftover tens with 7 ones. Each step deals with one place value, and the remainder is passed down to the next, smaller place, just as you’d exchange a leftover hundred for ten tens. That’s why each digit of the answer lines up with a digit of the dividend.

    Continuing into decimals

    To keep dividing past the decimal point, put a decimal point in the answer and bring down zeros. For 1,537 ÷ 7, the remainder 4 becomes 40: 7 goes in 5 times, leaving 5. Then 50 gives 7, leaving 1; 10 gives 1, leaving 3; 30 gives 4, leaving 2; 20 gives 2, leaving 6; 60 gives 8, leaving 4. The remainder 4 has appeared before, so the digits 571428 will repeat forever: 1,537 ÷ 7 = 219.571428571428…, written 219.(571428) or with a bar over the repeating digits.

    A division gives a terminating decimal only when the divisor, after simplifying the fraction, has no prime factors other than 2 and 5. So 1/8 = 0.125 ends, but 1/6 and 1/7 repeat. For a divisor d, the repeating block can never be longer than d − 1 digits, which is why 1/7 has a 6-digit block.

    Remainders, fractions and decimals

    The same division can be written three ways. 1,537 ÷ 7 is 219 remainder 4, the mixed number 219 4/7 and the repeating decimal 219.(571428). Which one to use depends on the question. If you’re sharing 1,537 sweets between 7 children, each gets 219 with 4 left over. If you’re measuring, a decimal such as 219.57 is more useful. In algebra and exact work, the fraction 4/7 keeps full precision.

    Real-life remainder problems

    Sometimes the remainder tells you to round up. If 130 people need minibuses that hold 12, then 130 ÷ 12 = 10 remainder 10, so you need 11 minibuses. Other times you round down: 130 ÷ 12 tells you that only 10 full boxes of 12 eggs can be packed from 130 eggs, with 10 eggs left over.

    Common mistakes

    • Forgetting to write a 0 in the answer when the divisor doesn’t go into the current number, which shifts the remaining digits into the wrong places.
    • Bringing down two digits at once.
    • Ending up with a remainder bigger than the divisor, which means the digit in the quotient should have been larger.
    • Misplacing the decimal point when continuing into decimals. Put it in the answer directly above the dividend’s decimal point.

    Tips

    • Write the multiples of the divisor down the side before you start; it makes each step quicker.
    • Estimate first: 1,537 ÷ 7 is about 1,400 ÷ 7 = 200, so an answer near 200 makes sense.
    • Always check with quotient × divisor + remainder = dividend.

    Related calculations

    Two other tools work well alongside this one: the rounding calculator, to round numbers to decimal places or significant figures, and the ratio calculator, to solve proportions and simplify ratios.

    Frequently asked questions

    Repeat four steps: divide, multiply, subtract and bring down the next digit, working from left to right until no digits remain.

    219 remainder 4, or 219.571428… as a decimal, with 571428 repeating.

    Multiply the quotient by the divisor and add the remainder. You should get the dividend: 219 × 7 + 4 = 1,537.

    R stands for remainder, the amount left over that can't be divided evenly. 17 ÷ 5 = 3 R 2.

    Keep dividing: add a decimal point to the answer, bring down zeros and continue the same steps.

    A decimal in which a block of digits repeats forever, such as 1 ÷ 3 = 0.333… or 1 ÷ 7 = 0.142857142857…. The calculator puts the repeating block in brackets.

    Those where the simplified divisor has only 2 and 5 as prime factors, such as 2, 4, 5, 8, 10, 16, 20 and 25.

    No. If it is, the quotient digit was too small; try one higher.

    The dividend can have up to 30 digits and the divisor up to 15 digits, all calculated exactly.

    Write the remainder over the divisor. 219 remainder 4 when dividing by 7 is 219 4/7.

    Both use the same steps. Long division writes out every multiplication and subtraction, while short division does them mentally and carries remainders as small digits.

    Multiply both numbers by 10, 100 or 1,000 until the divisor is a whole number, then divide as usual. 15.37 ÷ 0.7 becomes 153.7 ÷ 7.

    Division by zero is undefined, so the calculator shows a clear error message instead of an answer.