Evaluate a polynomial at a value of x. Enter the coefficients from the highest power down, separated by commas.
Enter the coefficients and x, then press Calculate.
Polynomial Calculator: Solve, Add, Subtract, Multiply, Divide, and Find Polynomial Roots
My son brought home two polynomials to add for homework, (x² + 2x + 1) and (x + 1), and he wrote x² + 3x + 2. I typed the same two polynomials into the Polynomial Calculator on CalcSolver, and it said x² + 3x + 2, and at x = 2 the value is 12. That is what this tool does: it adds and subtracts polynomials, term by term, and checks the result at a value of x. The next question was a subtraction, (x² + 2x + 1) minus (x + 1), and he wrote x² + 3x + 2 again, which is the addition answer. The minus sign flips every sign inside the bracket, and that one flip is the mistake this tool stops you making.
At a glance:
- It adds and subtracts two polynomials, term by term, and evaluates the result at a value of x.
- First polynomial P is quadratic (three coefficients: x², x, constant; default 1, 2, 1); second polynomial Q is linear (two coefficients: x and constant; default 1, 1).
- The tool has an Add or Subtract dropdown and an x value (default 2); the answer is the result polynomial plus its value at x.
- The tool does NOT multiply, divide, factor or find roots; those are worked by hand in this guide.
- The tool has no error messages; an empty box counts as 0.
What Is a Polynomial Calculator?
It is a tool that works with polynomial expressions: sums of terms like x², 3x and 5, each with a coefficient and a power of x. The steps show the working line by line, so you can see which terms combine and which do not.
Definition of a polynomial
A polynomial is a sum of terms, and each term is a number times a power of x with a whole-number exponent. The Polynomial article on Wikipedia sets out the definition, the degree, and the standard form in full.
What a polynomial calculator does?
The tool on this page takes P, a quadratic, and Q, a linear polynomial, and it adds or subtracts them term by term, then evaluates the result at a value of x. It does not multiply, divide, factor or find roots, and it cannot take a polynomial of degree higher than 2 for P or higher than 1 for Q. The Equation Solver handles the one-variable linear equations that polynomials build on, and a polynomial is the next step up from that.
Understanding polynomial terms, coefficients, variables, and exponents
Every term has three parts: a coefficient, a variable, and an exponent. In 3x² the coefficient is 3, the variable is x, and the exponent is 2. Terms with the same variable and the same exponent are like terms, and only like terms combine: 3x² and 5x² make 8x², but 3x² and 3x never combine, because their exponents differ.
How a polynomial calculator with steps helps solve algebra problems?
A steps box shows each move in order, so a wrong answer can be traced back to the line where it went wrong. The tool's steps show P(x) and Q(x), then the instruction to add or subtract matching terms, then the result, then the evaluation at x. An online polynomial calculator is most useful as a checker, not as a replacement for the working.
How to Use the Online Polynomial Calculator?
Type the coefficients of P, type the coefficients of Q, choose Add or Subtract, type the x value, and press the button. The Polynomial Calculator on CalcSolver reads the numbers you give it and does the matching for you, so the only work you do by hand is writing down the coefficients in the right boxes.
Enter the Polynomial Expression
Type the coefficients of P into its three boxes: the x² coefficient, the x coefficient, and the constant. The boxes already hold 1, 2 and 1, which is the polynomial x² + 2x + 1. Then type the coefficients of Q into its two boxes: the x coefficient and the constant, which already hold 1 and 1, so Q is x + 1.
Select the Required Polynomial Operation
Choose Add or Subtract from the dropdown. The dropdown is the only operation the tool offers, so multiplication, division and factoring are worked by hand in the sections below.
Read the Step-by-Step Solution
Press the button and the tool on CalcSolver writes the answer in bold, with the steps underneath. For the defaults, the answer is "Result: x² + 3x + 2, At x = 2: 12", and the steps show P(x), Q(x), the matching of terms,.
Understand and Verify the Final Answer
Check the answer by hand before you trust it: add the coefficients yourself, then evaluate the result at the x value the tool used. For the defaults, 1 + 2 = 3 for the x terms and 1 + 1 = 2 for the constants, so the result x² + 3x + 2 is right, and at x = 2 it is 4 + 6 + 2 = 12. I check every answer this way, and the count takes five seconds.
Polynomial Operations You Can Solve
Four operations, and the Polynomial Calculator on CalcSolver does two of them. Addition and subtraction are done by the tool, term by term; multiplication and division are worked by hand, because the tool has no multiply or divide mode.
Addition of Polynomials
Add like terms and leave unlike terms alone. A polynomial calculator addition takes two polynomials and adds the coefficients of matching terms: the x² terms together, the x terms together, and the constants together. The example is (x² + 3x + 2) + (2x + 5): the x terms give 3x + 2x = 5x and the constants give 2 + 5 = 7, so the answer is x² + 5x + 7, and at x = 2 that is 4 + 10 + 7 = 21.
Combine like terms: 3x and 2x are like terms, so they combine to 5x, and 2 and 5 are like terms, so they combine to 7.
Subtraction of Polynomials
Subtracting is adding the opposite, so the minus sign flips every sign in the second polynomial. The example is (x² + 2x + 1) − (x + 1): the minus turns x + 1 into −x − 1, and then the matching gives x² + (2x − x) + (1 − 1) = x² + x. The tool does this subtraction itself, and the steps show the flipped signs.
Multiplication of Polynomials
Multiply every term of the first polynomial by every term of the second, then combine like terms. The example is (x + 3)(x + 2): x times x is x², x times 2 is 2x, 3 times x is 3x, and 3 times 2 is 6, so the product is x² + 2x + 3x + 6 = x² + 5x + 6. The tool does not multiply, so this one is worked by hand.
Division of Polynomials
Divide the leading term of the dividend by the leading term of the divisor, multiply back, subtract, and repeat. The example is (x³ − 1) ÷ (x − 1): x³ ÷ x is x², and x² times (x − 1) is x³ − x², which subtracts to leave x² − 1; then x² ÷ x is x, and x times (x − 1) is x² − x, which subtracts to leave x − 1; then x ÷ x is 1, and 1 times (x − 1) is x − 1, which subtracts to leave nothing. The quotient is x² + x + 1 and the remainder is 0.
Synthetic division: for a divisor of the form (x − a), use the root a and the coefficients only.
Polynomial Factoring and Roots
Factoring is division in reverse, and the roots are the values of x that make the polynomial zero. The tool on CalcSolver does not factor and it does not find roots; a zeros of polynomial calculator does that job, and this guide works it by hand.
How to Factor a Polynomial?
Look for a common factor first, then for a pattern, then for two numbers that multiply to the constant and add to the middle coefficient. The example is x² − 4x − 12: the numbers −6 and 2 multiply to −12 and add to −4, so the factorisation is (x − 6)(x + 2). The Quadratic Equation Solver finds the roots of a quadratic from a, b and c, and those roots are the numbers in the factors.
Find the Zeros and Roots of a Polynomial
A zero of a polynomial is a value of x where the polynomial equals zero, and a root of the equation P(x) = 0 is the same number. For x² − 4x − 12 the zeros are x = 6 and x = −2, because 36 − 24 − 12 = 0 and 4 + 8 − 12 = 0. A zeros of polynomial calculator lists them for you, and by hand you find them by factoring and setting each factor to zero.
Solve Polynomial Equations
Set the polynomial equal to zero, factor it, and set each factor equal to zero. For x² − 4x − 12 = 0, the factors are (x − 6) and (x + 2), so x − 6 = 0 gives x = 6 and x + 2 = 0 gives x = −2.
Understand the Relationship Between Factors and Roots
A factor (x − a) and a root x = a are the same fact written two ways. If x = 6 is a root of x² − 4x − 12, then (x − 6) is a factor of it, and if (x − 6) is a factor, then x = 6 is a root.
Important Polynomial Rules and Theorems
The Remainder Theorem turns a division into one evaluation, the Factor Theorem turns a root into a factor, and substitution turns any answer into a number you can test. The tool cannot do this division, so the theorem is the shortcut. A polynomial calculator with steps shows the working, and these three rules are the working behind the working. Polynomials are taught in the US Common Core in Grade 8 and in Algebra I (A-APR.A.1), tested at UK GCSE, covered in India's NCERT Class 9 and 10, and drilled on Khan Academy and in SAT and ACT practice.
Remainder Theorem
When a polynomial P(x) is divided by (x − a), the remainder is P(a). The example is x² + 3x + 2 divided by (x − 1): P(1) is 1 + 3 + 2 = 6, so the remainder is 6, and the division gives (x − 1)(x + 4) + 6, which expands back to x² + 3x + 2. The Polynomial Calculator cannot do this division, so the theorem is the shortcut.
Factor Theorem
The factor (x − a) divides P(x) exactly when P(a) = 0. The example is 2x² + 3x + 1: P(−1) is 2 − 3 + 1 = 0, so (x + 1) is a factor.
Polynomial Substitution and Verification
Substitute a simple value of x into both sides and see whether they agree. At x = 0 the value is the constant term, and at x = 1 the value is the sum of the coefficients, so both numbers are quick checks.

