Skip to main content
Academic

Polynomial Long Division Calculator

Polynomial long division calculator with every step shown. Get the quotient, the remainder, and a check. Handles fractions and missing terms.

Created by Muhammad Asif Zaheer
Reviewed by CalculatorPlanet Editorial Team

Published

Last updated

Set up in descending order
Dividend: x³ + 2x² − 3x + 4 (degree 3) Divisor: x − 7 (degree 1) No powers are missing, so no 0 placeholders are needed.
Step 1: divide the leading terms
Divide the leading terms: x³ ÷ x = x² Quotient so far: x² Multiply the divisor by x²: x²(x − 7) = x³ − 7x² Subtract: (x³ + 2x² − 3x + 4) − (x³ − 7x²) = 9x² − 3x + 4 The new dividend is 9x² − 3x + 4. Its degree (2) is still at least 1, so repeat.
Step 2: divide the leading terms
Divide the leading terms: 9x² ÷ x = 9x Quotient so far: x² + 9x Multiply the divisor by 9x: 9x(x − 7) = 9x² − 63x Subtract: (9x² − 3x + 4) − (9x² − 63x) = 60x + 4 The new dividend is 60x + 4. Its degree (1) is still at least 1, so repeat.
Step 3: divide the leading terms
Divide the leading terms: 60x ÷ x = 60 Quotient so far: x² + 9x + 60 Multiply the divisor by 60: 60(x − 7) = 60x − 420 Subtract: (60x + 4) − (60x − 420) = 424 What is left is 424. Its degree (0) is less than the divisor's degree (1), so stop. That is the remainder.
The same work as a long division layout
x² +9x +60 _____________________ x − 7 ) x³ +2x² -3x +4 x³ -7x² --------- 9x² -3x +4 9x² -63x --------- 60x +4 60x -420 --------- 424
Check the answer
Divisor × quotient + remainder should equal the dividend: (x − 7)(x² + 9x + 60) + 424 = x³ + 2x² − 3x − 420 + 424 = x³ + 2x² − 3x + 4 ✓ matches the dividend
Write the answer
(x³ + 2x² − 3x + 4)/(x − 7) = x² + 9x + 60 + 424/(x − 7)
Result
Quotient: x² + 9x + 60 | Remainder: 424
Rounds of division
3
Terms in the remainder (0 means it divides evenly)
1

How the Polynomial Long Division Calculator Formula Works

Polynomial long division works like the long division you learned for whole numbers, with one change: you compare leading terms instead of leading digits. Write both polynomials in descending order of power, and put a 0 coefficient in any empty place, so x³ + 4 becomes x³ + 0x² + 0x + 4. Then repeat four moves. Divide the leading term of what is left by the leading term of the divisor. Write that result in the quotient. Multiply the whole divisor by it. Subtract the product from what is left.

Stop when what is left is 0 or has a lower degree than the divisor. That leftover is the remainder. The result is always the same identity, dividend = divisor × quotient + remainder, which is also how you check the work. If the divisor has degree 2 or higher, long division is the method to use, because synthetic division only handles divisors shaped like x − c.

This calculator divides in exact fractions, so decimals and fractions in your polynomials give exact answers. It shows every subtraction and checks the result, and for smaller problems it also draws the long division layout you would write by hand.

dividend = divisor × quotient + remainder, where the remainder is 0 or has a lower degree than the divisor
What goes in, what comes out
  • dividendpolynomialx³+2x²-3x+4The polynomial being divided, written in x. Whole numbers, decimals, and fractions like 5/4 are all accepted as coefficients.
  • divisorpolynomialx-7The polynomial you divide by. It cannot be zero. It can have any degree, including a higher degree than the dividend.
  • quotientpolynomialHow many times the divisor fits into the dividend, as a polynomial.
  • remainderpolynomialWhat is left over. It is 0 or has a lower degree than the divisor.
