# Quadratic equation solver

> Solve ax² + bx + c = 0 for real or complex roots, with the discriminant, vertex and axis of symmetry.

Category: Math · Web page: https://plumcalc.com/quadratic/ · Last reviewed: November 19, 2026

## How to use

1. Enter your numbers: a (x² coefficient), b (x coefficient), c (constant). Example figures are filled in to start.
2. Read your result instantly: the two real roots appears in the results panel, with a full breakdown underneath.
3. Save as PDF, copy the results, or save a scenario to compare different inputs side by side.

## Inputs

| Key | Field | Type | Default | Notes |
|---|---|---|---|---|
| `a` | a (x² coefficient) | number | 1 |  |
| `b` | b (x coefficient) | number | -3 |  |
| `c` | c (constant) | number | 2 |  |

## Worked example (default inputs)

- a (x² coefficient): 1
- b (x coefficient): -3
- c (constant): 2

**Two real roots: x = 1, 2** (x² − 3x + 2 = 0)

- Discriminant (b² − 4ac): 1
- Vertex: (1.5, -0.25)
- Axis of symmetry: x = 1.5
- Y-intercept: (0, 2)
- Parabola opens: Upward (minimum at the vertex)

## How it's calculated

x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac tells you the kind of roots: positive gives two real roots, zero gives one repeated root, and negative gives two complex roots. The vertex of the parabola is at x = −b ÷ 2a.

## Frequently asked questions

### What is the quadratic formula?

For ax² + bx + c = 0, the solutions are x = (−b ± √(b² − 4ac)) ÷ 2a.

### What does the discriminant tell you?

The discriminant b² − 4ac decides the roots: positive means two different real roots, zero means one repeated root, and negative means two complex roots.

### How do you find the vertex of a parabola?

The vertex is at x = −b ÷ 2a. Substitute that x back into the equation to get the y-coordinate.

## Related calculators

- [Statistics calculator](https://plumcalc.com/statistics/): Mean, median, mode, standard deviation, variance, quartiles and range for any list of numbers.
- [Fraction calculator](https://plumcalc.com/fraction/): Add, subtract, multiply and divide fractions, with the simplified answer, mixed number and decimal.
- [Binary, hex & decimal converter](https://plumcalc.com/base-converter/): Convert whole numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36.
- [Scientific calculator](https://plumcalc.com/scientific/): A full calculator with trig and inverse trig, logs, powers, factorials, memory and history. Works with your keyboard.
---

PlumCalc (https://plumcalc.com) · Free, private online calculators. All calculations run in the user's browser; inputs are never sent to a server. Results are estimates for planning and education, not financial, tax, legal or medical advice.

For AI agents: MCP server at https://plumcalc.com/mcp (tools: list_calculators, calculate, evaluate_expression) · [Server card](https://plumcalc.com/.well-known/mcp/server-card.json) · [llms.txt](https://plumcalc.com/llms.txt) · [About](https://plumcalc.com/about) · [Contact](https://plumcalc.com/contact) · [Privacy Policy](https://plumcalc.com/privacy-policy) · [Terms of Service](https://plumcalc.com/terms-of-service)
