What is long division?
Long division is the written method for dividing one number by another when the answer does not come out immediately — when the dividend has more digits than you can handle in your head. It breaks a large division into a repeating four-action cycle applied to one digit at a time, so every intermediate step is a small, checkable piece of arithmetic.
The method works because of place value. In 471 ÷ 32, the first useful partial dividend is 47: 32 fits into 47 once, so the first quotient digit is written in the tens place. After subtracting 32, the remainder 15 is carried forward by bringing down the next dividend digit, making 151. The next quotient digit is 4, giving a whole-number quotient of 14 and a remainder of 23.
The four parts of a division
| Term | Meaning | In 471 ÷ 32 |
|---|---|---|
| Dividend | The number being divided — the total you start with | 471 |
| Divisor | The number you divide by — the size of each group | 32 |
| Quotient | How many whole groups fit — the result | 14 |
| Remainder | What is left over; its absolute value is smaller than the divisor's absolute value | 23 |
These four quantities are locked together by the division identity:
471 = 32 × 14 + 23 = 448 + 23 ✓
That identity is the single most useful fact on this page. It makes every answer checkable and explains the remainder rule: the absolute value of the remainder must be smaller than the absolute value of the divisor. Otherwise, another whole group would still fit.
How to use this calculator
- Enter the dividend and the divisor. Whole numbers, decimals, negatives and comma-separated thousands are all accepted. The working updates as you type — there is no calculate button.
- Read the primary answer bar. It shows the quotient and remainder, with the decimal form underneath. Click it to copy.
- Pick a tab. The three tabs are genuinely different views, not skins:
- Long Division — the classic bracket layout, with the quotient above the bar, product rows in rose, difference rows in amber and the brought-down digit highlighted in teal.
- Decimals & Repeats — the continuation past the decimal point, shown as a chain of remainder cards, with the repeating block bracketed and explained.
- Answer Forms — quotient with remainder, decimal, rounded decimal, simplified fraction, mixed number and the verification identity, each with its own copy button.
- Walk through the steps. On the Long Division tab, use the playback buttons, choose a calculation checkpoint, or drag the slider. Each phase highlights the working and explains the arithmetic. For keyboard control, focus the large working panel first: Space plays or pauses, while ← and → move one operation at a time.
- Choose decimal precision and rounding separately. Auto mode follows the remainder cycle for up to 120 decimal places. You can request a fixed display precision up to 200 places, then separately choose how many places the rounded answer should show.
- Check your own working. Open Check your answer, type what you got by hand, and press Check. If it is wrong, the tool names the likely cause.
- Generate a worksheet. Choose the digit sizes, whether remainders are allowed, and whether the answer key is visible. Print it or copy it as plain text.
The long division steps, worked in full
The method is a loop of four actions — Divide, Multiply, Subtract, Bring down, remembered as DMSB. Every digit of the dividend goes through one turn of the loop.
Worked example: 471 ÷ 32
Set up. Write 32 on the outside of the bracket and 471 inside it. The quotient will be written above the bar, one digit per dividend column.
Step 1 — Divide. The first digit is 4. 32 does not fit into 4, so include the next digit: 47. How many times does 32 fit into 47? Once, because 32 × 1 = 32 and 32 × 2 = 64, which is too big. Write 1 in the quotient above the 7.
Step 2 — Multiply. 32 × 1 = 32. Write it under the 47.
Step 3 — Subtract. 47 − 32 = 15. The difference must be smaller than 32, and it is.
Step 4 — Bring down. Bring down the 1 to make 151.
Step 5 — Divide again. How many times does 32 fit into 151? Four times, because 32 × 4 = 128 and 32 × 5 = 160. Write 4 in the quotient.
Step 6 — Multiply. 32 × 4 = 128, written under the 151.
Step 7 — Subtract. 151 − 128 = 23.
Step 8 — Stop. There are no more digits to bring down. The quotient is 14 and the remainder is 23.
Why the quotient digit can never exceed 9
At each step the current number is built from the previous remainder multiplied by 10 plus one digit. The previous remainder is always smaller than the divisor, so the current number is smaller than 10 × divisor. That means at most nine whole groups of the divisor can fit — which is exactly why the quotient needs only one digit per dividend column.
How to read each line in the long division bracket
The bracket is a place-value record, not just a compact way to display the final quotient. The dividend digits stay in their original columns. A quotient digit is placed above the column where its partial dividend ends, while the product and subtraction rows line up beneath the digits used in that step.
| Part of the layout | What it shows | Example from 471 ÷ 32 |
|---|---|---|
| Divisor | The number outside the bracket; it is the size of each group. | 32 |
| Dividend | The starting number inside the bracket. | 471 |
| Quotient row | Each digit records how many times the divisor fits into the current partial dividend. | 14 |
| Product row | The divisor multiplied by the quotient digit for that step. | 32, then 128 |
| Difference row | The result after subtracting the product. | 15, then 23 |
| Bring-down step | The next unused dividend digit joins the current remainder. | 15 becomes 151 |
Why a zero may appear in the quotient
A zero quotient digit is meaningful: it holds a place when the divisor does not fit into a particular partial dividend. For example, 1,002 ÷ 5 = 200 R 2. The zeros are not decoration; removing either one would change the place value and make the quotient incorrect. The calculator preserves these zero places in the bracket and in the quotient summary.
Remainder or decimal? Two valid answers
The same division has several correct presentations, and which one is "right" depends on the context.
| Form | 471 ÷ 32 | When it is the best answer |
|---|---|---|
| Quotient and remainder | 14 R 23 | Sharing whole items — 14 full boxes and 23 left over |
| Decimal | 14.71875 | Measurements, money, anything continuous |
| Mixed number | 14 23/32 | Exact answers in fractions, before any rounding |
| Improper fraction | 471/32 | Algebra, ratios, further calculation |
The remainder form is what long division naturally produces: you stop when the digits run out. The decimal form continues the same process by treating the remainder as a new number and bringing down a zero instead of a digit — a zero that is implicitly there after the decimal point. The fraction form is the remainder written over the divisor, and the mixed number is the quotient plus that fraction.
Long division with decimals
Decimals introduce one extra move at the start, and it is the same move every time.
If the divisor has a decimal point
Shift the decimal point in the divisor to the right until the divisor is a whole number, and shift the decimal point in the dividend the same number of places. The value of the division is unchanged because you have multiplied both numbers by the same power of ten.
This calculator performs that normalisation automatically and shows the equivalent whole-number problem above the bracket, so you can see exactly what was done.
If only the dividend has a decimal point
Divide as if the point were not there, then place the point in the quotient directly above where it sits in the dividend. 7.2 ÷ 3: 72 ÷ 3 = 24, so 7.2 ÷ 3 = 2.4.
Continuing past the decimal point
When the digits of the dividend run out and a remainder is left, put a decimal point after the quotient and bring down a zero. Every subsequent step brings down another zero. The division stops when the remainder reaches zero (a terminating decimal) or when a remainder repeats (a repeating decimal).
Repeating decimals and the remainder cycle
Some divisions never terminate. 1 ÷ 3 gives 0.3333… forever. The reason is not mysterious — it follows directly from how many different remainders are possible.
At every step of the decimal part, the remainder is a whole number strictly smaller than the divisor. If the divisor is 7, there are only six possible remainders: 1, 2, 3, 4, 5 and 6. After at most seven steps, one of them must recur. And once a remainder recurs, every digit produced afterwards recurs in the same order — because each digit depends only on the remainder that produced it.
Worked example: 1 ÷ 7
Remainders in order: 1 → 3 → 2 → 6 → 4 → 5 → 1. The remainder 1 returns after six steps, so the six digits produced in between repeat forever: 0.142857142857…, written with a bar over the block: 0.142857.
The Decimals & Repeats tab draws this as a chain: each card shows the remainder going in, the digit produced, and the remainder coming out. When a remainder repeats, the cards in the cycle are highlighted and labelled, so the repeating block is visible rather than asserted.
Notation
- A bar over the repeating digits: 0.3 = 0.333…
- For a longer block the bar covers all of it: 0.142857
- If some digits come first: 0.16 = 0.1666… — the 1 does not repeat.
- Dots are also used: 0.1̇6̇ — one dot over the first and last digit of the block.
Terminating, repeating, and precision-limited decimal answers
Three different situations can appear in a decimal long division result, and it is important not to confuse them. A terminating decimal reaches a remainder of zero. A repeating decimal revisits an earlier non-zero remainder, so the same block of digits starts again. A precision-limited display simply stops showing more digits at the selected limit; it does not mean the decimal terminates.
| Division | Decimal result | What the calculator reports |
|---|---|---|
| 1 ÷ 8 | 0.125 | Terminating · the remainder reaches zero. |
| 1 ÷ 3 | 0.3̅ | Repeating · the remainder 1 returns after one digit. |
| 1 ÷ 7 | 0.1̅4̅2̅8̅5̅7̅ | Repeating · the six-digit block cycles. |
| 1 ÷ 97 | 0.010309… | Auto mode detects the 96-digit period within its 120-place search limit. |
Auto mode checks for a repeated remainder for up to 120 decimal places. If no zero remainder or repeated remainder has appeared by then, the calculator labels the display Precision limited and marks the omitted continuation with an ellipsis. You can request a fixed display up to 200 places when you need to inspect a longer prefix. A repeating bar is shown only when the calculator has actually encountered the same remainder again.
Rounding is a separate setting. The rounded answer can show 0 to 10 decimal places using the half-up rule, while the exact fraction and the unrounded decimal status remain available. Increasing the rounded places changes presentation, not the underlying quotient or remainder.
Long division with negative numbers
For signed division, the calculator performs the written bracket steps using the absolute values, then applies the sign convention for division with remainder. The quotient is negative when the dividend and divisor have different signs. The remainder keeps the sign of the dividend, so the identity dividend = divisor × quotient + remainder remains true.
When the divisor is negative, the fraction relationship must use that signed divisor: quotient + (remainder ÷ divisor) equals the exact result. This is why the answer panel uses the original signed inputs rather than simply adding a positive remainder fraction.
Turning the answer into a fraction or mixed number
For positive inputs, the remainder gives you the fractional part directly: put it over the divisor. With signed values, keep the original signs so that quotient + (remainder ÷ divisor) remains equal to the exact answer:
As a single fraction, multiply the whole number by the denominator and add the numerator: (14 × 32) + 23 = 471, so the improper fraction is 471/32 — which is just the original dividend over the original divisor, as it must be.
To simplify, divide the numerator and denominator by their greatest common factor. For 471 and 32, the only factor of 32 is 2, and 471 is odd, so the fraction is already in lowest terms. If you need the greatest common factor for a harder case, the GCF calculator will find it.
Checking your answer
Two checks catch almost every long division error, and both are faster than redoing the work.
1. The division identity
Multiply the divisor by the quotient and add the remainder. The result must be the dividend.
This catches an incorrect quotient digit, an incorrect product and an incorrect subtraction in one move, because any of them changes the total.
2. Bracket the quotient with multiples of ten
Find the largest multiple of ten that the divisor fits into, then the next one up. The quotient must sit between them.
This calculator runs both checks automatically and reports them in the Answer Forms tab.
Common mistakes
- A quotient digit that is too small. If the remainder after subtracting is equal to or larger than the divisor, another whole group would have fitted. Increase the digit by one and subtract again.
- A quotient digit that is too large. If the product you write down is bigger than the number above it, the subtraction goes negative. Decrease the digit.
- Forgetting to bring down. After subtracting, the next digit must join the difference before you divide again. Skipping a bring-down loses a place value.
- Losing a middle zero in the quotient. In 1002 ÷ 5, the quotient is 200 R 2 — the two zeros are required. They appear because the divisor does not fit into the small numbers formed at those columns.
- Writing the remainder as a decimal. 471 ÷ 32 = 14 R 23, not 14.23. To express the remainder as a decimal you must continue dividing, which gives 14.71875.
- Aligning decimals instead of shifting them. Lining up the points is the rule for addition and subtraction. For division you shift both numbers the same number of places to clear the divisor.
- Misplacing the quotient's decimal point. It goes directly above the dividend's decimal point, not at the far right of the quotient.
- Stopping too early on a repeating decimal. A remainder of zero means the division is finished. A repeated remainder means it will never finish — record the block and use the bar notation.
- Assuming a larger divisor means a larger answer. It is the opposite: increasing the divisor decreases the quotient.
Notation around the world
The arithmetic is identical everywhere, but the way long division is written varies by country — which can confuse anyone moving between school systems.
| Style | How 471 ÷ 32 is written | Common in |
|---|---|---|
| Bracket (US/UK) | Divisor to the left of a vertical bar, dividend inside, quotient above | United States, United Kingdom, Canada, Australia |
| Colon (continental) | 471 : 32 = 14 | Much of mainland Europe, Latin America, Russia |
| Angle bracket | 32 ) 471 | Older textbooks, some European traditions |
| Fraction | 471/32 | Algebra and higher mathematics everywhere |
This calculator uses the bracket style because that is what "long division calculator with steps" overwhelmingly implies in English-language search, and because the bracket makes the place-value alignment of the quotient visible.
Division vocabulary
| Term | Meaning |
|---|---|
| Dividend | The number being divided |
| Divisor | The number you divide by |
| Quotient | The whole-number result |
| Remainder | What is left over; its absolute value is smaller than the divisor's absolute value |
| Partial dividend | The number formed at each step from the previous remainder and the next digit |
| Partial quotient | One digit of the final quotient |
| DMSB | Divide, Multiply, Subtract, Bring down — the repeating cycle |
| Terminating decimal | A decimal that reaches a remainder of zero |
| Repeating decimal | A decimal whose remainder cycle never reaches zero |
| Mixed number | A whole number plus a proper fraction, e.g. 14 23/32 |
| Improper fraction | A fraction whose numerator is larger, e.g. 471/32 |
| Reciprocal | 1 divided by the number; dividing by x is multiplying by 1/x |
Where long division is used
- Splitting a bill. £471 shared between 32 people is 14 each with £23 left over — and the decimal form tells you it is £14.72 each if you split the remainder too.
- Unit price. A 471 g pack costing £3.20 works out at 0.68p per gram; the division is the calculation.
- Converting fractions to decimals. Every fraction-to-decimal conversion is a long division, and the remainder cycle tells you whether the decimal terminates or repeats.
- Long division of polynomials in algebra uses exactly the same cycle — divide the leading terms, multiply back, subtract, bring down the next term.
- Base conversion. Converting between number bases is repeated division with remainder; the base converter does it automatically.
- Everyday mental arithmetic. Knowing that 471 ÷ 32 is "a bit under 15" is often enough — and the bracket method is what makes that estimate trustworthy.
Using the long division solver for practice
A step-by-step long division calculator is most useful when it helps you understand the process rather than only giving you the answer. Try solving a problem on paper first, then use the interactive bracket to compare each quotient digit, product, subtraction and bring-down step. The current-operation panel explains why each number appears where it does.
For independent practice, open the worksheet generator and choose the dividend and divisor digit lengths. You can create a short warm-up, a longer mixed practice set, exact-division questions or problems that leave remainders. Keep the answer key hidden while working, then reveal it or print a separate key when checking.
Teachers can use the decimal-cycle view to demonstrate why a fraction such as 1/7 repeats, while the answer-forms view helps learners compare quotient-and-remainder notation with decimal and fraction notation. The same problem can therefore be explored as a written algorithm, a remainder pattern and an exact rational number.
Privacy
The calculator's arithmetic, animation, diagram, worksheet generation and answer checking run in your browser with JavaScript. The values entered into the calculator are not sent to a calculation server. Up to 12 recent valid problems are saved automatically in this browser using localStorage so you can reopen them; use Clear history in the Recent calculations panel to remove that local record. No account is required.
Limitations
- Each input is limited to 24 significant digits. Beyond that the bracket becomes too wide to be useful on screen.
- Auto mode checks up to 120 decimal places. If a remainder cycle is longer than that, the display is marked Precision limited rather than incorrectly labelled as terminating. Fixed display precision can be increased up to 200 places.
- The bracket layout shows the whole-number division. The decimal continuation is presented as a separate step chain rather than being appended to the bracket, because appending it makes the layout unreadable on narrow screens.
- The answer checker accepts quotient-and-remainder notation, decimals, fractions and mixed numbers. Its diagnosis suggests likely sign, quotient or remainder errors, but it cannot identify every possible handwritten slip.
- Only the bracket notation is drawn. The colon and angle-bracket conventions are described in the article but not rendered.
- Polynomial long division is a different (though analogous) procedure and is not supported here.
Frequently asked questions
What is a long division calculator?
A long division calculator divides one number by another using the written long division method and shows the working. This one draws the classic division bracket, animates each divide–multiply–subtract–bring down cycle, and gives the answer as a quotient with remainder, a decimal, a fraction and a mixed number.
How do you do long division step by step?
Set up the bracket with the dividend inside and the divisor outside. Divide: how many times does the divisor fit into the first part of the dividend? Write that digit in the quotient. Multiply the digit by the divisor and write the product below. Subtract. Bring down the next digit. Repeat until every digit is used. The last difference is the remainder. For 471 ÷ 32: 32 fits into 47 once, 47 − 32 = 15, bring down 1 to make 151, 32 fits four times, 151 − 128 = 23. Quotient 14, remainder 23.
What is the difference between the quotient and the remainder?
The quotient is the whole-number result — how many times the divisor fits. The remainder is what is left over after taking out as many whole groups as possible. In 471 ÷ 32 = 14 R 23, 14 is the quotient and 23 is the remainder. The absolute value of the remainder is always smaller than the absolute value of the divisor.
How do you do long division with decimals?
If the divisor has a decimal point, move it to the right until the divisor is a whole number, and move the dividend's decimal point the same number of places. Then divide as normal. For 4.71 ÷ 3.2, shift both two places to get 471 ÷ 320. If a remainder is left over, add a decimal point to the quotient and bring down zeros to continue into decimals.
How do you know when a decimal repeats?
Watch the remainders during the decimal part. Every remainder is smaller than the divisor, so there are only finitely many possible values. If the same remainder appears twice, every digit produced after that point repeats in the same order. The digits between the two occurrences form the repeating block.
How do you write a repeating decimal?
Draw a bar over the repeating block. 1 ÷ 3 = 0.333… is written 0.3̅, and 1 ÷ 6 = 0.1666… is written 0.16̅. For a multi-digit block the bar covers all of it: 1 ÷ 7 = 0.1̅4̅2̅8̅5̅7̅.
How do you convert a remainder to a fraction?
Put the remainder over the divisor. For 471 ÷ 32 = 14 R 23 the fractional part is 23/32, so the exact answer is the mixed number 14 23/32. As an improper fraction that is 471/32. Simplify by dividing both parts by their greatest common factor.
How do you check a long division answer?
Use the division identity: divisor × quotient + remainder = dividend. For 471 ÷ 32 = 14 R 23, check that 32 × 14 + 23 = 448 + 23 = 471. You can also bracket the quotient between multiples of ten: since 32 × 10 = 320 and 32 × 20 = 640, the quotient must lie between 10 and 20.
Can the remainder be larger than the divisor?
No. If the absolute value of the remainder equals or exceeds the absolute value of the divisor, another whole group could fit, so the quotient digit needs correcting. This calculator flags an oversized remainder when you check your own answer.
What is the DMSB method?
DMSB stands for Divide, Multiply, Subtract, Bring down — the four actions repeated for every digit of the dividend. Some classrooms use the mnemonic "Daddy, Mommy, Sister, Brother". This calculator colours each phase so the cycle is visible as it runs.
What happens if the dividend is smaller than the divisor?
The whole-number quotient is 0 and the remainder equals the dividend. For example, 3 ÷ 5 = 0 R 3. Continuing into decimals gives 0.6, because 30 ÷ 5 = 6.
Can you divide by zero?
No. Division by zero is undefined — there is no number that multiplied by zero gives a non-zero dividend. This calculator rejects a divisor of zero and explains why.
How do you divide negative numbers?
Divide the absolute values, then apply the sign rule: same signs give a positive quotient, different signs give a negative quotient. The remainder takes the sign of the dividend. For example, −7 ÷ 2 = −3 R −1, because 2 × (−3) + (−1) = −7.
Can this calculator handle very large numbers?
Yes. Each input supports up to 24 significant digits, and the division uses exact BigInt integer arithmetic rather than floating-point division. The quotient and remainder are exact within that input limit; only the displayed decimal expansion or rounded answer is subject to a selected precision limit.
Does it work on mobile?
Yes. The calculator rearranges its controls and result panels for narrow screens. Long digit columns, decimal-cycle cards and wide tables scroll inside their own containers instead of forcing the full page sideways.
Is this long division calculator free and private?
Yes, it is free with no account required. Every calculation, animation, diagram and worksheet runs in your browser with plain JavaScript. Nothing you type is uploaded. Up to 12 recent valid problems are saved automatically in this browser's localStorage and can be removed with Clear history.
Related tools on AIToolsPros
Sources and methodology
- Math Is Fun — Long Division: the standard written divide, multiply, subtract and bring-down sequence.
- Math Is Fun — Long Division Animation: a visual walkthrough of the repeated long-division steps.
- OpenStax — The Real Numbers: rational-number decimal expansions stop or repeat.
- Khan Academy — Writing Fractions as Repeating Decimals: notation for repeating blocks and decimal representations.
- Calculation methodology: decimal inputs are scaled by a common power of ten and divided using JavaScript BigInt arithmetic. Repeating decimals are detected by tracking previously encountered remainders; rounded values are calculated separately from the exact fraction.