Rounds of division
3
Values shown are from the worked example below
dividend
polynomial
The polynomial being divided, written in x. Whole numbers, decimals, and fractions like 5/4 are all accepted as coefficients.
divisor
polynomial
The polynomial you divide by. It cannot be zero. It can have any degree, including a higher degree than the dividend.
quotient
polynomial
How many times the divisor fits into the dividend, as a polynomial.
remainder
polynomial
What is left over. It is 0 or has a lower degree than the divisor.

Using the Polynomial Long Division Calculator

  1. Enter dividend (polynomial in x)

    Type a polynomial in x, like 3x² - x + 5 (x^2 also works), or an already-factored form like (x-1)(x+2). The small buttons below the field insert x, real exponents, and parentheses for you.

  2. Enter divisor (polynomial in x)

    Type a polynomial in x, like 3x² - x + 5 (x^2 also works), or an already-factored form like (x-1)(x+2). The small buttons below the field insert x, real exponents, and parentheses for you.

  3. Read the result

    Press Calculate to update the result. Until you do, the last result is dimmed and marked as out of date, so you always know which numbers belong to the values in the boxes.

A Real Worked Example

Divide x³ + 2x² − 3x + 4 by x − 7. The leading terms give x³ ÷ x = x², so the first quotient term is x². Multiply: x²(x − 7) = x³ − 7x². Subtract that from the dividend and 9x² − 3x + 4 is left.

Next, 9x² ÷ x = 9x. Multiply: 9x(x − 7) = 9x² − 63x. Subtract and 60x + 4 is left. Last, 60x ÷ x = 60, and 60(x − 7) = 60x − 420. Subtracting leaves 424. Its degree is 0, below the divisor's degree of 1, so the division stops.

The quotient is x² + 9x + 60 and the remainder is 424, so (x³ + 2x² − 3x + 4)/(x − 7) = x² + 9x + 60 + 424/(x − 7). To check, multiply (x − 7)(x² + 9x + 60) to get x³ + 2x² − 3x − 420, then add the remainder 424. That returns x³ + 2x² − 3x + 4.

1
dividend
x³+2x²-3x+4
2
divisor
x-7
This calculator returns3divisionSteps1remainderTerms

A remainder of zero: x⁴ + 2x² + 17x - 48 divided by x + 3

This dividend has no x³ term, so the setup is x⁴ + 0x³ + 2x² + 17x − 48. Four rounds give the quotient terms x³, -3x², 11x, and -16, and the last subtraction leaves exactly 0.

The quotient is x³ − 3x² + 11x − 16 with remainder 0. A zero remainder means x + 3 is a factor of the dividend: x⁴ + 2x² + 17x − 48 = (x + 3)(x³ − 3x² + 11x − 16). You can confirm it another way, because the remainder for a divisor x + 3 equals the polynomial's value at x = -3, and 81 + 18 − 51 − 48 = 0.

dividend: x^4+2x^2+17x-48divisor: x+34divisionSteps0remainderTerms

Missing powers need placeholders: x³ + 4 divided by x + 2

The dividend skips both x² and x, so it is written as x³ + 0x² + 0x + 4 before dividing. Without those zeros the columns would not line up.

The three rounds give x², then -2x, then 4. The quotient is x² − 2x + 4 and the remainder is -4, so the answer is x² − 2x + 4 − 4/(x + 2). It is close to the sum of cubes identity, x³ + 8 = (x + 2)(x² − 2x + 4), which holds exactly. Here the constant is 4 instead of 8, so the division comes up 4 short, which is the -4 left over.

dividend: x^3+4divisor: x+23divisionSteps1remainderTerms

A quadratic divisor: 3x⁴ + 5x³ + 2x + 4 divided by x² + 2x + 1

The divisor has degree 2, so synthetic division does not apply and long division is the method. The dividend skips x², so it is padded to 3x⁴ + 5x³ + 0x² + 2x + 4.

The three rounds give 3x², then -x, then -1. What is left is 5x + 5, which has degree 1, below the divisor's degree of 2, so the division stops there. The quotient is 3x² − x − 1 and the remainder is 5x + 5, so the answer is 3x² − x − 1 + (5x + 5)/(x² + 2x + 1). Here the remainder has two terms, not one, which is common when the divisor has degree 2 or more.

dividend: 3x^4+5x^3+2x+4divisor: x^2+2x+13divisionSteps2remainderTerms

Fractions as coefficients: (1/3)x³ + (5/4)x - 5/6 divided by x + 3

Fractions work the same way as whole numbers, and the calculator keeps them exact. The setup pads the missing x² term: (1/3)x³ + 0x² + (5/4)x − 5/6.

The quotient terms are (1/3)x², then -x, then 17/4. The last subtraction leaves -163/12. The quotient is (1/3)x² − x + 17/4 and the remainder is -163/12, so the answer is (1/3)x² − x + 17/4 − (163/12)/(x + 3). There is no rounding anywhere, so the check at the end matches the dividend exactly.

dividend: (1/3)x^3+(5/4)x-5/6divisor: x+33divisionSteps1remainderTerms

Testing a root: x³ - 6x² + 11x - 6 divided by x - 1

Substituting x = 1 into the polynomial gives 1 − 6 + 11 − 6 = 0, so the factor theorem says x − 1 is a factor. Three rounds of division give the quotient x² − 5x + 6 with remainder 0.

The quotient factors as (x − 2)(x − 3), so the polynomial is (x − 1)(x − 2)(x − 3) and its roots are 1, 2 and 3. Run the same polynomial with divisors x − 2 and x − 3 to confirm each also leaves a remainder of 0.

dividend: x^3-6x^2+11x-6divisor: x-13divisionSteps0remainderTerms

A divisor that is not monic: 4x³ - 3x + 7 divided by 2x - 1

The dividend has no x² term, so it is set up as 4x³ + 0x² − 3x + 7. Dividing 4x³ by 2x gives 2x², then the next round gives x, then -1, which makes three quotient terms and a quotient of 2x² + x − 1.

The final subtraction leaves 6, so the remainder is 6. Check by multiplying back: (2x − 1)(2x² + x − 1) = 4x³ − 3x + 1, and adding the remainder 6 returns 4x³ − 3x + 7. The remainder theorem agrees, since 4(1/2)³ − 3(1/2) + 7 = 0.5 − 1.5 + 7 = 6.

dividend: 4x^3-3x+7divisor: 2x-13divisionSteps1remainderTerms

A remainder with an x in it: 5x³ - 2x² + 7 divided by x² + 1

The divisor has degree 2, so the remainder can have degree 1 at most. Two rounds give the quotient terms 5x and -2, so the quotient is 5x − 2.

The leftover is -5x + 9. It has a lower degree than the divisor, so the division stops. Written in full, the answer is 5x − 2 + (-5x + 9)/(x² + 1). Check: (x² + 1)(5x − 2) = 5x³ − 2x² + 5x − 2, and adding -5x + 9 returns the original polynomial.

dividend: 5x^3-2x^2+7divisor: x^2+12divisionSteps2remainderTerms

What Else to Know

How Polynomial Long Division Works, Step by Step

Set both polynomials in descending order of power. If a power is missing, write it in with a 0 coefficient, so x³ + 4 becomes x³ + 0x² + 0x + 4. The zeros keep every power in its own column, which is what makes the subtraction line up.

Four steps of polynomial long division: divide, multiply, subtract, bring down, then repeat

Then repeat four moves. First, divide the leading term of what is left by the leading term of the divisor, and write the answer in the quotient. Second, multiply the whole divisor by that answer. Third, subtract the product from what is left, changing every sign in the product as you do. Fourth, bring down the next term and go again.

Stop when what is left is 0 or has a lower degree than the divisor. That leftover is the remainder. The rule is about degree, not about running out of terms. If the divisor is x² + 2x + 1 and you are left with 5x + 5, you stop, because 5x + 5 has degree 1 and the divisor has degree 2.

