Polynomial Division Calculator

Quotient Q(x)—
Remainder R(x)—
Degree of quotient—

How Polynomial Division Calculator is calculated: Long division: divide the leading terms, multiply, subtract, repeat; deg R < deg D

What is polynomial division?

Polynomial division is the process of dividing one polynomial by another, giving a quotient and a remainder, just as dividing numbers gives a quotient and a remainder. If you divide x to the fourth minus 5x squared plus 4 by x minus 1, the quotient is x cubed plus x squared minus 4x minus 4, and the remainder is 0, which means x minus 1 is a factor. The remainder always has a lower degree than the divisor, and if the remainder is zero, the division is exact.

This calculator divides the dividend polynomial by the divisor polynomial, using long division, and shows the quotient, the remainder and the degree of the quotient. For the simpler case of dividing numbers, a quadratic equation calculator covers the same idea with fractions, while this page handles polynomials.

Everything on this page runs in your browser, so the numbers you type never leave your device. There is no sign-up, no upload and no waiting for a server. Change any input and the results update straight away, which makes it easy to test a few values side by side before you decide anything. You can also use it offline once the page has loaded, because the calculation needs no connection at all.

How polynomial long division works

Long division works one term at a time. Divide the leading term of the dividend by the leading term of the divisor, and that gives the first term of the quotient. Multiply the whole divisor by that term, subtract the result from the dividend, and bring down the next term. Repeat until the remaining polynomial has a lower degree than the divisor, and what is left is the remainder. The process is exactly the same as long division with numbers, with terms instead of digits.

The coefficients are entered as comma-separated lists, highest degree first, with zeros for any missing powers. The dividend 1, 0, minus 5, 0, 4 means x to the fourth plus 0x cubed minus 5x squared plus 0x plus 4, which is x to the fourth minus 5x squared plus 4. The divisor 1, minus 1 means x minus 1. The zeros matter: leaving them out shifts every term to the wrong degree.

The quotient is the headline answer, written as a polynomial, and it is the result of the division ignoring the remainder. The remainder is what is left over, and its degree is always lower than the divisor's degree. The degree of the quotient is the degree of the dividend minus the degree of the divisor, which is a useful check: if the dividend is degree 4 and the divisor is degree 1, the quotient must be degree 3.

Read the results together, not in isolation. The main result answers the headline question, but the supporting rows explain how it was reached, and they are the first place to look when a number surprises you. If the main result moves more than you expected when you change an input, check the supporting rows: they usually show which part of the calculation moved, and whether the change came from the input you intended or from a different one.

The coefficients, explained

The coefficients are the numbers that define the polynomial, and their order is what most people get wrong. They must be listed from the highest degree down to the constant, with a zero for every missing power. The polynomial x cubed minus 1 is entered as 1, 0, 0, minus 1, not as 1, minus 1, because the x squared and x terms are missing and need zeros to hold their places.

The divisor's leading coefficient matters too, because each step of the division divides by it. If the divisor is 2x minus 2, the leading coefficient is 2, and the quotient terms will be halved compared with dividing by x minus 1. The calculator handles any leading coefficient, but the quotient is cleanest when the divisor is monic, meaning its leading coefficient is 1.

A single wrong coefficient changes the whole answer, because each step of the division feeds into the next. An error in the first term of the dividend changes the first term of the quotient, which changes the subtraction, which changes everything after it. That is why it is worth double-checking the coefficient lists before reading the answer.

A worked example: (x to the fourth minus 5x squared plus 4) divided by (x minus 1)

Take the dividend x to the fourth minus 5x squared plus 4, entered as 1, 0, minus 5, 0, 4, and the divisor x minus 1, entered as 1, minus 1. The divisor is a factor if the remainder comes out as zero.

Divide x to the fourth by x to get x cubed, multiply x minus 1 by x cubed and subtract, then repeat. The quotient comes out as x^3 + x^2 - 4x - 4, the remainder is 0, and the degree of the quotient is 3. The remainder of zero confirms that x minus 1 is a factor of the dividend.

A remainder of 0 means the division is exact, and the dividend equals the divisor times the quotient. That factorisation is useful: it shows that x equals 1 is a root of the dividend, and the other roots are the roots of the cubic quotient. The quotient degree of 3 matches the rule that the dividend degree minus the divisor degree is 4 minus 1, which is 3.

