Long Division Calculator

Divide one whole number by another and see every bring-down.

The number being divided, like 1234.

The number you divide by, like 7.

Try

Result

You entered227\frac{22}{7}

3.142857‾\displaystyle 3.\overline{142857}

Fraction

227\displaystyle \frac{22}{7}
Show the work
  1. Long division

    Divide 2222 by 77 from the left, one digit at a time: at each digit, see how many times the divisor goes in and carry the remainder to the next digit. In the working, r stands for the remainder.

    2÷7=0 r 222÷7=3 r 1\begin{array}{l} 2 \div 7 = 0 \text{ r } 2 \\ 22 \div 7 = 3 \text{ r } 1 \end{array}
  2. Continue past the decimal point

    Once the digits of the dividend run out, put a decimal point in the answer and bring down a 00 after the remainder, then divide again. Stop when the remainder is 00 (the decimal ends) or a remainder comes back (the digits then repeat).

    10÷7=1 r 330÷7=4 r 220÷7=2 r 660÷7=8 r 440÷7=5 r 550÷7=7 r 1\begin{array}{l} 10 \div 7 = 1 \text{ r } 3 \\ 30 \div 7 = 4 \text{ r } 2 \\ 20 \div 7 = 2 \text{ r } 6 \\ 60 \div 7 = 8 \text{ r } 4 \\ 40 \div 7 = 5 \text{ r } 5 \\ 50 \div 7 = 7 \text{ r } 1 \end{array}
  3. Recurring decimal

    The remainder 11 has come up before, so the same digits come round again for ever. The repeating block is 142857142857, written with a bar over it.

  4. Result

    So 22÷722 \div 7 is 3.142857‾3.\overline{142857}.

Worked examples