Polynomial long division of x³ + 2x² − 3x + 4 by x − 7: quotient x² + 9x + 60, remainder 424

The calculator above shows each round in words, and for smaller problems it also draws the long division layout, so you can match it line by line against your own work. A divisor with a higher degree than the dividend is allowed. The quotient is then 0 and the remainder is the dividend.

Common Mistakes and How to Catch Them

Most wrong answers come from a handful of slips. Sign errors in the subtraction are the most common. Subtracting 9x² − 63x from 9x² − 3x + 4 means the -63x becomes +63x, which gives 60x + 4. Misaligned columns come next, where terms of different powers get subtracted from each other. A missing zero placeholder causes the same problem when a power is absent.

Student writing in a notebook with a pencil beside a calculator while practising polynomial long division

Three more slips are easy to make. Dividing the whole polynomial instead of only the leading terms is one, since each round looks only at the first term of what is left. Stopping too early leaves a remainder whose degree is still at least the divisor's. Stopping too late, by dividing a leftover whose degree is already lower than the divisor's, invents a fraction in the quotient that belongs in the remainder.

The fastest check catches all of these. Multiply the divisor by the quotient, add the remainder, and compare with the dividend. The calculator runs this check on every answer and shows it as the last step. If your hand check does not match, redo the subtraction rounds first, since sign slips there are the usual cause.

Long Division or Synthetic Division?

Synthetic division is a shortcut for dividing by a divisor shaped like x − c. It works on the coefficients alone and takes less writing. Long division works for any divisor, including x² + 2x + 1 or 3x − 5, so it is the method to learn first and the only one that covers every case. If your divisor is x − c, both methods give the same quotient and remainder.

Long division vs synthetic division on one problem, both giving x² + 9x + 60 with remainder 424

There is a useful link between the two. When you divide by x − c, the remainder equals the value of the polynomial at x = c. Dividing x³ + 2x² − 3x + 4 by x − 7 left a remainder of 424, and putting 7 into the polynomial gives 343 + 98 − 21 + 4 = 424. When that remainder is 0, x - c is a factor of the polynomial, which is how both methods are used to factor polynomials and find roots.

Teacher at a whiteboard filled with algebra working during a polynomial division lesson

Using the Remainder: Checking, Factoring, and Partial Fractions

The division always produces the same identity: dividend = divisor × quotient + remainder, with the remainder either 0 or of lower degree than the divisor. Written as a fraction, dividend/divisor = quotient + remainder/divisor, which is the form most textbooks want for the final answer.

Remainder theorem example: the long division remainder 424 equals the polynomial value at x = 7

A remainder of 0 means the divisor is a factor, so the dividend factors as divisor × quotient. That is how one known root lets you break a cubic into a linear factor and a quadratic.

Division also comes first when you split a fraction whose top has a degree at least as high as its bottom. That kind of fraction has to be divided before it can be split, which is exactly what the partial fraction decomposition calculator does as its first step.

The Box Method: Same Division, Laid Out as a Grid

The box method gets the same quotient and remainder as long division, but it replaces the stacked subtractions with a grid, which many students find easier to keep tidy. Write the divisor's terms across the top of the box and build the quotient down the side, one term at a time, until the terms inside the box add up to the dividend.

Box method for polynomial division: x² + 5x + 6 divided by x + 2 gives x + 3

Take x² + 5x + 6 divided by x + 2. Put x and 2 along the top. The first quotient term has to produce x², so it is x, and it fills the first row with x² and 2x. The dividend has 5x, and 2x is already in the box, so the next row must add 3x. That makes the second quotient term 3, which fills its row with 3x and 6. The x terms (2x and 3x) add to 5x, the constant is 6, and nothing is left over, so the quotient is x + 3 with remainder 0.

The box and the long-division layout are two ways to record the same arithmetic. The box shows which products land in which column of powers, which helps with a missing term, while long division scales better to a divisor with three or more terms. If the box ever gives you a leftover that is lower in degree than the divisor, that leftover is the remainder.

