Skip to content
FiftyCalc Free calculators for all 50 states

Long Division Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter a dividend and a divisor (whole numbers) to get the quotient, the remainder and the decimal answer.

Result

Sample figures

Quotient (whole part)—

Remainder —

  • Decimal answer—
  • Check: quotient × divisor + remainder—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Long Division Calculator

Dividend (the number being divided): enter a number. Prefilled example: 1,234.

Divisor (the number you divide by, not 0): enter a number. Prefilled example: 7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Dividend (the number being divided): enter a number.
  2. Divisor (the number you divide by, not 0): enter a number.
  3. Read the result: Quotient (whole part); the panel also shows Remainder, Decimal answer and Check: quotient × divisor + remainder.

How this calculator works

Long division finds the whole number q and the remainder r with dividend = q × divisor + r, where 0 ≤ r < divisor for positive numbers (the division algorithm).

The quotient is the whole part of dividend ÷ divisor, rounded toward zero; the remainder is what is left: r = dividend − q × divisor.

The decimal answer continues the division past the decimal point: 1234 ÷ 7 = 176.2857…

The formula

  1. Q={floor⁡(nd)if n÷d≥0ceil⁡(nd)otherwise
Symbols used in the formula
SymbolMeaning
nDividend (the number being divided)
dDivisor (the number you divide by, not 0)
QQuotient (whole part)
floor(x)the largest whole number not above x.
ceil(x)the smallest whole number not below x.

Worked example

Dividend (the number being divided)1,234
Divisor (the number you divide by, not 0)7
Remainder2
Decimal answer176.2857
Check: quotient × divisor + remainder1,234
  1. Q=floor⁡(1,2347)=176

Quotient (whole part) 176

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How do you write a remainder?

As 176 R 2, or as a mixed number: 1234 ÷ 7 = 176 2/7, since the remainder 2 is still to be divided by 7.

How do you check a long division?

Multiply the quotient by the divisor and add the remainder; you should get the dividend back: 176 × 7 + 2 = 1234.

Can the remainder be larger than the divisor?

No. If it were, the divisor would fit at least once more, so the quotient would be too small.

Related calculators