ToolPatch

One page. One job. Done.

← Back to all tools
Math

Quadratic Equation Solver

Solve ax² + bx + c = 0 with real or complex roots.

Formula reviewed: 2026-02-14 Math

Use this free online Quadratic Equation Solver to find roots of `ax^2 + bx + c = 0`, including complex solutions when needed. It is useful when you need a focused browser-based utility that turns a specific set of inputs into a practical result quickly. The form focuses on a, b, c and returns Quadratic Inputs, Roots, so you can move from input to answer without setting up a spreadsheet or custom script. Run one realistic example, adjust the inputs, and compare how the result changes before you copy or share it. Save the inputs with the result when the output will be shared, audited, or used as part of a larger workflow.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

How to use this tool

  1. Enter a, b, c for the quadratic equation solver, keeping units, dates, or text format consistent with the form labels.
  2. Check optional fields and assumptions before running so the result matches the workflow you have in mind.
  3. Click "Run the tool" and review Quadratic Inputs, Roots for the primary output.
  4. Copy or share the result together with the inputs so the output can be reproduced later.

Quadratic Inputs

Solve equations of the form ax² + bx + c = 0.

Roots

Type: Real

Discriminant: 1.0000

Root 1: 2.0

Root 2: 1.0

Embed this tool

Add this snippet to any website to render a compact ToolPatch widget without an iframe.

How Quadratic Equations Work

The Shape Behind the Formula

A quadratic equation is any equation that can be written as ax^2 + bx + c = 0, where a is not zero. The squared term is what gives the equation its distinctive behavior: instead of describing a straight line, it describes a parabola. That curve may cross the x-axis twice, touch it once, or miss it entirely. Those crossings are the roots, solutions, or zeros of the equation.

The coefficient a controls how wide the parabola is and whether it opens upward or downward. The coefficient b shifts the axis of symmetry, and c sets the y-intercept. Even before solving, those three numbers tell you a lot about the equation's geometry. Algebra and graphing are two views of the same object: the symbolic equation captures the curve, and the curve shows what the symbols mean.

Factoring and Completing the Square

Many quadratics are easiest to solve by factoring. If ax^2 + bx + c can be rewritten as a product such as (px + q)(rx + s), then the zero-product property says each factor can be set equal to zero. This is fast when the numbers cooperate, but not every quadratic factors neatly over integers.

Completing the square is more systematic. The idea is to rearrange the equation until the variable appears inside a perfect square, such as (x - h)^2 = k. From there, square roots give the solutions directly. Completing the square also reveals the vertex form of a parabola, a(x - h)^2 + k, which makes the turning point visible. This method is not just a school exercise; it is the algebraic engine behind the quadratic formula.

The Discriminant

The expression b^2 - 4ac is called the discriminant because it distinguishes the type of roots. If it is positive, the parabola crosses the x-axis at two distinct real points. If it is zero, the parabola touches the axis at exactly one repeated real root. If it is negative, there are no real x-axis crossings, but there are two complex roots.

This single quantity links algebra to geometry. A positive discriminant means the square root in the quadratic formula is real and nonzero. A zero discriminant means the vertex lies on the x-axis. A negative discriminant means the vertex is above the axis for an upward-opening parabola or below it for a downward-opening one, so real crossings never occur.

Why Quadratics Matter

Quadratic models appear whenever a quantity depends on the square of another quantity. Projectile motion under constant gravity, area problems, revenue curves, optimization tasks, and some physics energy relationships all lead naturally to quadratic expressions. The reason is often accumulation: a constant rate of change gives a line, while a changing rate can produce a curve.

Solving the equation is only part of the work. The roots need interpretation. In a projectile problem, one root may represent launch time and the other landing time. In a business model, a root may mark a break-even point. In a geometry problem, a negative length may be algebraically valid but physically meaningless. Good quadratic reasoning combines symbolic solving with attention to the original context.

How to interpret the result

Confidence and limitations

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Related tools and workflows