The Factor Theorem: Using Division to Find Roots

When you divide by x − c, the remainder equals the polynomial's value at x = c. The factor theorem follows directly: x - c is a factor exactly when that remainder is zero, which is also when c is a root. So a division that leaves remainder 0 is both a factoring step and a root-finding step.

Graph paper with a pencil-drawn cubic curve crossing the x axis at three roots, with a ruler and pencil

Here is the standard routine. Take p(x) = x³ − 6x² + 11x − 6 and test x = 1. Substituting gives 1 − 6 + 11 − 6 = 0, so x − 1 is a factor. Divide by x − 1 and the quotient is x² − 5x + 6 with remainder 0. That quadratic factors as (x − 2)(x − 3), so the full factorization is (x − 1)(x − 2)(x − 3) and the roots are 1, 2 and 3.

Graph of x³ − 6x² + 11x − 6 with roots at 1, 2 and 3 found using the factor theorem

For a polynomial with integer coefficients, the rational root theorem narrows the candidates: any rational root is a factor of the constant term divided by a factor of the leading coefficient. Test a candidate by dividing. If the remainder is not zero, that candidate is not a root, and the remainder is simply p(c). Each successful division lowers the degree by one, so a cubic needs at most two successful tests before it is a quadratic you can solve directly.

Special Cases, Euclidean Division, and the Greatest Common Divisor

A few cases come up often. Dividing by a constant just divides every coefficient. Dividing by a monomial divides each term by the monomial. If the divisor has a higher degree than the dividend, the quotient is 0 and the remainder is the dividend itself. If the divisor's leading coefficient is not 1, the quotient may have fraction coefficients, which is normal, as in 6x³ + x² − 5x + 2 divided by 3x − 1, where the quotient is 2x² + x − 4/3 with remainder 2/3.

Laptop and open notebook with a pencil on a library table, set up for studying polynomial division

All of this is the Euclidean division of polynomials, which says that for any dividend and any non-zero divisor, there is exactly one quotient and one remainder with dividend = divisor × quotient + remainder, and the remainder is either 0 or has a lower degree than the divisor. That uniqueness is why the check step always works.

Repeating the division gives the greatest common divisor. To find the GCD of x² − 1 and x² + x − 2, divide x² + x − 2 by x² − 1: the quotient is 1 and the remainder is x − 1. Then divide x² − 1 by x − 1: the quotient is x + 1 and the remainder is 0. The last non-zero remainder, x − 1, is the greatest common divisor. This is the same Euclidean algorithm used for whole numbers, with degree playing the role of size.

Reference Tables

Long division and synthetic division compared
FeaturePolynomial long divisionSynthetic division
Divisors it handlesAny polynomialOnly divisors shaped like x − c
What you writeFull terms with their powersCoefficients only
Missing powersUse a 0 placeholderUse a 0 placeholder
SpeedMore writingLess writing
Gives quotient and remainderYesYes
Best used forQuadratic and higher divisors, or any divisorQuick work with divisors like x − 3
Worked divisions, each checked by multiplying back
DividendDivisorQuotientRemainder
x³ + 2x² − 3x + 4x − 7x² + 9x + 60424
x⁴ + 2x² + 17x − 48x + 3x³ − 3x² + 11x − 160
x³ + 4x + 2x² − 2x + 4-4
3x⁴ + 5x³ + 2x + 4x² + 2x + 13x² − x − 15x + 5
6x² + 5x − 4x + 26x − 710
2x³ − 3x² + 4x + 5x + 22x² − 7x + 18-31
x²x³ + 10x²
The most common slips and the fix for each
SlipWhat goes wrongFix
Sign error when subtractingA term keeps the wrong sign, so every later round is offChange every sign in the product before adding
Misaligned columnsTerms of different powers get combinedKeep each power in its own column
No 0 placeholderA missing power shifts the columnsWrite 0x² or 0x in the empty place
Stopping too earlyThe remainder still has degree at least the divisor'sKeep going until the degree drops below the divisor's
Stopping too lateA made-up fraction appears in the quotientStop once the leftover's degree is below the divisor's
Ten practice problems with answers (check each one by multiplying back)
DivideByQuotientRemainder
x² + 5x + 6x + 2x + 30
x³ − 8x − 2x² + 2x + 40
2x³ + 3x² − 5x + 6x + 32x² − 3x + 4-6
x³ + 3x² − 4x − 12x − 2x² + 5x + 60
4x³ − 3x + 72x − 12x² + x − 16
6x³ + x² − 5x + 23x − 12x² + x − 4/32/3
x⁴ − 1x² + 1x² − 10
x⁴ + x³ + x² + x + 1x² − 1x² + x + 22x + 3
5x³ − 2x² + 7x² + 15x − 2-5x + 9
2x⁴ - x³ + 3x − 5x² − x + 12x² + x − 1x − 4
Polynomial division vocabulary
TermMeaningExample in (x² + 5x + 6) ÷ (x + 2)
DividendThe polynomial being dividedx² + 5x + 6
DivisorThe polynomial you divide byx + 2
QuotientThe result of the divisionx + 3
RemainderWhat is left, with a lower degree than the divisor0
DegreeThe highest power of x in a polynomial2 for the dividend, 1 for the divisor
Leading termThe term with the highest degreex² in the dividend, x in the divisor
MonicA polynomial whose leading coefficient is 1Both are monic
Placeholder termA 0 coefficient written for a missing powerx³ + 4 becomes x³ + 0x² + 0x + 4
Quick cases before you start dividing
SituationWhat happens
Divisor is a non-zero constantDivide every coefficient by it, remainder is 0
Divisor is a single term (monomial)Divide each term of the dividend by it
Divisor degree is higher than the dividendQuotient is 0, remainder is the dividend
Divisor is x − cRemainder equals the polynomial's value at c (remainder theorem)
Remainder is 0Divisor is a factor, and the quotient is the other factor
Divisor's leading coefficient is not 1Quotient coefficients may be fractions

Frequently Asked Questions About the Polynomial Long Division Calculator

How do you do polynomial long division?

Write both polynomials in descending order with 0 placeholders for missing powers. Divide the leading term of the dividend by the leading term of the divisor and write the result in the quotient. Multiply the whole divisor by that result and subtract it from the dividend. Repeat with what is left until its degree is lower than the divisor's. What remains is the remainder. Enter your own polynomials above to see every round of the work.

Can you do polynomial long division on a calculator?

Yes, with this one. Enter the dividend and divisor above and it shows the quotient, the remainder, every round of the division, and a check. Most scientific calculators have no polynomial division key, so on those you work it out by hand using the steps on this page. Graphing calculators with a computer algebra system can usually divide polynomials directly, but they often skip the working that a class asks you to show.

When do you stop polynomial long division?

Stop when what is left is 0 or has a lower degree than the divisor. That leftover is the remainder. The rule is about degree, not about running out of terms. If you divide by x² + 2x + 1 and are left with 5x + 5, you stop, because 5x + 5 has degree 1 and the divisor has degree 2. Going further would need a power of x with a negative exponent, which is not a polynomial.

How do you divide polynomials with missing terms?

Write a 0 coefficient in every empty place before you start. For x³ + 4 that gives x³ + 0x² + 0x + 4. The zeros keep each power in its own column, so when you subtract, only terms with the same power are combined. Skipping the placeholders is one of the most common reasons a long division comes out wrong. The calculator adds them automatically and shows the padded form in its first step.

When should I use long division instead of synthetic division?

Use long division whenever the divisor is not shaped like x − c, such as x² + 2x + 1 or 3x − 5. Synthetic division only works for divisors like x − 3, though it is faster there. If your divisor is x − c, both methods give the same quotient and remainder, so use whichever your class expects. Long division is the one method that covers every case.

