Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Polynomial Division Calculator

Divide a polynomial by a linear factor (x − r) using synthetic division: enter coefficients highest power first and get the quotient and the remainder P(r).

Polynomial Division Calculator

Remainder
0
The number left over after dividing by (x − r), equal to the polynomial's value at x = r; zero means (x − r) is a factor.
Quotient coefficients
1, -2

Background.

Dividing a polynomial by a factor such as (x − 2) is the step that unlocks most factoring problems in algebra. If the division comes out exactly, you have found a root and reduced the polynomial by one degree; if it leaves something over, that leftover tells you the value of the polynomial at x = 2. Synthetic division is the shorthand for doing this by hand: instead of writing out the full long-division layout with every power of x, you work only with the coefficients, multiplying and adding in a single row.

The method rests on two results from algebra. The remainder theorem says that dividing P(x) by (x − r) leaves a remainder of exactly P(r). The factor theorem follows from it: (x − r) divides P(x) with nothing left over precisely when P(r) = 0, that is, when r is a root. So a remainder of zero is the signal you were looking for.

In practice that makes synthetic division a search tool. To factor x³ − 7x + 6, you try likely roots, here the divisors of 6, until one gives remainder 0. Trying r = 2 does, leaving the quadratic x² + 2x − 3, which factors at sight into (x + 3)(x − 1).

The page handles one variable and a divisor of the form (x − r) only. Division by a quadratic, or any divisor of degree two or more, needs full polynomial long division.

What is polynomial division calculator?

Synthetic division is a compact way of dividing a polynomial P(x) by a linear divisor (x − r). Working from the highest power down, each coefficient of the quotient is the next coefficient of P plus r times the previous result. The quotient has degree one less than P, and the final number produced is the remainder, which by the remainder theorem equals P(r). The procedure is the same arithmetic as Horner's method for evaluating a polynomial.

How to use this calculator.

  1. Enter the dividend's coefficients from the highest power down, separated by commas or spaces: x² − 3x + 2 is 1, −3, 2.
  2. Put a 0 in for every missing power. x³ − 7x + 6 has no x² term, so it is entered as 1, 0, −7, 6; leaving the zero out silently divides a different polynomial.
  3. Enter r, the number subtracted from x in the divisor. For (x − 4) enter 4; for (x + 3) enter −3.
  4. Read the remainder and the quotient coefficients, which are listed highest power first and start one degree below the dividend.

The formula.

Synthetic division of P(x) by (x-r); remainder = P(r)

For P(x) = aₙxⁿ + … + a₁x + a₀ divided by (x − r), set b₁ = aₙ, then repeat bₖ₊₁ = (next coefficient) + r × bₖ down the list. The b values before the last are the quotient's coefficients, from xⁿ⁻¹ downward; the final value is the remainder R. Together they satisfy P(x) = (x − r)·Q(x) + R. The remainder is also P(r), because substituting x = r makes the (x − r)·Q(x) term vanish. The quotient coefficients are shown unrounded; the remainder is rounded to ten decimal places. The divisor must have leading coefficient 1, so a divisor like (2x − 1) needs a small adjustment, explained below.

A worked example.

Example

Divide x² − 3x + 2 by (x − 1): the coefficients are 1, −3, 2 and r = 1. Bring the first coefficient down: 1. Multiply by r and add to the next: 1 × 1 = 1, and −3 + 1 = −2. Repeat: −2 × 1 = −2, and 2 + (−2) = 0. The quotient coefficients are 1, −2, meaning x − 2, and the remainder is 0.0: nothing at all is left over. A zero remainder means (x − 1) is a factor, so x² − 3x + 2 = (x − 1)(x − 2). Dividing the same polynomial by (x − 3) instead gives quotient 1, 0 (just x) and remainder 2, which matches the direct check P(3) = 9 − 9 + 2 = 2.

root1
coefficients1,-3,2

Frequently asked questions.

How do I divide by something like (2x − 1)?
Divide by (x − 0.5) instead, then halve the quotient. For 2x² + 3x − 2, entering 2, 3, −2 with r = 0.5 gives quotient 2, 4 and remainder 0. Halving the quotient gives x + 2, so 2x² + 3x − 2 = (2x − 1)(x + 2). The remainder is not halved.
Which values of r should I try when looking for a root?
For a polynomial with whole-number coefficients, any rational root must be a factor of the constant term divided by a factor of the leading coefficient. For x³ − 7x + 6, that means trying ±1, ±2, ±3 and ±6. Each try costs a few seconds, and the first zero remainder reduces the problem to a lower degree.
Why did I get the wrong quotient for x³ − 7x + 6?
Most likely the zero for the missing x² term was left out. Entering 1, −7, 6 with r = 2 divides x² − 7x + 6 and gives quotient 1, −5 with remainder −4. Entering 1, 0, −7, 6 gives the intended quotient 1, 2, −3, which is x² + 2x − 3, and remainder 0.
What does a non-zero remainder tell me?
Two things. The divisor is not a factor, so r is not a root, and the remainder is the polynomial's value at r. That makes synthetic division a quick way to evaluate a polynomial: x² − 3x + 2 divided by (x + 1) leaves 6, and P(−1) = 1 + 3 + 2 = 6.
How do I write the final answer as a single expression?
Use P(x) = (x − r)·Q(x) + R, or divide through to get P(x) ÷ (x − r) = Q(x) + R ÷ (x − r). For x² − 3x + 2 divided by (x − 3), with quotient x and remainder 2, the answer is x + 2 ÷ (x − 3).

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Synthetic division of P(x) by (x-r); remainder = P(r)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon