Perform long division with a quotient, remainder and step-by-step divide-multiply-subtract work.

Long Division Calculator

Divide whole numbers using long division. Get the quotient, remainder, decimal answer, fraction form, and step-by-step work.

A Long division calculator shows how one number is divided by another using the traditional step-by-step division method.

Instead of displaying only the final answer, it can show how each quotient digit is found through the repeating process of:

divide → multiply → subtract → bring down

For whole-number division, the result can be expressed as a quotient and remainder. The calculation can also continue past the decimal point when a decimal answer is needed.

Enter the dividend first, the nonzero divisor second, and choose whether the result should stop at a remainder or continue into decimal places.

Know which number goes where

In:

157 ÷ 12

the:

157

is the dividend

and:

12

is the divisor

The answer is the:

quotient

If the division does not come out evenly, there may also be a:

remainder

For this example:

157 ÷ 12 = 13 remainder 1

because:

12 × 13 = 156

and:

157 − 156 = 1

The basic division relationship

For ordinary nonnegative integer division:

Dividend = Divisor × Quotient + Remainder

with:

0 ≤ Remainder < Divisor

For the example:

157 = 12 × 13 + 1

Check:

12 × 13 = 156

Then:

156 + 1 = 157

So the result is correct.

How to use the Long division calculator

  1. Enter the dividend.
  2. Enter a nonzero divisor.
  3. Choose whether to stop with a remainder or continue as a decimal.
  4. Calculate the result.
  5. Follow each divide, multiply, subtract, and bring-down step.
  6. Check that the remainder is smaller than the divisor when using ordinary whole-number division.
  7. Verify the answer by multiplying the quotient by the divisor and adding the remainder.

Do not reverse the dividend and divisor unless you intentionally want the reciprocal calculation.

The long division cycle

Each position follows the same basic pattern.

Divide

Ask how many times the divisor fits into the current partial dividend without exceeding it.

Multiply

Multiply that quotient digit by the divisor.

Subtract

Subtract the product from the current partial dividend.

Bring down

Bring down the next digit from the dividend.

Then repeat.

This continues until all original digits have been processed or until the desired decimal precision has been reached.

Worked example: 157 ÷ 12

Start with:

157 ÷ 12

12 fits into:

15

one time.

Write:

1

as the first quotient digit.

Multiply:

1 × 12 = 12

Subtract:

15 − 12 = 3

Bring down the next digit:

7

Now the partial dividend is:

37

12 fits into 37:

3 times

because:

12 × 3 = 36

Subtract:

37 − 36 = 1

There are no more digits to bring down.

So:

157 ÷ 12 = 13 remainder 1

Check the result

Use:

Divisor × Quotient + Remainder

So:

12 × 13 + 1

= 156 + 1

= 157

The original dividend is recovered.

The remainder must be smaller than the divisor

For ordinary positive integer division, the remainder cannot be as large as or larger than the divisor.

For example:

17 ÷ 5

cannot be written as:

2 remainder 7

because:

7 ≥ 5

You could still divide another 5 out of that remainder.

The correct result is:

17 ÷ 5 = 3 remainder 2

Check:

5 × 3 + 2 = 17

and:

2 < 5

A zero inside the quotient must be written

This is one of the most important long-division details.

Consider:

1,005 ÷ 5

5 fits into 10:

2 times

because:

2 × 5 = 10

Subtract:

10 − 10 = 0

Bring down the next digit:

0

5 fits into 0:

0 times

That zero belongs in the quotient.

Bring down the final:

5

Then:

5 ÷ 5 = 1

So:

1,005 ÷ 5 = 201

not:

21

Skipping the zero changes the place value of every digit that follows.

Why place-value alignment matters

Each quotient digit belongs above the corresponding position in the dividend.

If a quotient digit is shifted one place to the left or right, its value changes by a factor of:

10

For example:

201

and:

21

are very different numbers even though they contain similar nonzero digits.

Long division is therefore as much about correct place-value alignment as it is about multiplication and subtraction.

Another zero example

Consider:

4,032 ÷ 8

8 fits into 40:

5 times

Subtract:

40 − 40 = 0

Bring down:

3

Since:

3 < 8

the next quotient digit must be:

0

Then bring down:

2

to make:

32

Now:

32 ÷ 8 = 4

So:

4,032 ÷ 8 = 504

The zero in the tens place cannot be omitted.

Exact division has remainder zero

Some divisions end evenly.

For example:

144 ÷ 12

12 fits into 144 exactly:

12 times

So:

144 ÷ 12 = 12

with:

remainder 0

Check:

12 × 12 + 0 = 144

When the remainder reaches zero after the final dividend digit, the integer division is exact.