How do you check a polynomial long division answer?

Multiply the divisor by the quotient, add the remainder, and compare the result with the dividend. They must match exactly. For (x³ + 2x² − 3x + 4) ÷ (x − 7), the quotient x² + 9x + 60 times x − 7 gives x³ + 2x² − 3x − 420, and adding the remainder 424 returns the original dividend. This calculator runs that check on every answer and shows it as the last step.

What does a remainder of zero mean?

A remainder of zero means the divisor divides the dividend evenly, so the divisor is a factor and the dividend equals the divisor times the quotient. For example, x⁴ + 2x² + 17x − 48 divided by x + 3 leaves 0, so x + 3 is a factor. This is the idea behind finding roots. If dividing by x - c leaves a remainder of 0, then c is a root of the polynomial.

How do you write the remainder in the final answer?

Put it over the divisor and add it to the quotient: dividend/divisor = quotient + remainder/divisor. For the first example on this page, that is x² + 9x + 60 + 424/(x − 7). If the remainder is negative, subtract it instead, as in x² − 2x + 4 − 4/(x + 2). If the remainder is 0, the answer is just the quotient.

What grade level is polynomial long division?

Polynomial long division is usually introduced in Algebra 2 and used again in Precalculus, where it supports factoring higher-degree polynomials and working with rational functions. It builds on ordinary long division with whole numbers, so the main new skills are keeping powers aligned and subtracting polynomials carefully, including the signs.

Is dividing polynomials hard?

The method is the same four moves every time, so it is more repetitive than hard. Most trouble comes from small slips: sign errors when subtracting, terms of different powers lined up in the same column, and forgotten zero placeholders. Working neatly in columns and checking the answer by multiplying back catches most of them. Using the calculator above to see each round can help you find where a hand attempt went off.

What are the most common polynomial long division mistakes?

The usual slips are sign errors in the subtraction, misaligned columns, a missing 0 placeholder for an absent power, dividing the whole polynomial instead of only the leading terms, and stopping too early or too late. Multiplying the divisor by the quotient and adding the remainder shows right away whether an answer is wrong, and the rounds in the calculator show where it went wrong.

Can the divisor have a higher degree than the dividend?

Yes. Then no division can happen, so the quotient is 0 and the remainder is the dividend itself. For example, x² divided by x³ + 1 gives a quotient of 0 and a remainder of x². The calculator handles this case and says so in its steps, rather than returning an error.

Does this calculator work with fractions and decimals?

Yes. Coefficients can be whole numbers, decimals, or fractions written like 5/4, and the division is done in exact fractions, so there is no rounding. For example, (1/3)x³ + (5/4)x − 5/6 divided by x + 3 gives a quotient of (1/3)x² − x + 17/4 and a remainder of -163/12. Write x/2 as (1/2)x, since a slash after x is not read as division.

How do you divide a polynomial by a monomial?

Divide each term of the polynomial by the monomial separately and add the results. For example, (6x³ + 9x² − 3x) ÷ 3x = 2x² + 3x − 1. That shortcut works when the divisor has one term. The long division on this page also handles it, because a monomial is just a divisor with a single term.

How is polynomial division related to partial fractions?

A fraction can only be split into partial fractions when the degree of its top is lower than the degree of its bottom. If it is not, you divide first, which gives a polynomial plus a proper fraction, and then you decompose that proper fraction. The partial fraction decomposition calculator on this site does this division step automatically before it splits the fraction.

What is the division algorithm for polynomials?

For any polynomial A and nonzero polynomial B, there is exactly one quotient Q and remainder R such that A = B × Q + R, where R is 0 or has a lower degree than B. Long division is the method that finds Q and R. The same identity is what you use to check an answer.

What is the remainder theorem?

