Education & Math

Long Division Calculator

Divide nonnegative whole numbers with a quotient, remainder, and generated division steps.

01 · Set it up

Your inputs

Choose a quick value or enter your own. Example inputs are filled in to get you started.

02 · A little clarityEXAMPLE RESULT

Enter your measurements and calculate.

Calculated in your browser. Shared links include your entered values; only share information you intend to make public.

How to use

Enter a nonnegative whole-number dividend and a positive whole-number divisor. Choose whether to stop at the remainder or continue for a limited number of decimal places. Expand Calculation details to follow each bring-down and subtraction.

For related tasks, try the Fraction Calculator.

Formula & how it works

For each digit: bring it down, divide by the divisor, multiply the quotient digit by the divisor, and subtract. Dividend = divisor × quotient + remainder.

Worked example

Example 1

125 ÷ 4 = 31 remainder 1. Continue decimals: bring down 0 to make 10; 10 ÷ 4 gives 2 remainder 2; 20 ÷ 4 gives 5. Result: 31.25.

Assumptions & practical notes

This step display supports whole-number dividends from 0 to 1 trillion and divisors from 1 to 1 billion.

Decimal continuation is truncated at the selected number of places; an ellipsis indicates a remaining nonzero remainder.

See our calculation methodology for unit definitions and testing practices.

Frequently asked questions

Can I divide by zero?

No. Division by zero is undefined.

How do I divide decimal inputs?

Use Fraction Calculator to convert exact decimal inputs and divide them.

Related calculators