How it’s calculated
Long division splits a dividend into equal groups of the divisor, one digit at a time. Each round has four moves: divide (how many times does the divisor fit?), multiply (that digit × the divisor), subtract (what is left over), and bring down the next digit. When the digits run out, what is left is the remainder.
To go on into decimals, add a decimal point and keep bringing down zeros. If the remainder ever returns to 0 the decimal ends (1 ÷ 8 = 0.125). If a remainder repeats, the digits repeat forever; they are shown in brackets, so 1 ÷ 6 = 0.1(6) means 0.1666… and 1 ÷ 7 = 0.(142857). A fraction in lowest terms ends only when its denominator has no prime factors other than 2 and 5.
Negative numbers. This calculator uses truncated division: the quotient is rounded toward zero and the remainder takes the sign of the dividend, so −7 ÷ 2 = −3 R −1 (check: 2 × −3 + −1 = −7), and 7 ÷ −2 = −3 R 1. Some textbooks and programming languages choose a different convention for negatives (such as always giving a positive remainder), so check which your course expects.
Example: 1234 ÷ 56. 56 does not fit into 1 or 12, but fits into 123 twice (2 × 56 = 112, 123 − 112 = 11). Bring down the 4 to make 114: it fits twice (112), leaving 2. So 1234 ÷ 56 = 22 R 2, and the check is 56 × 22 + 2 = 1234. Carrying on, 2 ÷ 56 = 0.0357142857…, so the decimal is 22.03(571428), which is 22.0357 to 4 places.
Frequently asked questions
What does R mean in a division answer?
R stands for remainder: the amount left over that is smaller than the divisor. 17 ÷ 5 = 3 R 2 means 5 fits into 17 three times with 2 left over.
How do I write a repeating decimal?
Put the repeating digits in brackets (or draw a bar over them). 2 ÷ 3 = 0.(6) means 0.6666… and 1 ÷ 7 = 0.(142857).
What is the remainder when the dividend is smaller than the divisor?
The quotient is 0 and the remainder is the dividend itself. For example 3 ÷ 8 = 0 R 3, or 0.375 as a decimal.
Why is the remainder negative for a negative dividend?
With truncated division the remainder always has the same sign as the dividend, so that divisor × quotient + remainder gives back the dividend. −7 ÷ 2 = −3 R −1.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Prealgebra 2e, §1.5 Divide Whole Numbers — OpenStax
- Prealgebra 2e, §3.4 Multiply and Divide Integers — OpenStax
- Prealgebra 2e, §5.3 Decimals and Fractions (repeating decimals) — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator