Long Division Calculator

This calculator performs long division on any two whole numbers and shows the complete step-by-step working so you can follow exactly how the answer is reached. Long division is the standard algorithm for dividing a large number by another number digit by digit. Each step involves asking how many times the divisor fits into the current portion of the dividend, writing that digit in the quotient, multiplying it back, subtracting the product, and bringing down the next digit of the dividend to continue. Learning to work through these steps helps build a solid understanding of how division relates to multiplication and remainders. To use the calculator, enter the dividend (the number being divided) and the divisor (the number you are dividing by). You receive the quotient, the remainder, and a numbered list of the working at every digit position. The steps show the current partial dividend, how many times the divisor fits, the product subtracted, and the remainder carried to the next step. Both the dividend and divisor must be positive whole numbers; the calculator handles cases where the divisor is larger than the dividend by returning a quotient of zero. This tool is aimed at primary and secondary school students learning division, parents helping with homework, and teachers demonstrating the algorithm. For division involving decimals or fractions, see the related tools below.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
221
quotient
Remainder0
As decimal221
Check221 x 7 + 0 = 1547
Step 1: Bring down 1 → partial dividend = 1 7 goes into 1, 0 times (7 x 0 = 0) 1 - 0 = 1 (carry forward) Step 2: Bring down 5 → partial dividend = 15 7 goes into 15, 2 times (7 x 2 = 14) 15 - 14 = 1 (carry forward) Step 3: Bring down 4 → partial dividend = 14 7 goes into 14, 2 times (7 x 2 = 14) 14 - 14 = 0 (carry forward) Step 4: Bring down 7 → partial dividend = 7 7 goes into 7, 1 time (7 x 1 = 7) 7 - 7 = 0 (final remainder) Quotient: 0221, Remainder: 0

How it works

The algorithm processes the dividend one digit at a time from left to right. At each position it appends the next digit to the current partial remainder to form the current partial dividend. It then calculates the largest whole-number multiple of the divisor that fits into the partial dividend (the quotient digit), records that digit in the running quotient, multiplies to get the product, and subtracts to find the new partial remainder. This continues until all digits of the dividend have been processed. The final partial remainder is the overall remainder. The check confirms the result: quotient times divisor plus remainder should equal the original dividend.

Worked example

Divide 1547 by 7. Start with 1: 7 does not go into 1, so the partial dividend becomes 15. 7 goes into 15 twice (product 14), remainder 1. Bring down 4 to get 14. 7 goes into 14 twice (product 14), remainder 0. Bring down 7 to get 7. 7 goes into 7 once (product 7), remainder 0. Quotient = 221, remainder = 0. Check: 221 × 7 = 1547.

Related calculators