How long division works
- Start with the leftmost digits of the dividend — take just enough digits so the chunk is ≥ the divisor.
- Find how many times the divisor goes into that chunk; that digit is the next quotient digit.
- Multiply the divisor by the quotient digit and subtract from the chunk — what remains is the carry.
- Bring down the next digit of the dividend next to the carry and repeat.
- When all digits are brought down, whatever is left is the remainder.
Dividend = Divisor × Quotient + Remainder
FAQ
Does this support negative numbers?
Sign is handled automatically — the working is shown on the absolute values, then the sign is applied to the quotient. The remainder is always non-negative (Euclidean convention).
How big can the inputs be?
Up to JavaScript's safe integer range (about 15 digits each). For larger numbers use the big number calculator.
What if the divisor is zero?
Division by zero is undefined; the calculator shows an error and clears the working.