Decimal division continues after the remainder

A whole-number division can be extended beyond the decimal point.

Consider:

23 ÷ 4

Integer division gives:

5 remainder 3

because:

4 × 5 = 20

and:

23 − 20 = 3

To continue as a decimal, write a decimal point in the quotient and append a zero to the remainder.

The remainder 3 becomes:

30

Now:

30 ÷ 4 = 7 remainder 2

So the quotient begins:

5.7

Bring down another zero:

20 ÷ 4 = 5

with remainder:

0

Therefore:

23 ÷ 4 = 5.75

A remainder can be written as a fraction

Instead of continuing into decimal form:

23 ÷ 4 = 5 remainder 3

can also be written:

5 3/4

because the remainder represents:

3/4

of another group of 4.

So these forms are equivalent:

23/4

5 remainder 3

5 3/4

and:

5.75

The best form depends on the task.

Long division can produce terminating decimals

A decimal terminates when the remainder eventually becomes:

0

For example:

7 ÷ 8

produces:

0.875

At the end of the process, the remainder becomes zero.

So the decimal stops.

Long division can also produce repeating decimals

Consider:

1 ÷ 6

Start with:

1.000…

6 does not fit into 1 as a whole number, so the quotient begins:

0.

Bring down a zero:

10 ÷ 6 = 1 remainder 4

Bring down another zero:

40 ÷ 6 = 6 remainder 4

The remainder:

4

has appeared again.

From this point, the same division repeats:

40 ÷ 6 = 6 remainder 4

again and again.

Therefore:

1 ÷ 6 = 0.166666…

The digit 6 repeats indefinitely.

Repeated remainders create repeated decimal patterns

This is a useful long-division principle.

If a remainder:

becomes 0

the decimal terminates.

If a remainder:

reappears

then the same sequence of quotient digits will repeat from that point onward.

That is why tracking remainders can be more informative than simply looking at a long decimal display.

Repeating blocks can contain several digits

Consider:

1 ÷ 7

The decimal is:

0.142857142857…

The repeating block is:

142857

The cycle is longer than one digit because several different remainders occur before the original remainder returns.

Once it does return, the same six quotient digits repeat.

The calculator may need a decimal-place limit

A repeating decimal never ends.

A digital calculator therefore cannot display every digit.

It may:

  • show repeating notation;
  • display a fixed number of decimal places;
  • truncate;
  • or round the result.

If the tool rounds, the displayed decimal is an approximation of the exact fraction.

Keep the fraction when exactness matters

For example:

1/7

is exact.

The decimal:

0.142857

is only an approximation if it stops after six digits.

In later calculations, keeping:

1/7

can preserve exactness better than reusing a shortened decimal.

Decimal dividends can also be divided

Consider:

12.6 ÷ 3

Since the divisor is already a whole number, perform the long division while keeping the decimal point aligned in the quotient.

The result is:

4.2

because:

3 × 4.2 = 12.6

The decimal point in the quotient follows the place-value structure of the dividend.

Decimal divisors can be converted to whole divisors

Consider:

7.5 ÷ 0.5

Long division is easier when the divisor is a whole number.

Multiply both numbers by:

10

Then:

7.5 × 10 = 75

and:

0.5 × 10 = 5

So:

7.5 ÷ 0.5

becomes:

75 ÷ 5

which equals:

15

Why both decimal points move together

Multiplying the dividend and divisor by the same nonzero power of ten does not change their ratio.

For example:

7.5/0.5

Multiply numerator and denominator by:

10

Then:

75/5

The fraction still represents the same value.

That is why both decimal points must move the same number of places.

Do not move only the divisor’s decimal point

Suppose:

6.4 ÷ 0.8

Moving only:

0.8 → 8

would change the problem.

Instead multiply both numbers by 10:

64 ÷ 8 = 8

So:

6.4 ÷ 0.8 = 8

The ratio remains unchanged because both values were scaled equally.

Another decimal-divisor example

Consider:

3.75 ÷ 0.15

The divisor has two decimal places.

Multiply both values by:

100

Then:

375 ÷ 15

Now divide:

375 ÷ 15 = 25

Therefore:

3.75 ÷ 0.15 = 25

Leading zeros in decimal division matter

Suppose:

1 ÷ 40

The answer is less than:

1

and also less than:

0.1

The decimal is:

0.025

The zero in the tenths place is necessary.

Writing:

0.25

would make the number ten times too large.

Zeros preserve place value in decimal quotients just as they do in whole-number quotients.

Quotient estimation can catch mistakes

Before completing a long division problem, estimate the result.

Suppose:

1,002 ÷ 19

19 is close to:

20

So:

