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
Fraction Calculator
Add, subtract, multiply, divide, and convert fractions, mixed numbers, and decimals.
Factoring Calculator
Find integer factors, greatest common factors, and rational factors of quadratic trinomials.
Scientific Notation Calculator
Convert standard and scientific notation and calculate with positive or negative exponents.