How long division works
Long division finds how many whole times the divisor fits into the dividend, and what is left over:
Dividend = Quotient × Divisor + Remainder
For 127 ÷ 4: 4 fits into 127 thirty-one times (31 × 4 = 124), leaving a remainder of 3. So the answer is 31 remainder 3, or 31.75 as a decimal (3 ÷ 4 = 0.75).
Remainder vs. decimal
The remainder form keeps everything in whole numbers, which is handy for splitting items into groups. The decimal form continues the division past the decimal point — divide the remainder by the divisor and add it on. For just the leftover, see the modulo calculator.
Frequently asked questions
How do you do long division?
Divide the dividend by the divisor to find how many whole times it fits — that is the quotient. Multiply back and subtract to find what is left over — the remainder. For 127 ÷ 4, the quotient is 31 and the remainder is 3, because 31 × 4 = 124 and 127 − 124 = 3.
What is the quotient and remainder?
The quotient is the whole number of times the divisor goes into the dividend, and the remainder is what is left over that is too small to divide again. Together they give an exact answer: 127 ÷ 4 = 31 remainder 3.
How do I turn a remainder into a decimal?
Divide the remainder by the divisor and add it to the quotient. For 127 ÷ 4, the remainder 3 ÷ 4 = 0.75, so the decimal answer is 31.75. The calculator shows both the remainder form and the decimal.
What is the dividend and divisor?
The dividend is the number being divided (it goes under the division bar), and the divisor is the number you divide by. In 127 ÷ 4, 127 is the dividend and 4 is the divisor.
Can you divide by zero?
No. Division by zero is undefined — there is no number of times zero fits into another number. The calculator flags it instead of returning a result.
Disclaimer: Inputs are treated as whole numbers; division by zero is undefined. Provided for educational purposes.