Skip to content
CalculatorFly

Long Division Calculator

Enter the number to divide and the number to divide by. The answer, the long division layout and the steps in words update as you type, on your device.

Numbers to divide

Answer
-

-Quotient
-Remainder
-Mixed number
-Exact decimal

Long division layout

Highlighted digits were brought down. The same working is written out step by step below.

Steps

    How to use the long division calculator

    Enter the dividend (the number being divided) and the divisor. Choose Quotient and remainder for whole numbers, or Decimal answer to divide decimals or keep going past the decimal point to up to 20 places. You get the answer, the exact decimal with any repeating digits marked, the long division written out the way it is done on paper, and every step in words.

    The long division method

    Long division repeats four steps, working from the left of the dividend to the right:

    1. Divide: how many times does the divisor go into the current number? Write that digit above.
    2. Multiply: multiply the digit by the divisor and write the product underneath.
    3. Subtract: take the product away. The result is always smaller than the divisor.
    4. Bring down the next digit of the dividend and repeat.

    When no digits are left, what remains is the remainder, and dividend = divisor × quotient + remainder. For a decimal answer, put a decimal point in the quotient above the one in the dividend and keep bringing down zeros. If the divisor is a decimal, first move the decimal point in both numbers until the divisor is whole: 7 ÷ 0.25 is the same as 700 ÷ 25. If a remainder comes back that you have already seen, the digits from that point repeat forever. For fractions, try the CalculatorFly fraction calculator.

    Worked example

    Divide 845 by 6. 6 goes into 8 once: write 1, 8 − 6 = 2. Bring down the 4 to make 24: 6 goes into 24 four times, 24 − 24 = 0. Bring down the 5: 6 goes into 5 zero times, so write 0. Nothing is left to bring down, so 845 ÷ 6 = 140 R 5, or 140 5/6. Check: 6 × 140 + 5 = 845. To keep going, write a decimal point and bring down zeros: 50 ÷ 6 = 8 remainder 2, then 20 ÷ 6 = 3 remainder 2 again, so the 3 repeats: 845 ÷ 6 = 140.8333…, which is 140.83 to 2 decimal places.

    FAQ

    What do I write when the divisor does not go into a digit?

    Write 0 above that digit and bring down the next one. Skipping the 0 is the most common long division mistake: 845 ÷ 6 is 140 R 5, not 14 R 5.

    How do I divide by a decimal?

    Multiply both numbers by 10, 100 or 1,000 so the divisor becomes a whole number, then divide as usual. The answer does not change: 1.5 ÷ 0.006 = 1,500 ÷ 6 = 250.

    How do I know if a decimal will repeat?

    Watch the remainders after you start bringing down zeros. There are only as many possible remainders as the divisor, so either one is 0 (the decimal ends) or one repeats, and then the digits repeat too. 1 ÷ 7 = 0.142857142857…

    How does the remainder work with negative numbers?

    Divide the numbers without their signs, then make the quotient negative if exactly one number is negative. The remainder takes the sign of the dividend, so −17 ÷ 5 = −3 R −2, because 5 × −3 + (−2) = −17.