Evaluating polynomials
This short guide explains what the polynomial calculator does, how to get the best result and when another tool is a better fit.
What a polynomial is
A polynomial is a sum of terms in which x is raised to whole-number powers, such as 2x² + 3x + 1 or x³ − 4x + 2. The highest power is the degree. Polynomials describe curves in maths, motion in physics and costs or revenue in business. Evaluating one means putting a number in for x and working out the result.
This calculator does that for any degree, as long as you list every coefficient.
Entering coefficients correctly
List the coefficients from the highest power down to the constant. For 2x² + 3x + 1, enter 2, 3, 1. For x³ − 4x + 2, the x² term is missing, so enter 1, 0, −4, 2. Forgetting the zero shifts every term down a power and gives a completely different polynomial, which is the most common mistake.
You can separate coefficients with commas or spaces.
A worked example
Evaluate P(x) = x³ − 4x + 2 at x = 3. Enter 1, 0, −4, 2 and x = 3. The calculator gives 17. By hand: 3³ = 27, minus 4 × 3 = 12, plus 2, so 27 − 12 + 2 = 17. The calculator uses Horner’s method, which works from the highest coefficient down: start with 1, multiply by 3 and add 0 to get 3, multiply by 3 and add −4 to get 5, multiply by 3 and add 2 to get 17.
Horner’s method is fast and keeps rounding errors small, which is why computers use it.
Finding roots by testing values
Although the calculator doesn’t solve P(x) = 0 directly, it helps you search for roots. Evaluate P(x) at several x values: when the result changes sign between two values, there is a root between them. For example, x³ − 4x + 2 is 2 at x = 0 and −1 at x = 1, so a root lies between 0 and 1. Narrowing the interval homes in on it.
For quadratics, the Quadratic Formula Calculator finds roots exactly.
What it doesn’t do
This tool evaluates polynomials; it doesn’t add, multiply, divide, factorise or graph them. It works with real numbers only. For quick checks of homework, tables of values for a graph, or plugging numbers into a formula, it is the fastest option.
- Highest power first
- Use 0 for missing powers
- Sign changes reveal roots
Further reading: How Horner’s method works. It explains the format behind this polynomial calculator in more detail.