When you divide a polynomial by x − c, the remainder equals the polynomial's value at x = c. Dividing x³ + 2x² − 3x + 4 by x − 7 leaves 424, and substituting 7 into the polynomial also gives 424. So the remainder can be found without dividing, and a remainder of 0 means x - c is a factor.

How do you divide a polynomial by a polynomial?

Use polynomial long division, which works for any two polynomials. Write both in descending order with 0 placeholders for missing powers, divide the leading term of the dividend by the leading term of the divisor, multiply the divisor by that result, subtract, and repeat until what is left has a lower degree than the divisor. If the divisor has the form x − c, synthetic division gets the same answer with less writing. Enter both polynomials above to see the work.

What is the quick method for dividing polynomials?

Synthetic division is the shortcut, and it is the quick method, but it only works when the divisor is shaped like x − c, a linear factor with a leading coefficient of 1. It uses only the coefficients, multiplying and adding instead of writing out full terms, and it gives the same quotient and remainder as long division. For any other divisor, such as x² + 2x + 1, long division is the method to use, and this calculator handles every kind of divisor.

How do you divide polynomials on a TI-84?

Programs that divide polynomials and carry out synthetic division have been written in TI-Basic for the TI-83 and TI-84 Plus, and they can be typed into the calculator. Beyond that, most classes expect you to work the division by hand. Models and software versions differ, so check your own calculator's manual before relying on a particular feature. The calculator on this page does the whole division and shows each step, which makes it a fast way to check a hand attempt.

What is the box method for dividing polynomials?

The box method, also called the area model, lays the division out as a rectangle. The divisor forms one side, the dividend is the total area, and the quotient is the missing side, found one term at a time. You divide the first dividend term by the first divisor term, fill in the matching box, then check that the like terms in the grid add up to the dividend. It gives the same quotient and remainder as long division, only drawn as a grid.

What are the steps for dividing polynomials?

There are five steps. First, write both polynomials in descending order, with a 0 for any missing power. Second, divide the leading term of the dividend by the leading term of the divisor to get the next quotient term. Third, multiply the whole divisor by that term. Fourth, subtract the product from the dividend. Fifth, repeat with what is left until its degree is lower than the divisor's. The last leftover is the remainder.

What is Euclidean division of polynomials?

It is the guarantee that dividing a polynomial by any non-zero polynomial gives exactly one quotient and one remainder, written dividend = divisor × quotient + remainder. The remainder is either 0 or has a lower degree than the divisor. Long division is the method that finds them, and this calculator then checks the result by multiplying back.

Can the divisor have a leading coefficient other than 1?

Yes. Long division works for any non-zero divisor. When the divisor is not monic, the quotient terms can be fractions, because each step divides by that leading coefficient. For example, 6x³ + x² − 5x + 2 divided by 3x − 1 gives 2x² + x − 4/3 with remainder 2/3. The calculator handles the fractions exactly.

How does the factor theorem relate to polynomial division?

The factor theorem says x - c is a factor of a polynomial exactly when dividing by x - c leaves remainder 0. So a division that ends in 0 proves the divisor is a factor and that c is a root. Any non-zero remainder is the polynomial's value at c, so the division doubles as a test.

How do I find the roots of a polynomial using division?

Pick a candidate root c, usually a factor of the constant term divided by a factor of the leading coefficient. Divide by x − c. If the remainder is 0, c is a root and the quotient is a lower-degree polynomial you can keep factoring. If not, try another candidate. Repeat until you reach a quadratic you can solve directly.

How do I find the GCD of two polynomials?

Use the Euclidean algorithm. Divide the larger-degree polynomial by the smaller and keep the remainder, then divide the previous divisor by that remainder, and repeat until the remainder is 0. The last non-zero remainder is the greatest common divisor, which you can scale to make its leading coefficient 1.

References

  1. [1] Wikipedia contributors. “Polynomial long division.” Wikipedia. Accessed 2026-10-04.
  2. [2] OpenStax. “3.5: Dividing Polynomials (Precalculus).” LibreTexts Mathematics. Accessed 2026-10-04.