The long division calculator above does the thing most division calculators refuse to do: it shows the working. Type a dividend and a divisor and you get the classic bracket layout with every quotient digit in place, every bring-down, every multiplication and every subtraction line, finishing with the remainder. That layout is the reason people search for long division in the first place. Almost nobody needs a machine to tell them that 4169 divided by 12 is roughly 347.4 — they need to see how the 347 was built one digit at a time so they can reproduce it on paper.
Arb Digital builds free calculators for the same reason we build measurement dashboards for clients: a number without its derivation is hard to trust and impossible to learn from. This page gives you the answer, the remainder, the decimal expansion and the full trace, plus a verification line that multiplies the quotient back by the divisor to prove the result is right.
What This Long Division Calculator Does
Enter any dividend and any non-zero divisor. The calculator performs the standard algorithm — the one taught in primary and middle school almost everywhere — and reports four things at once. The headline result is the quotient in whichever style you choose: a whole number with a remainder, or a decimal expanded to as many places as you ask for. The supporting grid shows the whole quotient on its own, the remainder on its own, the decimal answer, and a check value calculated as divisor × quotient + remainder, which should equal your original dividend exactly.
Below that, the working panel renders the actual long division layout in monospace text, aligned the way a teacher would write it on a board. Each step brings down the next digit of the dividend, finds how many times the divisor fits into the current partial value, writes that digit into the quotient, subtracts the product, and carries the difference forward. Under the layout you get the same steps in sentences, so you can read the reasoning even if the alignment is hard to follow on a narrow screen.
Negative inputs are handled by dividing the absolute values and applying the sign to the quotient afterwards, which is how long division is done by hand. If you specifically need the mathematical modulo behaviour for negative numbers — where the remainder is never negative — that is a different convention and our remainder calculator covers it explicitly.
How to Use It
- Enter the dividend. This is the larger number in most school problems — the total being shared out. In 4169 ÷ 12, the dividend is 4169.
- Enter the divisor. The number you are dividing by, written outside the bracket. It must not be zero; the calculator will flag that rather than return a meaningless value.
- Choose your answer style. Quotient and remainder is what most homework asks for. Decimal quotient is what you want for money, measurements or anything continuous.
- Set the decimal places. Anywhere from zero to ten. This only affects the decimal answer, never the step-by-step whole-number layout.
- Read the working panel. Compare each subtraction line against your own paper attempt to find exactly where a hand calculation went wrong.
The Formula and How It's Calculated
Long division is not a formula so much as a repeated procedure, but the relationship it satisfies can be written as a single identity: dividend = divisor × quotient + remainder, where the remainder is always smaller than the divisor and never negative. This is the division algorithm, and it is the check line in the results grid. For the default values, 12 × 347 + 5 = 4164 + 5 = 4169, which matches the dividend exactly, so the quotient and remainder are correct.
The procedure itself walks the dividend from left to right. Take 4169 ÷ 12. The first digit is 4; twelve does not fit into 4, so the first quotient digit is 0 and we carry 4 forward. Bring down the 1 to make 41. Twelve fits into 41 three times because 12 × 3 = 36 and 12 × 4 = 48 is too big, so the next quotient digit is 3 and the remainder is 41 − 36 = 5. Bring down the 6 to make 56. Twelve goes into 56 four times: 12 × 4 = 48, remainder 8. Bring down the 9 to make 89. Twelve goes into 89 seven times: 12 × 7 = 84, remainder 5. There are no digits left, so the quotient reads 0347 — written 347 — with a final remainder of 5. As a decimal, 4169 ÷ 12 = 347.4167 to four places.
Every step does the same four operations in the same order: bring down, estimate, multiply, subtract. The estimate step is the only one requiring judgement, and it is where nearly all hand-calculation errors happen. Wolfram MathWorld's entry on long division sets out the same algorithm in formal notation if you want the textbook statement.
Why the Remainder Is Not the Same as the Decimal Part
This trips up more learners than any other part of division, and it is worth being precise about. In 4169 ÷ 12 the remainder is 5 and the decimal answer is 347.4167. The 5 and the .4167 are not the same quantity in different clothing. The remainder counts whole units left over. The decimal fraction expresses those leftovers as a proportion of the divisor: 5 ÷ 12 = 0.4167. So a remainder of 5 with a divisor of 12 gives a decimal tail of 0.4167, but the same remainder of 5 with a divisor of 8 would give 0.625. The remainder alone tells you nothing until you know what it is a remainder of.
This is exactly why an answer written as "347 r 5" is incomplete without the divisor beside it, and why remainders cannot be compared across different problems. A remainder of 3 out of 4 is a large leftover. A remainder of 3 out of 1000 is almost nothing. When a question asks you to compare or rank division results, convert to decimals or to a fraction first. Our fraction calculator is useful here because remainder ÷ divisor is precisely the fractional part of the answer.
When to Round Up Instead of Down
Long division always truncates: the quotient is the number of complete times the divisor fits, and anything left over is the remainder. Real problems frequently want the opposite. If 4169 people need transport and each coach seats 12, the arithmetic gives 347 remainder 5, but the answer to the question is 348 coaches, because those last five people still need a seat. Mathematicians call this the ceiling; teachers usually call it a "rounding up" word problem, and it is one of the most commonly missed marks in division questions because the arithmetic is right and the interpretation is wrong.
The reverse also occurs. If you have 4169 centimetres of ribbon and each gift needs 12 centimetres, the answer is 347 gifts — the leftover five centimetres is not enough for another one, so it is discarded. Same numbers, same division, opposite treatment of the remainder. Always ask what the remainder physically represents before deciding whether to keep it, drop it, or round the quotient up. If your work involves rounding rules more generally, our rounding calculator covers decimal places, significant figures and the awkward exactly-half case.
Recognising a Recurring Decimal Before You Divide
Some divisions terminate and some run forever. The rule is clean: written in lowest terms, a fraction has a terminating decimal expansion if and only if its denominator's only prime factors are 2 and 5. Dividing by 8 (2 × 2 × 2) terminates. Dividing by 20 (2 × 2 × 5) terminates. Dividing by 12 (2 × 2 × 3) does not, because of that factor of 3 — which is why 4169 ÷ 12 produces the repeating tail 347.41666… with the 6 recurring forever, a pattern set out formally in MathWorld's article on repeating decimals. Dividing by 7 never terminates either, and produces the famous six-digit repeating block.
Knowing this in advance saves time and prevents a specific error: writing a rounded decimal and presenting it as exact. When the expansion recurs, the honest answers are the fraction, the quotient-and-remainder form, or a decimal with a stated number of places. Use our LCM and GCF calculator to reduce a fraction to lowest terms first, since the rule only applies once the fraction is fully simplified.
Long Division With Decimals in the Dividend or Divisor
The algorithm above assumes whole numbers, which is why the working panel converts your inputs before tracing the steps. Handling decimals by hand uses a simple transformation: multiply both the dividend and the divisor by the same power of ten until the divisor is a whole number, then divide as normal. Dividing 8.4 by 0.12 is identical to dividing 840 by 12, because both numbers were multiplied by 100 and a ratio is unchanged when both parts are scaled equally. The answer is 70 either way.
A decimal point in the dividend alone is even easier — divide as if the point were not there, then place the point in the quotient directly above where it sits in the dividend. The one thing you must not do is shift only one of the two numbers. Scaling the dividend without scaling the divisor changes the answer by a factor of ten, and that is the single most common decimal-division mistake. The same proportional reasoning underpins our cross multiplication calculator, which solves proportions by scaling both sides of an equation together.
Checking Your Answer Three Different Ways
The strongest check is the multiplication identity already built into the results grid: multiply the divisor by the whole quotient, add the remainder, and confirm you get the dividend back. If it does not match, the error is in the arithmetic, not the method. A second check is estimation: round both numbers to something friendly and see whether the answer is in the right neighbourhood. Roughly 4000 ÷ 12 is a bit over 330, so a quotient of 347 is plausible while a quotient of 34 or 3470 clearly is not. This catches misplaced digits.
The third check applies when the divisor is 3 or 9: the digit sum of the dividend tells you what the remainder must be. The digits of 4169 add to 20, and 20 leaves a remainder of 2 when divided by 9, so 4169 ÷ 9 must have remainder 2 whatever else happens. Our digit sum calculator runs that test instantly, and it is a genuinely useful sanity check on longer divisions.
Arb Digital builds and maintains hundreds of free tools like this one. Browse the full library, or tell us what you'd find useful and we'll consider it for the next release.
Browse All Free Tools Suggest a ToolCommon Mistakes to Avoid
- Dropping a zero in the quotient. If the divisor does not fit into the current partial value, the quotient digit is 0 and it must still be written. Skipping it shifts every later digit and changes the answer by a factor of ten.
- Subtracting before multiplying. The order is estimate, multiply, subtract. Subtracting the divisor itself instead of the product of divisor and quotient digit is a frequent slip on multi-digit divisors.
- Leaving a remainder larger than the divisor. If your remainder is bigger than or equal to the divisor, the quotient digit was too small. The remainder is always strictly less than the divisor.
- Treating the remainder as decimals. "347 r 5" is not 347.5. The decimal tail is remainder ÷ divisor, which here is 5 ÷ 12 = 0.4167.
- Rounding down in a word problem that needs rounding up. Containers, vehicles, packs and boxes almost always require the ceiling, not the truncated quotient.
Related Free Tools From Arb Digital
For the leftover on its own, including negative-number modulo behaviour, use the remainder calculator. To convert the remainder into a fraction and simplify it, use the fraction calculator. The rounding calculator handles decimal places and significant figures once you have a decimal answer, and the percentage calculator turns a share into a percentage. For general arithmetic beyond division, the scientific calculator covers roots, powers and trigonometry. Browse the full free online tools hub for the rest of the library.
Frequently Asked Questions
Work left to right through the dividend. Bring down the next digit, work out how many whole times the divisor fits into the current value, write that as the next quotient digit, multiply it by the divisor, subtract the product, and carry the difference to the next digit. Repeat until every digit has been brought down; whatever is left is the remainder.
It is 347 with a remainder of 5, or 347.4167 as a decimal rounded to four places. You can check it by multiplying back: 12 times 347 is 4164, and 4164 plus the remainder 5 gives 4169, the original dividend.
No. The remainder counts whole leftover units, while the decimal part expresses those leftovers as a proportion of the divisor. Divide the remainder by the divisor to convert one into the other: a remainder of 5 with a divisor of 12 becomes 0.4167.
Division by zero is undefined, not infinite. No number multiplied by zero can give a non-zero dividend, so no quotient exists. This calculator flags a zero divisor rather than returning a value, because any value it returned would be wrong.
Multiply both the dividend and the divisor by the same power of ten until the divisor is a whole number, then divide normally. Scaling both numbers by the same factor leaves the answer unchanged, so 8.4 divided by 0.12 gives exactly the same result as 840 divided by 12.
A fraction in lowest terms terminates only when the denominator's prime factors are limited to 2 and 5. A denominator containing 3, 7, 11 or any other prime produces a recurring decimal, so you should give the answer as a fraction, as a quotient with remainder, or as a decimal rounded to a stated number of places.
No. If your remainder is greater than or equal to the divisor, one of your quotient digits was too small and the divisor could have fitted in at least one more time. A correct remainder is always at least zero and always strictly less than the divisor.