Long division · whole numbers

Long division · whole numbers: use dividend, divisor. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
At each digit: q = floor(partial/divisor); remainder = partial − q×divisor

Variables & units

Dividend
Numeric value · minimum 0, maximum 1000000000000
Divisor
Numeric value · minimum 1, maximum 1000000

Worked example

1248 ÷ 12 gives quotient 104 and remainder 0.

Assumptions

Non-negative whole-number dividend and positive divisor. Leading zero quotient digits are omitted from the headline but retained in the digit-by-digit working.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.