Division Long Calculator

The expansion stops early if it terminates or a repeating block is found.
Quotient (whole number)
14
Long Division Calculator
Remainder
2
Quotient as a decimal
14.285714
Decimal expansion
14.(285714)
Repeating block
285714
Length of the repeating block
6
Decimal terminates
no
As a mixed number
14 2/7
Check
100 = 7 x 14 + 2
Steps of working
9
Worked out from Euclid’s division lemma: for integers a and b > 0 there are unique q and r with a = bq + r and 0 <= r < b and 1 other source.

How this is worked out

12 steps
  1. Divide 100 by 7.
  2. Bring down 1: 1 ÷ 7 = 0, subtract 0 x 7 = 0, remainder 1
  3. Bring down 0: 10 ÷ 7 = 1, subtract 1 x 7 = 7, remainder 3
  4. Bring down 0: 30 ÷ 7 = 4, subtract 4 x 7 = 28, remainder 2
  5. Bring down 0: 20 ÷ 7 = 2, subtract 2 x 7 = 14, remainder 6
  6. Bring down 0: 60 ÷ 7 = 8, subtract 8 x 7 = 56, remainder 4
  7. Bring down 0: 40 ÷ 7 = 5, subtract 5 x 7 = 35, remainder 5
  8. Bring down 0: 50 ÷ 7 = 7, subtract 7 x 7 = 49, remainder 1
  9. Bring down 0: 10 ÷ 7 = 1, subtract 1 x 7 = 7, remainder 3
  10. Bring down 0: 30 ÷ 7 = 4, subtract 4 x 7 = 28, remainder 2
  11. Quotient 14 remainder 2.
  12. The remainder 2 has come round again, so the digits "285714" repeat forever: 14.(285714)
Long division workingtable
stepbringDownpartialDividendquotientDigitsubtractremainder
10^211001
10^1010173
10^00304282
10^-10202146
10^-20608564
10^-30405355
10^-40507491
10^-5010173
10^-60304282
Written outtable
14.285714, ----------, 7 ) 100.000000, -7, --, 30, -28, ---, 2.0, -1.4, ----, 0.60, -0.56, -----, 0.040, -0.035, ------, 0.0050, -0.0049, -------, 0.00010, -0.00007, --------, 0.000030, -0.000028, ---------, 0.000002

Results are general information, not financial, tax, legal, medical or engineering advice.