Who uses polynomial division

Algebra students use it to factor polynomials, to find roots, and to simplify rational expressions. The factor theorem says that x minus a is a factor exactly when the remainder on dividing by x minus a is zero, and polynomial division is how that remainder is found. Synthetic division is the shortcut for the case where the divisor is x minus a.

Calculus students use it to simplify rational functions before integrating them. A rational function where the numerator has a higher degree than the denominator must be divided first, because the integration methods assume a proper fraction. The quotient integrates term by term, and the remainder over the divisor is handled by partial fractions.

Engineers use polynomial division in control theory and signal processing, where transfer functions are ratios of polynomials and division separates the direct part from the remainder. A fraction calculator is the tool for the numerical fractions that appear when the coefficients are evaluated.

Treat the answers as a working figure, not as a final decision. The calculator applies the formula exactly as stated, but it cannot know the details of your situation: the exact rate, the precise measurements, or the rule that applies in your case. Use the result to narrow the question, then confirm the final number with the source that governs it, whether that is a textbook, a professional, or an official table. For a related calculation, the fraction simplifier covers the next number most people need after this one.

Long division vs synthetic division

Long division works for any divisor, whatever its degree and whatever its coefficients are, and it shows every step. Synthetic division is a shortcut that works only when the divisor is of the form x minus a, with a leading coefficient of 1, and it uses only the coefficients, with no variables written out. It is faster, but it is less general, and it hides the reasoning.

For a divisor like x minus 1, synthetic division gives the same quotient and remainder as long division, in fewer steps. For a divisor like x squared plus 1, synthetic division does not apply at all, and long division is the only method. This calculator uses long division, so it handles both cases, and the worked example can be checked by synthetic division when the divisor is linear.

Use whichever tool matches the question in front of you. When you need both answers, run the two tools with the same inputs and compare the results line by line; the difference between them is usually the decision itself. If the two tools disagree, check the inputs first, because a different input explains most disagreements.

Common mistakes with polynomial division

The first is leaving out zeros for missing powers, which shifts every term to the wrong degree and gives a meaningless answer. The second is entering the coefficients lowest degree first, when the calculator expects highest degree first.

The third is stopping too early, when the remainder still has the same degree as the divisor, instead of continuing until the remainder degree is lower. The fourth is forgetting that the remainder must have a lower degree than the divisor, which is the check that the division is finished.

Verify the division by multiplying the quotient by the divisor and adding the remainder: the result must equal the dividend exactly. For the worked example, (x minus 1) times (x cubed plus x squared minus 4x minus 4) is x to the fourth minus 5x squared plus 4, which is the dividend, confirming the answer.

How to use this polynomial division calculator

To use it, paste dividend coefficients (highest degree first, comma separated); paste divisor coefficients (highest degree first, comma separated), then read the results box at the top. The main result is highlighted, and the other rows give the supporting figures. If an answer looks wrong, check the inputs first: a misplaced decimal or a wrong unit is the usual cause, not the formula.

Enter the dividend coefficients highest degree first, with zeros for missing powers, then the divisor coefficients the same way. Read the quotient first, then the remainder. If the remainder is zero, the divisor is a factor of the dividend. Verify by multiplying the quotient by the divisor and adding the remainder.

Your figures stay on your own device because the whole calculation happens in the browser. Nothing is uploaded, nothing is stored, and there is no account to create. That makes it safe to try realistic numbers, including the ones you would not want to paste into a random website. It also means the tool works the same way on a phone, a tablet or a computer, with nothing to install.

Frequently Asked Questions

Use long division: divide the leading term of the dividend by the leading term of the divisor, multiply the divisor by that term, subtract, and repeat until the remainder has a lower degree than the divisor. The result is a quotient and a remainder, just as in division of numbers.

Synthetic division is a shortcut for dividing by a linear divisor of the form x minus a. It uses only the coefficients, arranged in a table, and it is faster than long division, but it only works for linear divisors with a leading coefficient of 1.

It means the divisor is a factor of the dividend, and the value a is a root of the dividend polynomial. This is the factor theorem: x minus a is a factor exactly when the remainder on dividing by x minus a is zero.

No. The division is only finished when the remainder has a lower degree than the divisor. If the remainder still has the same degree or higher, the division must continue for another step.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.