See long division written in a school-style column diagram, with exact quotients, remainders, decimal expansions, and step-by-step subtraction.
Long Division Calculator
Whole-number inputs only. Up to 18 dividend digits and 12 divisor digits; decimal output is truncated, not rounded.
See the division rather than only its answer
Long division organises one large division into a sequence of small decisions. At each position you choose a quotient digit, multiply it by the divisor, subtract, and bring down the next digit. This calculator writes those decisions in a column diagram and follows them with a numbered explanation. The layout is generated from the actual arithmetic, so its digits and remainders come from the same calculation as the answer.
Enter a nonnegative whole-number dividend and a positive whole-number divisor. The dividend is the amount being shared; the divisor tells you the size or number of groups. Select Quotient and remainder for the school remainder form, or Decimal expansion to continue with up to six decimal digits. Negative numbers and decimal inputs are outside this tool’s input range; the Integer Calculator and Fraction Calculator cover other exact quotients.
Follow 847 divided by 7
Start with the leftmost digit, eight. Seven fits into eight once. Write one in the hundreds position of the quotient, multiply \(1\times7=7\), and subtract to leave one. Bringing down the next digit, four, produces fourteen.
Seven fits into fourteen twice. After subtracting fourteen, the remainder is zero. Bring down the final digit, seven, and divide again: seven fits once with nothing left. The quotient digits are one, two, and one, so \(847\div7=121\).
Each quotient digit belongs above the dividend digit currently being processed. Keeping those columns aligned is the reason for writing the calculation in this shape. A correct sequence of digits written in the wrong columns would describe a different number.
Keep a zero when a place contributes nothing
In \(1005\div5\), the first useful group is ten, which gives two. After subtracting ten, bringing down the next zero still gives zero. The tens position of the quotient must therefore contain zero. Bringing down five produces the final digit one.
Writing twenty-one would drop a place value and fail the check. Leading zeros before the first useful quotient digit are unnecessary, but a zero between later quotient digits is essential. The diagram retains these internal zeros.
Understand what a remainder tells you
A remainder is the amount left after making the greatest possible number of complete groups. For nonnegative whole-number division, it must be at least zero and smaller than the divisor. The check is:
For \(58\div4\), the whole-number quotient is fourteen and the remainder is two. The identity \(58=4\times14+2\) checks both parts. A supposed remainder of six would be too large, because another group of four could still be made. If the dividend is smaller than the divisor, the quotient is zero and the dividend itself is the remainder.
Continue into decimal places
To continue after the integer digits, place a decimal point in the quotient and bring down zeros beside the remainder. With \(58\div4\), the remainder two becomes twenty tenths; dividing by four gives five tenths, so the exact decimal is \(14.5\).
Some divisions never reach a zero remainder. For \(1\div3\), each new zero produces another quotient digit three. If you request four decimal places, the tool shows \(0.3333\) with an approximation sign. It truncates at the selected place; it does not round the last digit. A terminating expansion stops early as soon as its remainder reaches zero.
Use the diagram as a practice check
Try \(936\div8\), then \(73\div6\). The first quotient is exactly 117. The second has quotient twelve and remainder one. Before opening a calculation, estimate the size of the answer: the second should be a little more than twelve, since \(6\times12=72\). Afterward, check the column alignment, every subtraction, and the final identity. Longer diagrams can be scrolled horizontally on a narrow screen while the page keeps its normal vertical flow.