Browse All Calculators

Polynomial Calculator

Free polynomial calculator to add, subtract, multiply and divide polynomials. Get exact results, step-by-step working, degree, derivative, integral and a graph.

100% Free
No Sign-up
Instant Results
Works on Mobile

Polynomial Calculator

P₁ = 2x³ − x² + 5x − 7
P₂ = x² + 3x + 1
Use ^ for powers, for example 2x^3 − x^2 + 5x − 7. Brackets and decimals are allowed.
Operation
x = 2
Derivative and integral of the result
  • Derivative: 10x⁴ + 20x³ + 12x² + 14x − 16
  • Integral: (1/3)x⁶ + x⁵ + x⁴ + (7/3)x³ − 8x² − 7x + C
Step-by-step working
  1. Multiply every term of P₁ by P₂, then add the partial products.
  2. (2x³) × (x² + 3x + 1) = 2x⁵ + 6x⁴ + 2x³.
  3. (−x²) × (x² + 3x + 1) = −x⁴ − 3x³ − x².
  4. (5x) × (x² + 3x + 1) = 5x³ + 15x² + 5x.
  5. (−7) × (x² + 3x + 1) = −7x² − 21x − 7.
  6. Combine like terms: 2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7.
ResultP₁P₂
Product: P₁ × P₂
2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7
Degree 0510+
Degree
5
Leading coefficient
2
Constant term
−7
Value at x = 2
165
Check your answer
  • At x = 2: P₁ × P₂ = 15 × 11 = 165. The result gives 165.
  • P₁(2) = 15 and P₂(2) = 11.
Quick note
The result is exact, with fractions kept as fractions. Drag the slider to see its value at other points on the graph.
Polynomial Calculator - add, subtract, multiply and divide polynomials online on HighCalc

Polynomial Calculator: Add, Subtract, Multiply and Divide Polynomials

This free polynomial calculator adds, subtracts, multiplies and divides two polynomials and shows the working. Type each polynomial the way you would write it, pick an operation, and the result appears as a simplified polynomial with its degree, leading coefficient, derivative, integral and a graph. Fractions are kept exact, so there is no rounding along the way.

Quick answer: multiplying 2x³ − x² + 5x − 7 by x² + 3x + 1 gives 2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7. The calculator reaches this by multiplying each term of the first polynomial by the whole of the second and combining like terms.

What Is a Polynomial?

A polynomial is a sum of terms, where each term is a number times a variable raised to a whole-number power, such as 5x³ or −7. The highest power is the degree of the polynomial, and the number in front of it is the leading coefficient. Polynomials of degree one and two are called linear and quadratic, and you can solve those directly with the quadratic calculator. Higher degrees show up in curve fitting, physics, engineering and finance.

How Each Operation Works

To add or subtract, line up like terms, meaning terms with the same power, and combine their coefficients. To multiply, use the distributive law: every term of one polynomial is multiplied by every term of the other, and like terms are then combined. To divide, long division is used. The leading term of what is left is divided by the leading term of the divisor, the result is multiplied back and subtracted, and this repeats until the remainder has a lower degree than the divisor. The table shows one example of each.

OperationExampleResult
Add(3x² + 2x − 5) + (x² − 4x + 9)4x² − 2x + 4
Subtract(3x² + 2x − 5) − (x² − 4x + 9)2x² + 6x − 14
Multiply(x + 2)(x − 3)x² − x − 6
Multiply(2x³ − x² + 5x − 7)(x² + 3x + 1)2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7
Divide(x³ − 2x² + x − 5) ÷ (x − 1)Quotient x² − x, remainder −5

The Remainder Theorem

When you divide a polynomial by x − a, the remainder equals the value of the polynomial at x = a. In the division example above, the polynomial at x = 1 is −5, and that is exactly the remainder. A remainder of zero means the divisor is a factor of the polynomial, which is a quick way to test possible roots.

Typing Polynomials Correctly

Write powers with a caret, such as 4x^3, and use brackets for grouped terms, such as (x+1)(x−2). The multiplication sign is optional, and decimals and simple fractions are accepted. Use one variable in both boxes. If something cannot be read, the calculator points to the box and says what to change instead of guessing. For a pair of equations in two unknowns, the linear equations calculator is the better tool.

Who Uses a Polynomial Calculator?

Students use it to check algebra homework and to learn the steps of long division. Teachers use it to produce examples and answer keys. Engineers, data analysts and programmers use it when expanding formulas or simplifying expressions. For other kinds of problems, the math solver and the fraction calculator are useful companions.

How to Use This Polynomial Calculator

1

Enter the two polynomials

Type each one in its box, using ^ for powers. Brackets and decimals are fine.

2

Choose an operation

Pick Add, Subtract, Multiply or Divide. The result updates straight away.

3

Set a value for x

Type a number or drag the slider to see the result at that point and mark it on the graph.

4

Read the result and the working

See the simplified answer, its degree, derivative, integral, a check and the steps.

Features

Instant Results
The answer updates as you type
Exact Fractions
Coefficients stay as exact fractions
Four Operations
Add, subtract, multiply and divide with remainder
Live Graph
See both polynomials and the result on one graph
Step-by-Step Working
Follow each partial product or division step
Mobile Friendly
Works smoothly on phones, tablets and desktops
Frequently Asked Questions
Common questions about the Polynomial Calculator.
How do I multiply polynomials?
Multiply every term of the first polynomial by every term of the second, then combine like terms. For example, (2x³ − x² + 5x − 7) × (x² + 3x + 1) = 2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7. Choose Multiply, enter both polynomials and the calculator shows each partial product and the combined result.
How does polynomial division work, and what is the remainder?
The calculator uses long division. It divides the leading terms, multiplies the answer by the divisor, subtracts, and repeats until what is left has a lower degree than the divisor. That leftover is the remainder. For example, (x³ − 2x² + x − 5) ÷ (x − 1) gives a quotient of x² − x and a remainder of −5.
How do I type powers, brackets and fractions?
Use the caret for powers, as in 3x^4, and brackets for grouped terms, as in (x+2)(x−3). A multiplication sign is optional, so 2x and 2*x mean the same thing. Decimals such as 0.5x and fractions such as x/2 are accepted, and the answer keeps exact fractions instead of rounding them.
What are the degree and leading coefficient?
The degree is the highest power of the variable, and the leading coefficient is the number in front of that term. In 2x⁵ + 5x⁴ + 4x³ + 7x² − 16x − 7 the degree is 5 and the leading coefficient is 2. The calculator shows both for every result, along with the constant term.
Can I use a letter other than x?
Yes, as long as you use the same single letter in both boxes, for example t or y. The result is written with that letter. Using two different letters in one polynomial is not supported, because the calculator works with polynomials in one variable.
How can I check that the answer is right?
Pick a value for the variable, put it into both polynomials and into the result, and compare. The Check section does this for you at the value set on the slider: for Multiply, P₁(x) × P₂(x) must equal the result at the same x. For Divide, P₂ × quotient + remainder must equal P₁.