Skip to content

Long Division Calculator

Long division shows how many times one whole number fits into another, and what is left over. This tool works through the number one digit at a time, the way you would on paper.

A whole number from 0 to 1,000,000,000,000.

A whole number from 1 to 1,000,000.

Quotient and remainder

176 R 2

1,234 ÷ 7 = 176 with a remainder of 2. Check: 7 × 176 + 2 = 1,234.

Decimal (first 10 places)
176.2857142857
Exact or repeating form
176.(285714)
Repeating block
6 digits
Mixed number
176 2/7
Long division: 1234 ÷ 7
StepBring downPartial dividendDivideMultiplySubtract
1111 ÷ 7 = 0 R 10 × 7 = 01 − 0 = 1
221212 ÷ 7 = 1 R 51 × 7 = 712 − 7 = 5
335353 ÷ 7 = 7 R 47 × 7 = 4953 − 49 = 4
444444 ÷ 7 = 6 R 26 × 7 = 4244 − 42 = 2

How to use this calculator

  1. 1 Enter the dividend, the number you want to divide, as a whole number up to 1,000,000,000,000.
  2. 2 Enter the divisor, the number you divide by, as a whole number from 1 to 1,000,000. Decimals are not accepted here.
  3. 3 Read the quotient and remainder first, then the decimal form. Repeating digits are shown in brackets.
  4. 4 Follow the table to see each step, with one row for each digit of the dividend.

What long division does

Division asks how many equal groups fit into a number. In 1,234 ÷ 7, the number 1,234 is the dividend, and 7 is the divisor. The answer has two parts: the quotient, which is the number of whole groups, and the remainder, which is what is left over.

For 1,234 ÷ 7, the quotient is 176 and the remainder is 2. Seven fits into 1,234 exactly 176 times, with 2 left over. Long division is the method that finds these two numbers step by step.

You can check any answer with one multiplication. Multiply the divisor by the quotient, then add the remainder. You should get the dividend back. For 1,234, that is 7 × 176 + 2 = 1,234.

How long division works, step by step

Work from left to right. Take the first digit, or the first few digits, that is big enough to hold the divisor. Divide that part, write the answer, multiply back, and subtract. The result is the remainder for that step. Then bring down the next digit and repeat.

Here is 1,234 ÷ 7 in four steps. The first step uses only the digit 1, which is smaller than 7, so the first quotient digit is 0. The table shows each step, as the calculator does.

Working out 1,234 ÷ 7
StepBring downPartial numberDivideSubtract
1111 ÷ 7 = 0 R 11 − 0 = 1
221212 ÷ 7 = 1 R 512 − 7 = 5
335353 ÷ 7 = 7 R 453 − 49 = 4
444444 ÷ 7 = 6 R 244 − 42 = 2

Remainders and the check

The remainder is always smaller than the divisor. If it were as big as the divisor, you could fit in one more group, so the quotient would be larger. That rule is a good way to spot a mistake.

Here the remainder is 2, which is less than 7. The quotient 176 and the remainder 2 together give 1,234, so the answer is correct.

Remainders are also useful in everyday life. If 30 people sit at tables of 4, that fills 7 full tables with 2 people left over, so 8 tables are needed. For more calculations, the basic calculator does the sums quickly.

Decimals and repeating decimals

Long division can carry on past the decimal point. Add a zero to the remainder, and keep dividing. Some answers stop, such as 1 ÷ 4 = 0.25. Others repeat forever, such as 1 ÷ 3 = 0.333…

A repeating decimal is written with brackets around the repeating digits. So 1 ÷ 3 is 0.(3), and 2 ÷ 7 is 0.(285714). The calculator shows the repeating block this way.

Every fraction either stops or repeats, because there are only a limited number of remainders to choose from. For more on fractions, see the fraction calculator.

Tips for long division

Practice with small numbers first, then move on to bigger ones. Most mistakes come from a wrong multiplication or a wrong subtraction, so check each row.

  • Keep the digits in their columns when you write the steps by hand.
  • If the remainder is bigger than the divisor, the last step needs another group.
  • Dividing by 10 moves the decimal point one place to the left, which is a quick check.
  • To round a decimal answer, use the rounding calculator.

The formula

Quotient and remainder

dividend = divisor × quotient + remainder, with 0 ≤ remainder < divisor

dividend
the number being divided
divisor
the number you divide by
quotient
whole groups of the divisor that fit
remainder
what is left over

Each long division step

partial = previous remainder × 10 + next digit, quotient digit = ⌊partial ÷ divisor⌋, new remainder = partial − divisor × quotient digit

Decimal digits

next digit = ⌊10 × remainder ÷ divisor⌋, new remainder = 10 × remainder mod divisor

remainder
the remainder from the previous digit

Worked example

Divide 1,234 by 7

  1. 1.Bring down the 1. 1 is smaller than 7, so the first quotient digit is 0.
  2. 2.Bring down the 2. 12 ÷ 7 = 1 remainder 5. Write 1 in the quotient.
  3. 3.Bring down the 3. 53 ÷ 7 = 7 remainder 4. Write 7 in the quotient.
  4. 4.Bring down the 4. 44 ÷ 7 = 6 remainder 2. Write 6 in the quotient.
  5. 5.The quotient is 176 with a remainder of 2. As a decimal, 2 ÷ 7 = 0.285714 repeating, so the answer is 176.(285714).

1,234 ÷ 7 = 176 R 2, or 176.(285714) as a repeating decimal.

Frequently asked questions

What is a remainder?

The remainder is what is left after you take out as many whole groups of the divisor as you can. For 17 ÷ 5, five fits three times with 2 left over, so the remainder is 2.

How are repeating decimals written?

Digits that repeat forever are put in brackets. 1 ÷ 6 = 0.1666…, which is written 0.1(6). When a remainder returns to a value already seen, the digits from that point repeat.

Why does the table include a row with a 0 digit?

A digit too small to hold a whole group of the divisor gives a quotient digit of 0. The row is kept so every digit of the dividend is shown.

Can I divide decimal numbers here?

Not directly. Multiply both numbers by the same power of 10 until they are whole numbers. For 12.5 ÷ 5, use 125 ÷ 50, which gives 2.5.

What is the difference between the dividend and the divisor?

The dividend is the number being split up, and the divisor is the number you split it by. In 20 ÷ 4, the dividend is 20 and the divisor is 4. The result is 5, which is the quotient.

Sources

Last reviewed by the GridCalculators team.