Polynomial Calculator
Add, subtract, multiply, evaluate and divide polynomials with exact fractions, a visible polynomial preview and quotient/remainder exports.
This tool processes its input contents in your browser instead of sending them to a processing service. Page, asset and fixed usage-measurement requests are described on the Privacy page.
Add, subtract, multiply, evaluate and divide polynomials with exact fractions, a visible polynomial preview and quotient/remainder exports.
How to use it
- 1Choose an operation and fill the labelled power and constant boxes, or switch to Paste values.
- 2Check the visible polynomial preview; include zero for every missing power.
- 3Calculate and inspect the exact value or polynomial result.
- 4Copy or download complete JSON and optional calculation working.
Example
- Input
- A: 1, 0, -1; B: 1, -1; operation: divide
- Output
- Quotient x + 1, coefficients [1, 1]; remainder 0.
The input means (x² − 1) ÷ (x − 1). It is a coefficient workflow, not an algebraic-expression parser.
What happens to your data
Polynomial coefficients, exact ratios and x stay in this browser tab. Calculation JSON and working are generated locally; changing a field clears the old export. Anonymous workflow records omit the entered polynomial.
Last updated November 2026
Work with polynomial coefficients without losing fraction or decimal digits. Choose addition, subtraction, multiplication, evaluation or division; fill the labelled coefficient boxes for each power of x. Choose Paste values to enter a coefficient list instead. The live preview shows the polynomial represented by your first list, making a missing coefficient easier to spot before calculating. Results and calculation notes can be downloaded as JSON.
How it works
A coefficient list is an explicit description of a polynomial, not an expression to execute. For example, 1, 0, -1 represents x² − 1: the middle zero keeps the missing x term in its proper place. Leading zero coefficients are removed, while the zero polynomial is retained as one zero coefficient. Integers, finite decimal spellings and integer fractions such as 1/3 are converted directly to reduced integer ratios. No coefficient passes through a rounded floating-point number. Scientific notation and typed algebraic expressions are not supported in this workspace.
Addition and subtraction align terms with the same power. Multiplication combines coefficient pairs into their resulting powers. Evaluation uses Horner's method at the exact x value entered. Division returns two polynomials: a quotient and a remainder. The result satisfies A = B × quotient + remainder; a nonzero remainder has lower degree than B. Division by a zero polynomial fails, including when B is a list of zero coefficients. If A has smaller degree than B, the quotient is zero and the remainder is A.
Each input polynomial has at most 21 coefficients, so its degree is at most 20. Products can have degree 40. Each exact number has at most 160 characters; numerators and denominators, including intermediate results, have a 5,000-bit budget. A per-calculation operation bound also applies. These are processing limits rather than approximate fallbacks: exceeding a bound returns an error without a partial result. Each field is limited to 16 KiB and each complete result or working export to 32 KiB.
This tool does not factor polynomials, find roots, simplify arbitrary symbolic expressions or choose a mathematical model for your data. Use a coefficient zero for every missing power and inspect the visible preview. Editing an operation, either polynomial or x removes the previous export so it cannot be mistaken for the new calculation.
Worked example: Divide a difference of squares
- Input
- A: 1, 0, -1; B: 1, -1; operation: divide
- Result
- Quotient x + 1, coefficients [1, 1]; remainder 0.
The input means (x² − 1) ÷ (x − 1). It is a coefficient workflow, not an algebraic-expression parser.
Common use cases
- Check exact polynomial multiplication while retaining fractional coefficients.
- Divide one coefficient list by another and inspect the remainder.
- Evaluate an entered polynomial at a rational value such as 1/3.
- Save reproducible coefficient arrays and calculation assumptions.
Frequently asked questions
How do I enter a polynomial with a missing term?+
Choose highest power 3, then enter 2 for x^3, 0 for x^2, -3 for x and 1 for the constant. Paste values also accepts 2, 0, -3, 1. Check the visible polynomial preview.
Can I type x² + 2x + 1 directly?+
Use the labelled boxes: 1 for x^2, 2 for x and 1 for the constant, or paste the coefficient list 1, 2, 1. This workspace does not infer algebra from a typed expression.
Are polynomial fractions exact?+
Yes within the documented limits. Decimal spellings become rational fractions, and arithmetic retains integer numerators and denominators. Results are never silently converted to rounded decimals.
Does polynomial division also find all roots?+
No. The quotient and remainder describe the requested division. No root search or factorization is performed.
Standards and limitations
Related tools
Linear System Solver
Solve rectangular linear systems with exact fractions, reduced rows and a particular solution plus a basis when free variables remain.
Complex Number Calculator
Calculate with complex components, convert rectangular and polar forms, and review magnitude and principal angle in degrees or radians.
Vector Calculator
Calculate 2D or 3D vector operations with explicit projection direction, angle units and clear zero-vector errors.
Permutation & Combination Calculator
Count selections and arrangements exactly, choose whether repetition is allowed, and export large integer results without rounding.