Math calculators

Polynomial Calculator

Updated Sep 1, 2026 By Infinity Calculator
Rate Formulas
Polynomial Input
Required for Add, Subtract, Multiply, Divide. Optional for single-polynomial operations (Factor, Roots, Derivative, etc.).
Quick Examples:
Select Operation
Verify Your Answer (Optional)
Result
Sum of Polynomials
Polynomial Properties
Step-by-Step Solution
Table of Values
xP₁(x)P₂(x)Result(x)
Graph

Introduction

A polynomial is a math expression made up of variables, numbers, and exponents that are added, subtracted, or multiplied together. Examples include 3x² + 2x - 5 or x³ - 7x + 1. Working with polynomials by hand can take a lot of time and lead to mistakes, especially when the expressions get long.

This polynomial calculator helps you solve, simplify, add, subtract, multiply, and factor polynomials quickly and correctly. Just type in your polynomial expression, choose what you want to do with it, and get your answer right away. This tool makes working with polynomials simple and stress-free.

How to Use Our Polynomial Calculator

Enter your polynomial expression below to simplify, factor, or evaluate it. The calculator will show you the result step by step.

Polynomial Expression: Type in your polynomial using standard math notation. Use the variable x and the caret symbol (^) for exponents. For example, type 3x^2 + 2x - 5.

Operation: Choose what you want to do with your polynomial. You can pick from options like simplify, factor, add, subtract, multiply, or divide.

Second Polynomial (if needed): If you picked an operation like add, subtract, multiply, or divide, enter a second polynomial here. This field is only needed when you are working with two polynomials at once.

Value of x (optional): If you want to evaluate your polynomial at a specific number, enter that number here. The calculator will plug it in and give you the final answer.

Polynomial Calculator

A polynomial is a math expression made up of variables (usually x), numbers (called coefficients), and exponents that are whole numbers. The terms are joined by addition or subtraction. For example, 3x² − 2x + 5 is a polynomial with three terms. Polynomials are one of the most important building blocks in algebra and show up in almost every area of math and science.

Key Parts of a Polynomial

Every polynomial has a few features worth knowing. The degree is the highest exponent in the expression. A degree-2 polynomial is called a quadratic, degree-3 is a cubic, and degree-4 is a quartic. The leading coefficient is the number in front of the term with the highest power. The constant term is the number with no variable attached to it. These features help you understand the shape and behavior of the polynomial's graph.

Operations You Can Perform on Polynomials

  • Addition and Subtraction: Combine like terms (terms that have the same exponent). For instance, 3x² + 5x² equals 8x².
  • Multiplication: Multiply each term in one polynomial by every term in the other, then combine like terms. This uses the distributive property (sometimes called FOIL for two binomials).
  • Division: Polynomial long division works much like regular long division. You divide the leading terms, multiply back, subtract, and repeat until the remainder has a smaller degree than the divisor. Understanding fractions can be helpful when working with remainders and rational expressions that result from polynomial division.
  • Factoring: This means rewriting a polynomial as a product of simpler expressions. The Rational Root Theorem helps find possible roots by testing factors of the constant term divided by factors of the leading coefficient.
  • Finding Roots: Roots (also called zeros) are the values of x that make the polynomial equal zero. For quadratics, you can use the quadratic formula. For higher-degree polynomials, you can try the Rational Root Theorem or numerical methods like Newton's method.
  • Derivative: Using the power rule from calculus, each term axn becomes n·axn−1. This tells you the slope of the polynomial at any point.
  • Integral: The reverse of a derivative. Each term axn becomes (a/(n+1))xn+1, plus a constant of integration C.
  • Composition: Plugging one polynomial into another. If you have P₁(x) and P₂(x), the composition P₁(P₂(x)) replaces every x in P₁ with the entire expression P₂(x).
  • GCD (Greatest Common Divisor): The highest-degree polynomial that divides evenly into two given polynomials, found using the Euclidean algorithm.

Why Polynomials Matter

