Skip to content
DeviceCheckHub

Long Division Calculator

Long division worked out step by step, with the written layout, a remainder or a decimal, and repeating digits marked.

Your division

Enter the dividend and the divisor.

Written out

Enter a division to see it written out.

Step by step

  1. Enter a division to see each step.

How to use the long division calculator

  1. Enter the dividend, the number being divided, and the divisor, the number you divide by. Whole numbers, decimals and negative numbers all work.
  2. Choose whether you want the answer with a remainder or as a decimal, and how many decimal places.
  3. Read the answer, then follow the division written out the way it is done on paper, and each step explained in words.

How long division works

Long division breaks a big division into a series of small ones, one digit of the dividend at a time, working from left to right. Each round has four steps:

  1. Divide the number you are working on by the divisor, and write how many whole times it goes in above the dividend.
  2. Multiply that digit by the divisor and write the result underneath.
  3. Subtract it to find what is left over, which must be less than the divisor.
  4. Bring down the next digit of the dividend next to it, and repeat.

When there are no more digits to bring down, the number left over is the remainder. In the US, the Common Core State Standards expect students to “fluently divide multi-digit numbers using the standard algorithm” by grade 6 (standard 6.NS.B.2), building on grade 5, where they find whole-number quotients with up to four-digit dividends and two-digit divisors (5.NBT.B.6).

A worked example: 7,425 ÷ 35

      212
     ____
35 ) 7425
    -70
    ---
      42
     -35
     ---
       75
      -70
      ---
        5
  1. 35 doesn’t go into 7, so start with 74. 35 goes into 74 twice: write 2 on top. 2 × 35 = 70, and 74 − 70 = 4.
  2. Bring down the 2 to make 42. 35 goes into 42 once: write 1. 1 × 35 = 35, and 42 − 35 = 7.
  3. Bring down the 5 to make 75. 35 goes into 75 twice: write 2. 2 × 35 = 70, and 75 − 70 = 5.
  4. There are no digits left, so the answer is 212 with a remainder of 5: 7,425 ÷ 35 = 212 R 5.

Check it by multiplying back: 212 × 35 = 7,420, plus the remainder 5 makes 7,425.

Zeros in the answer

If the divisor doesn’t go into the number after you bring down a digit, write 0 on top and bring down the next digit too. Skipping that 0 is the most common long division mistake. In 832 ÷ 4, 4 goes into 8 twice, but into the 3 brought down zero times, so 0 goes on top before bringing down the 2 to make 32: the answer is 208, not 28.

    208
    ___
4 ) 832
   -8
   --
     3
    -0
    --
     32
    -32
    ---
      0

Carrying on into decimals

Instead of stopping with a remainder, you can put a decimal point after the dividend, add zeros, and keep dividing. The decimal point in the answer goes directly above the one in the dividend. 9 ÷ 8 is 1 remainder 1; carrying on, 10 ÷ 8 is 1 remainder 2, 20 ÷ 8 is 2 remainder 4 and 40 ÷ 8 is 5 exactly, so 9 ÷ 8 = 1.125.

    1.125
    _____
8 ) 9.000
   -8
   --
    1 0
     -8
     --
      20
     -16
     ---
       40
      -40
      ---
        0

Dividing by a decimal

Long division needs a whole-number divisor. If yours has decimals, move its decimal point to the right until it is whole, and move the dividend’s point the same number of places, adding zeros if needed. Both numbers are multiplied by the same power of ten, so the answer doesn’t change: 4.2 ÷ 0.07 becomes 420 ÷ 7, which is 60. Grade 6 standard 6.NS.B.3 covers this: dividing multi-digit decimals using the standard algorithm.

Repeating decimals

Some divisions never come out exactly. Every remainder is smaller than the divisor, so after enough steps a remainder must come up again, and from then on the same digits repeat. 1 ÷ 3 = 0.333…, and 1 ÷ 7 = 0.142857142857…, where the block 142857 repeats forever. The calculator watches the remainders and marks the repeating block, writing it in brackets: 1 ÷ 7 = 0.(142857). A fraction in its lowest terms has a decimal that ends only when its denominator has no prime factors other than 2 and 5.

Writing the remainder

Which to use depends on the question. Sharing 7,425 sweets between 35 children, each gets 212 and 5 are left over; dividing 7,425 dollars, each share is about $212.14.

Negative numbers

Divide the numbers without their signs, then give the answer a minus sign if exactly one of them is negative. −17 ÷ 5 = −3 R 2 here, meaning −17 = −3 × 5 − 2: the remainder takes the sign of the dividend, the way the remainder operator works in many programming languages, such as JavaScript. Some textbooks prefer a remainder that is never negative, which would write it as −4 R 3, since −4 × 5 + 3 = −17 too.

Tips for dividing by two-digit numbers

Estimate each digit by rounding the divisor. To divide 74 by 35, think of 35 as about 40 or 30: 40 goes into 74 once, 30 twice. Try 2: 2 × 35 = 70, which fits. If a product is bigger than the number you are dividing, the digit is too big; if what is left after subtracting is as big as the divisor, the digit is too small.

Your data stays on your device

Everything is worked out in your browser. Nothing you type is sent anywhere or stored.

Frequently asked questions

What are the steps of long division?

Divide, multiply, subtract and bring down, repeated for each digit. Divide the part of the dividend you are working on by the divisor and write the answer on top, multiply it by the divisor, subtract the result, then bring down the next digit and start again. When no digits are left, what remains is the remainder.

How do I write a remainder?

Three common ways: with R, as in 212 R 5; as a fraction over the divisor, 212 5/35, which simplifies to 212 1/7; or as a decimal, by carrying on the division with zeros after the decimal point. Choose Remainder or Decimal above to see either.

How do I divide by a decimal?

Move the decimal point in the divisor to the right until it is a whole number, and move the point in the dividend the same number of places. 4.2 ÷ 0.07 becomes 420 ÷ 7, which is 60. The calculator shows this step when your divisor has decimals.

Why does my answer repeat forever?

When the same remainder comes up again, the same digits follow, so the decimal repeats. 1 ÷ 3 = 0.333… and 1 ÷ 7 = 0.142857142857…. The calculator spots the repeating block and marks it.

How can I check a long division answer?

Multiply the quotient by the divisor and add the remainder: you should get the dividend back. For 7,425 ÷ 35 = 212 R 5, 212 × 35 + 5 = 7,425.

Is anything I type saved or sent?

No. Everything is worked out in your browser and nothing you type is sent anywhere or stored.

Last updated · About DeviceCheckHub