ToolPatch

One page. One job. Done.

← Back to all tools
Science & Math Math calculation

Quadratic Equation Solver

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

Science & Math

Quadratic Equation Solver finds the roots of `ax^2 + bx + c = 0`, including complex roots when the discriminant is negative. Use it to check algebra, graph intercepts, or polynomial models where the coefficients are known.

Permalink

Input guidance

Enter coefficients a, b, and c.

How to use this tool

  1. Enter coefficients a, b, and c.
  2. Run the solver.
  3. Review the roots and discriminant context before using them in a graph or derivation.

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.

Formula or method

How to interpret the result

Confidence and limitations

Related tools and workflows

Related science and math tools help test nearby formulas, assumptions, inputs, or statistical checks in the same analysis. Start with Flywheel Energy Calculator, Arithmetic Sequence Solver, and Blackbody Radiation Calculator when you need a quick follow-up check.