Polynomials are used to model real-world situations like the path of a thrown ball, the growth of a population, or the profit of a business. In physics, polynomials describe projectile motion and other natural phenomena. Engineers use them to design curves and surfaces. Scientists use them to approximate complicated functions. Learning how to add, subtract, multiply, divide, and factor polynomials gives you a strong foundation for algebra, calculus, physics, and many other subjects.


Formulas used

Polynomial Addition
(P_1 + P_2)(x) = \sum_k (a_k + b_k)\, x^k
Polynomial Multiplication
(P_1 \cdot P_2)(x) = \sum_{i,j} a_i b_j \; x^{\,i+j}
Polynomial Long Division
P_1(x) = Q(x) \cdot P_2(x) + R(x), \quad \deg R < \deg P_2
Power Rule (Derivative)
\frac{d}{dx}\left(a\,x^n\right) = n\,a\,x^{n-1}
Power Rule (Integral)
\int a\,x^n\,dx = \frac{a}{n+1}\,x^{n+1} + C
Quadratic Formula (Roots)
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
Polynomial Composition
(f \circ g)(x) = f\!\left(g(x)\right)
GCD via Euclidean Algorithm
\gcd(P_1, P_2) : \; P_1 = Q \cdot P_2 + R, \; \text{repeat with } (P_2, R)

Frequently asked questions

What is a polynomial?

A polynomial is a math expression made of variables, numbers, and whole-number exponents. The terms are connected by addition or subtraction. For example, 5x³ − 2x + 7 is a polynomial with three terms.

What is the degree of a polynomial?

The degree is the highest exponent in the polynomial. For example, 4x³ + x − 6 has a degree of 3. The degree tells you the most times the graph can cross the x-axis and helps describe the polynomial's shape.

What does the Factor operation do?

Factoring rewrites a polynomial as a product of simpler expressions. For example, x² + 5x + 6 factors into (x + 2)(x + 3). The calculator uses the Rational Root Theorem to find factors.

What is the difference between roots and factors?

Roots are the values of x that make the polynomial equal zero. Factors are the expressions you multiply together to get the polynomial. If (x − 3) is a factor, then x = 3 is a root. They are two ways of looking at the same idea.

What does the Evaluate operation do?

Evaluate plugs a specific number in for x and calculates the result. For example, if your polynomial is x² + 3x and you evaluate at x = 2, the answer is 4 + 6 = 10.

What does Compose f(g(x)) mean?

Composition replaces every x in the first polynomial with the entire second polynomial. If P₁ = x² and P₂ = x + 1, then P₁(P₂(x)) = (x + 1)² = x² + 2x + 1.

What is the GCD of two polynomials?

The GCD (Greatest Common Divisor) is the highest-degree polynomial that divides evenly into both polynomials. The calculator finds it using the Euclidean algorithm, which is the same idea used to find the GCD of regular numbers.

What does the constant of integration C mean?

When you find the integral of a polynomial, there are many possible answers that differ by a constant. The + C stands for that unknown constant. It is included because the derivative of any constant is zero, so you cannot know its value from the integral alone.

What are the Quick Examples for?

The Quick Examples buttons load sample polynomials and operations so you can see how the calculator works right away. They include quadratic, cubic, quartic, division, and factoring examples.

Why does my polynomial show a remainder after division?

Not all polynomials divide evenly. When the divisor does not go into the dividend perfectly, you get a quotient and a remainder. The remainder has a smaller degree than the divisor. This is just like dividing regular numbers where 7 ÷ 2 = 3 remainder 1.

What does irreducible over the rationals mean?

It means the polynomial cannot be broken into simpler factors using only rational numbers (fractions and whole numbers). The polynomial may still have roots, but they would involve irrational or complex numbers.

What is end behavior?

End behavior describes what happens to the polynomial's value as x gets very large or very small. It depends on the degree and the leading coefficient. For example, an even-degree polynomial with a positive leading coefficient rises on both ends.