1,000 ÷ 20 ≈ 50

The exact answer should therefore be somewhere around:

50

If the calculator or manual work produced:

5.2

or:

520

you would know something likely went wrong.

Estimate before accepting the decimal point

Consider:

51.2 ÷ 8

Since:

48 ÷ 8 = 6

the answer should be slightly above:

6

The actual result is:

6.4

An answer such as:

64

would immediately indicate a misplaced decimal point.

Dividing by a larger number can produce a value below 1

For positive values, if:

Dividend < Divisor

then the quotient is less than:

1

For example:

3 ÷ 8 = 0.375

That gives a useful reasonableness check before doing the full calculation.

Division by 1 leaves the value unchanged

For any number:

a

a ÷ 1 = a

For example:

257 ÷ 1 = 257

This can also serve as a simple calculator check.

Zero divided by a nonzero number equals zero

For any nonzero divisor:

0 ÷ a = 0

For example:

0 ÷ 12 = 0

because:

12 × 0 = 0

Division by zero is undefined

The reverse is not valid.

Expressions such as:

12 ÷ 0

are undefined.

There is no finite quotient that satisfies:

0 × Quotient = 12

because multiplying any finite number by zero gives:

0

The calculator should display an error rather than an ordinary numeric result.

Negative numbers determine the quotient sign

For nonzero numbers:

positive ÷ positive = positive

negative ÷ positive = negative

positive ÷ negative = negative

negative ÷ negative = positive

For example:

−20 ÷ 5 = −4

and:

−20 ÷ −5 = 4

The magnitude can be divided normally after determining the sign.

Negative integer remainders need a stated convention

Whole-number division with negative values is more subtle because different mathematical and programming conventions can define the quotient and remainder differently.

For positive divisor 5:

−17

can be written as:

5 × (−3) + (−2)

or, under the Euclidean nonnegative-remainder convention:

5 × (−4) + 3

Both equations reproduce:

−17

but they use different quotient and remainder rules.

If negative integer division matters, use the convention required by the course, programming language, or specification.

The usual positive-integer convention is simpler

For nonnegative integer dividend and positive divisor:

Dividend = Divisor × Quotient + Remainder

with:

0 ≤ Remainder < Divisor

This avoids ambiguity.

For beginner long division, this is usually the clearest convention.

Long division and fraction conversion are closely related

A fraction:

3/8

means:

3 ÷ 8

Long division gives:

0.375

So:

3/8 = 0.375

Likewise:

1/3

means:

1 ÷ 3

which gives:

0.333333…

Use the Fraction to Decimal Calculator when the main goal is converting fraction notation to decimal form.

Long division shows why some fractions repeat

The decimal behavior of a fraction can be understood directly from its remainders.

For:

1/8

the remainders eventually reach zero.

So the decimal:

0.125

terminates.

For:

1/3

the same nonzero remainder repeats.

So the decimal repeats forever.

The long-division process makes this difference visible.

Long division can help explain rounding

Suppose:

2 ÷ 7 = 0.285714285714…

If you need the result to:

3 decimal places

keep enough division digits to inspect the next one.

The first three decimal digits are:

285

The next digit is:

7

So ordinary nearest rounding gives:

0.286

Use the Rounding Calculator when the required precision or rounding mode matters.

Do not round too early

Suppose the quotient from a long division will be used in another calculation.

If the exact value is:

2/7

but you replace it immediately with:

0.29

later calculations can accumulate extra error.

Keep the original fraction or additional decimal digits until the final step whenever practical.

Check an integer quotient with multiplication

Suppose:

347 ÷ 15 = 23 remainder 2

Verify:

15 × 23 = 345

Then:

345 + 2 = 347

So the result is correct.

Check an exact decimal quotient

Suppose:

23 ÷ 4 = 5.75

Multiply:

5.75 × 4 = 23

The dividend is recovered exactly.

Check a rounded decimal quotient

Suppose:

2 ÷ 7 ≈ 0.286

Multiply:

0.286 × 7 = 2.002

The result is close to:

2

but not exact because:

0.286

was rounded.

That small discrepancy is expected.

Quotient digits must stay in their correct columns

Consider a dividend with several zeros.

If one quotient digit is placed over the wrong dividend position, all later place values can shift.

Using ruled paper, graph paper, or a structured calculator display can help keep:

  • dividend digits;
  • quotient digits;
  • products;
  • remainders;
  • and brought-down digits

properly aligned.

Bring down only after subtracting

The standard sequence is:

divide

then:

multiply

then:

subtract

then:

bring down

Bringing down the next digit too early can combine values incorrectly and make the remaining steps difficult to audit.

The quotient digit should be as large as possible without exceeding the partial dividend