Step-by-Step Polynomial Calculator Examples
Six examples, each one worked in full, and a polynomial calculator with steps on CalcSolver confirms the first two.
Example 1: Add Two Polynomial Expressions
Add (3x² + 2x + 4) and (x² − x + 3). A polynomial calculator addition takes the two polynomials and adds the coefficients of matching terms. The x² terms give 3x² + x² = 4x², the x terms give 2x − x = x, and the constants give 4 + 3 = 7, so the answer is 4x² + x + 7. At x = 1 that is 4 + 1 + 7 = 12. I check it against the tool before I trust it.
Example 2: Subtract Two Polynomials
Subtract (x² + 2x + 1) from (2x² + 5x + 3). The minus sign flips every sign in the second polynomial, so the subtraction becomes 2x² + 5x + 3 − x² − 2x − 1. The x² terms give 2x² − x² = x², the x terms give 5x − 2x = 3x, and the constants give 3 − 1 = 2, so the answer is x² + 3x + 2. At x = 2 that is 4 + 6 + 2 = 12.
Example 3: Multiply Two Polynomials
Multiply (x − 4) and (x + 4). x times x is x², x times 4 is 4x, −4 times x is −4x, and −4 times 4 is −16, so the middle terms cancel. The product is x² − 16, and at x = 5 that is 25 − 16 = 9.
Example 4: Divide x3-1 by x-1
The coefficients are 1, 0, 0, −1: bring down the 1, multiply by 1 to get 1, add to 0 to get 1, multiply by 1 to get 1, add to 0 to get 1, multiply by 1 to get 1, add to −1 to get 0. That gives the quotient x² + x + 1, with nothing left over. The check is to multiply back: (x − 1)(x² + x + 1) = x³ − 1.
Example 5: Factor a Quadratic Polynomial x2-4x-12
Factor x² − 4x − 12 by finding two numbers that multiply to −12 and add to −4. The numbers are −6 and 2, because −6 × 2 = −12 and −6 + 2 = −4. The factorisation is (x − 6)(x + 2). The check is to expand it back: (x − 6)(x + 2) = x² + 2x − 6x − 12 = x² − 4x − 12.
Example 6: Find the Roots of a Higher-Degree Polynomial
Find the roots of x³ − 6x² + 11x − 6. Test x = 1 first: 1 − 6 + 11 − 6 = 0, so (x − 1) is a factor by the Factor Theorem. Divide the cubic by (x − 1) to get x² − 5x + 6, and factor that as (x − 2)(x − 3), because −2 and −3 multiply to 6 and add to −5. The full factorisation is (x − 1)(x − 2)(x − 3), so the roots are x = 1, x = 2 and x = 3.
Common Polynomial Mistakes to Avoid
Five mistakes, and the Polynomial Calculator on CalcSolver stops the first three before they happen.
Dropping Missing Degree Terms
Write the zero terms in. The polynomial x³ + 2 has no x² term and no x term, so write it as x³ + 0x² + 0x + 2 before you add it to anything. Adding x³ + 2 to x² + 3x + 1 gives x³ + x² + 3x + 3.
Combining Unlike Powers
Only like terms combine, and 3x² and 3x are not like terms. The sum 3x² + 3x stays as it is: it is not 6x² and it is not 6x, because the exponents differ. The exponents must match exactly, so 3x² and 3x never combine, whatever the coefficients are.
Forgetting Negative Signs During Subtraction
The minus sign flips every sign in the bracket, and forgetting one flip is the most common polynomial mistake. The subtraction (x² + 2x + 1) − (x + 1) is x² + x. The Polynomial Calculator catches this one, because it does the subtraction for you.
Expanding Expressions Before Checking Their Structure
Look at the structure before you expand. The product (x − 4)(x + 4) is x² − 16 by the difference of squares, and expanding it first wastes the pattern. The polynomial x² − 4x − 12 factors as (x − 6)(x + 2) because −6 and 2 multiply to −12 and add to −4, and that is visible before any expansion.
Assuming Every Polynomial Has Rational Roots
Not every polynomial has rational roots, and some have no real roots at all. The equation x² − 2 = 0 has the irrational roots √2 and −√2, and the equation x² + 1 = 0 has no real roots. Its roots are i and −i, which are complex.
How to Check Whether a Polynomial Solution Is Correct?
Four checks, and the Polynomial Calculator on CalcSolver is the first of them. Run at least two checks on every answer, because one check can miss a sign flip. I check every answer against the tool before I trust it.
Substitute the calculated roots into the original equation
Put each root back into the original polynomial and see whether it gives zero. For x² − 4x − 12, x = 6 gives 36 − 24 − 12 = 0 and x = −2 gives 4 + 8 − 12 = 0, so both roots are right. The Polynomial Calculator cannot find roots, so this check is the one that matters.
Expand factored expressions to verify the result
Multiply the factors back out and compare with the original polynomial. The factors (x − 6)(x + 2) expand to x² + 2x − 6x − 12 = x² − 4x − 12, which matches. Work from the last step backwards, so the line where the expansion goes wrong is the line you need to fix.
Check the remainder after polynomial division
Divide and check the remainder with the Remainder Theorem. The division (x³ − 1) ÷ (x − 1) gives quotient x² + x + 1 and remainder 0, and P(1) = 1 − 1 = 0 confirms it. The same idea divides numbers: the Long Division Calculator gives quotient and remainder for whole numbers, and the polynomial remainder works the same way.
Compare both sides of the original expression
Evaluate both sides at a simple value of x and see whether they agree. For (x − 1)(x² + x + 1) = x³ − 1, both sides at x = 2 give 7. Try x = 0 first, because the value is the constant term, and then x = 1, because the value is the sum of the coefficients.
Frequently Asked Questions
What is a polynomial calculator used for?
It adds and subtracts two polynomials and evaluates the result at a value of x, with a steps box. The tool takes a quadratic P and a linear Q, and the steps show the matching of terms.
Can I solve polynomial problems step by step online?
Yes. An online polynomial calculator shows the steps for addition and subtraction, and this guide works multiplication, division, factoring and roots step by step by hand.
How do I add two polynomials?
Combine like terms: add the coefficients of matching powers and leave unlike terms alone. A polynomial calculator addition takes two polynomials and adds the x² terms together, the x terms together, and the constants together.
How do I multiply and divide polynomials?
Multiply every term of the first polynomial by every term of the second, then combine like terms: (x + 3)(x + 2) = x² + 5x + 6. Divide by long division or synthetic division: (x³ − 1) ÷ (x − 1) = x² + x + 1 with remainder 0.
How can I find the zeros of a polynomial?
Factor it and set each factor to zero. A zeros of polynomial calculator lists them for you, and by hand you find them from the factors: x² − 4x − 12 = (x − 6)(x + 2), so the zeros are x = 6 and x = −2.
What is the difference between polynomial roots and zeros?
There is none: a zero of a polynomial and a root of the equation P(x) = 0 are the same number. For x² − 4x − 12 the zeros and the roots are both 6 and −2.
Can a polynomial calculator solve higher-degree equations?
The tool on this page cannot: it takes a quadratic P and a linear Q, and it only adds and subtracts. By hand, yes: a cubic like x³ − 6x² + 11x − 6 factors as (x − 1)(x − 2)(x − 3), so its roots are 1, 2 and 3.
What is the remainder theorem in polynomials?
When P(x) is divided by (x − a), the remainder is P(a). For x² + 3x + 2 divided by (x − 1), the remainder is P(1) = 1 + 3 + 2 = 6.
Can every polynomial be factored?
Over the real numbers, no. The polynomial x² + 1 has no real factors, because no real number squared is −1, and its roots are the complex numbers i and −i.
Related Algebra and Math Calculators
The tool sits with a small set of algebra tools on CalcSolver. The Equation Solver handles one-variable linear equations, the Quadratic Equation Solver finds roots from a, b and c, and the Exponent Calculator works with the powers that polynomials are built from. The Polynomial Calculator on CalcSolver is the tool for adding and subtracting polynomials, and this guide is the working for the rest.
It checks the add and the subtract in a second, but the habit of naming the like terms first is what actually teaches you the method.
