Polynomial Calculator

Evaluate a cubic polynomial ax³ + bx² + cx + d at any value of x in one step — useful for checking a homework answer, plotting a few points by hand, or verifying a root someone claims solves the equation.

Inputs

Result

2

How it works

  1. 1f(2) = 1·2³ + -2·2² + 3·2 + -4 = 2

How the polynomial calculator works

Substitute the given x directly into ax³ + bx² + cx + d and evaluate term by term, respecting the usual order of operations (powers before multiplication, multiplication before addition).

Worked example: f(x) = x³ − 2x² + 3x − 4 at x = 2

  1. x³ term: 2³ = 8.
  2. −2x² term: −2 × 4 = −8.
  3. 3x term: 3 × 2 = 6.
  4. Constant: −4.
  5. f(2) = 8 − 8 + 6 − 4 = 2.

Common mistakes to avoid

Mixing up the coefficient order

This tool expects a as the x³ coefficient, b as x², c as x, and d as the constant — entering them in the wrong slots evaluates a completely different polynomial.

Forgetting the sign belongs to the coefficient

For x³ − 2x² + 3x − 4, the b value is −2, not 2 — the minus sign is part of the coefficient you enter, not something applied separately.

Frequently asked questions

Can this find the roots of the polynomial rather than just evaluate it?

Not directly — it evaluates f(x) at one point. Finding where f(x) = 0 for a cubic generally needs either the quadratic formula's cubic cousin or numerical methods beyond a single-point evaluator.

Can I use this for a quadratic instead of a cubic?

Yes — simply set a to 0 and the x³ term disappears, leaving bx² + cx + d, an ordinary quadratic evaluation.

How do I check if a specific x is a root?

Evaluate f(x) at that value — if the result is exactly 0, that x is a root of the polynomial.

What does a negative x do to odd-powered terms?

It flips their sign, since (−x)³ = −(x³), while even-powered terms like x² stay positive regardless of the sign of x.

Related calculators