Suppose the partial dividend is:

47

and the divisor is:

6

Possible products include:

6 × 7 = 42

and:

6 × 8 = 48

Since:

48 > 47

the correct quotient digit is:

7

Subtract:

47 − 42 = 5

The remainder 5 is smaller than 6.

A quotient digit can be found by estimation

For larger divisors, estimate first.

Suppose you need:

173 ÷ 24

Since:

24 × 7 = 168

and:

24 × 8 = 192

the correct whole-number quotient is:

7

with:

173 − 168 = 5

So:

173 ÷ 24 = 7 remainder 5

Estimation makes trial quotient digits faster.

Common long division mistakes to avoid

Reversing dividend and divisor

20 ÷ 5

is not the same as:

5 ÷ 20

Skipping a zero in the quotient

For:

1,005 ÷ 5

the answer is:

201

not:

21

Bringing down a digit before subtracting

Follow the full divide–multiply–subtract–bring-down cycle.

Allowing the remainder to stay too large

For positive integer division, the remainder must be smaller than the divisor.

Moving only one decimal point

Scale both dividend and divisor by the same power of ten.

Treating a rounded decimal as exact

Repeating decimals require notation or deliberate rounding.

Ignoring the divisor-zero restriction

Division by zero is undefined.

Using an unstated negative-remainder convention

Negative integer division can follow different rules.

Quick examples

DivisionResult
17 ÷ 53 remainder 2
23 ÷ 45 remainder 3 or 5.75
1005 ÷ 5201
144 ÷ 1212
3 ÷ 80.375
1 ÷ 30.333…
1 ÷ 60.1666…
7.5 ÷ 0.515

These examples include exact quotients, remainders, terminating decimals, and repeating decimals.

When to use another calculator

Use the Rounding Calculator when a decimal quotient needs to be reported to a specific number of decimal places or significant figures.

Use the Fraction to Decimal Calculator when you primarily want to convert a fraction into terminating or repeating decimal form.

For everyday arithmetic and order-of-operations checks, use the Basic Calculator.

FAQ

What is the dividend?

The dividend is the number being divided.

In:

17 ÷ 5

17 is the dividend.

What is the divisor?

The divisor is the number you divide by.

In:

17 ÷ 5

5 is the divisor.

What is the remainder in 17 ÷ 5?

The quotient is:

3

and the remainder is:

2

because:

5 × 3 + 2 = 17

How do I check a long division answer?

Use:

Dividend = Divisor × Quotient + Remainder

For decimal answers, multiply the quotient by the divisor.

Can the remainder be larger than the divisor?

Not under the usual nonnegative integer-division convention.

The remainder must be smaller than the divisor.

Why does a zero sometimes appear inside the quotient?

Because the divisor may fit zero times into a particular place after the quotient has already started.

For example:

1,005 ÷ 5 = 201

The zero preserves the tens place.

How do I continue a remainder into decimals?

Add a decimal point to the quotient and bring down zeros after the remainder.

For example:

23 ÷ 4 = 5 remainder 3

continues to:

5.75

Can long division produce repeating decimals?

Yes.

If a nonzero remainder appears again, the same quotient-digit pattern repeats.

Why does 1 ÷ 6 repeat?

After the first decimal step, the remainder becomes:

4

Then:

40 ÷ 6

continually returns remainder:

4

So the digit:

6

repeats forever.

Why do both decimal points move when the divisor has a decimal?

Multiplying both numbers by the same power of ten keeps the quotient unchanged.

For example:

7.5 ÷ 0.5 = 75 ÷ 5 = 15

Can I divide by zero?

No.

Division by zero is undefined.

What happens with negative numbers?

The signs determine whether the quotient is positive or negative.

Remainder rules for negative integer division can vary, so use the convention required by the task.

Is long division the same as polynomial long division?

No.

The layout is conceptually related, but polynomial long division works with algebraic terms and powers rather than ordinary decimal digits.

A separate method or calculator should be used.

Mathematics reference

For additional explanations and worked examples involving whole-number division, decimals, fractions, and long division, see:

OpenStax — Prealgebra 2e

Keep every quotient digit in its place

A Long division calculator is useful because it shows not only the answer, but how each digit of that answer is produced.

At every stage:

divide

multiply

subtract

and:

bring down

If the divisor fits zero times into a position, write the zero rather than skipping the place.

If a remainder remains after the whole-number digits are exhausted, stop with the remainder or continue into decimals.

And when a previous nonzero remainder returns, expect a repeating decimal cycle.

The final check is straightforward: multiply the quotient by the divisor and add the remainder. For exact division, that calculation should reproduce the original dividend.

Share on: