Free Quadratic Formula Solver

Solve any quadratic equation instantly. Enter coefficients to get roots, step-by-step solution, graph, and full analysis.

Enter your equation

x2+x+=0

- 5x + 6 = 0

Solutions

x

3

x₂

2

Two distinct real roots

Step-by-Step Solution

1

Identify the coefficients

a = 1, b = -5, c = 6

2

Write the quadratic formula

x = (-b +/- sqrt(b^2 - 4ac)) / (2a)

3

Substitute the values

x = (-(-5) +/- sqrt((-5)^2 - 4(1)(6))) / (2(1))

4

Calculate the discriminant

D = b^2 - 4ac = (-5)^2 - 4(1)(6) = 25 - 24 = 1

5

Evaluate the square root

sqrt(1) = 1

6

Calculate the denominator

2a = 2(1) = 2

7

Find the solutions

x₁ = (5 + 1) / 2 = 6 / 2 = 3

x₂ = (5 - 1) / 2 = 4 / 2 = 2

Key Properties

Discriminant (D)

1

D > 0: Two real roots

Vertex

(2.5, -0.25)

Minimum point

Axis of Symmetry

x = 2.5

Vertical line through vertex

Y-Intercept

(0, 6)

Where the parabola crosses the y-axis

Direction

Opens Upward

a > 0: U-shaped parabola

Sum & Product of Roots

5, 6

-b/a and c/a (Vieta's formulas)

Graph

012345-101234567891011xyRootsVertex

Factored Form

(x -3)(x -2) = 0

Verification:

x₁ = 3: 1(3)^2 - 5(3) + 6 = 0

x₂ = 2: 1(2)^2 - 5(2) + 6 = 0

The Quadratic Formula

x = (-b ± √(b² - 4ac)) / 2a

For ax² + bx + c = 0, the solutions are given by the quadratic formula. The expression under the square root, b² - 4ac, is the discriminant. It determines whether the roots are real, repeated, or complex.

All calculations happen in your browser. Nothing is sent to any server.

Last updated: March 2026

~2000 BC

Babylonians first solved quadratics

Physics, Engineering, Economics

Used across every STEM discipline

What is the Quadratic Formula?

The quadratic formula is one of the most important formulas in all of mathematics. It provides a direct way to solve any equation of the form ax² + bx + c = 0, where a, b, and c are real numbers and a is not zero. The formula is x = (-b ± √(b² - 4ac)) / (2a).

The "±" symbol means there are generally two solutions: one where you add the square root, and one where you subtract it. These solutions are called the roots or zeros of the equation. They represent the x-values where the parabola crosses the x-axis.

The formula was first discovered in various forms by ancient Babylonian, Greek, Indian, and Persian mathematicians. The modern algebraic form we use today was established during the European Renaissance, building on the work of scholars like Brahmagupta (628 AD) and Al-Khwarizmi (820 AD).

Step-by-Step: How to Solve Quadratic Equations

There are several methods to solve quadratic equations. Factoring works when the equation can be expressed as a product of two binomials, such as x² - 5x + 6 = (x - 2)(x - 3) = 0. However, many quadratic equations cannot be easily factored.

Completing the square is a technique where you transform the equation so that one side becomes a perfect square trinomial. This method is actually how the quadratic formula itself is derived. While powerful, it can be tedious for equations with awkward coefficients.

The quadratic formula is the most universal method. It works for every quadratic equation, regardless of whether the roots are nice integers, irrational numbers, or complex numbers. Simply identify a, b, and c, substitute them into the formula, and simplify.

For quick mental math, remember that the sum of the roots equals -b/a and the product of the roots equals c/a. These relationships (Vieta's formulas) can help you verify your answers or quickly find roots when the equation is simple.

Understanding the Discriminant

The discriminant, D = b² - 4ac, is the key to understanding the nature of a quadratic equation's solutions before you even solve it. It appears under the square root in the quadratic formula, and its sign determines everything.

When D > 0, the square root is a real number, producing two distinct real solutions. The parabola crosses the x-axis at two points. When D = 0, the square root is zero, giving exactly one repeated solution. The parabola just touches (is tangent to) the x-axis at its vertex. When D < 0, the square root of a negative number produces imaginary numbers, yielding two complex conjugate solutions. The parabola never crosses the x-axis.

In physics and engineering, a negative discriminant often signals that a system has no real equilibrium point, while a zero discriminant frequently indicates a critical transition between two behaviors, such as the boundary between oscillating and non-oscillating systems.

Graphing Parabolas

Every quadratic equation y = ax² + bx + c produces a parabola when graphed. The sign of 'a' determines the direction: positive 'a' opens upward (U-shape), negative 'a' opens downward (inverted U). The magnitude of 'a' controls how wide or narrow the parabola is.

The vertex is the most important point on the parabola. Located at x = -b/(2a), it represents the minimum (when a > 0) or maximum (when a < 0) value of the function. The vertical line x = -b/(2a) is the axis of symmetry, and the parabola is a perfect mirror image on either side of this line.

The y-intercept is simply the value of c, since substituting x = 0 gives y = c. The x-intercepts (if they exist) are the roots of the equation, found using the quadratic formula. Together, these features give you a complete picture of the parabola's shape and position.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = (-b ± √(b² - 4ac)) / (2a). It gives the solutions (roots) of any quadratic equation in the form ax² + bx + c = 0, where a ≠ 0. It works for all quadratic equations, whether the roots are real or complex.

What does the discriminant tell you?

The discriminant is D = b² - 4ac. If D > 0, there are two distinct real roots. If D = 0, there is exactly one repeated real root. If D < 0, there are two complex conjugate roots (no real solutions). The discriminant determines the nature of the roots without actually solving the equation.

Can a quadratic equation have no solution?

Every quadratic equation has exactly two solutions (counting multiplicity) in the complex numbers. However, when the discriminant is negative, the solutions are complex numbers (involving i = √(-1)), meaning there are no real number solutions. The parabola does not cross the x-axis in this case.

What is the vertex of a parabola?

The vertex is the highest or lowest point on the parabola. Its x-coordinate is -b/(2a), and its y-coordinate is found by substituting back into the equation. If a > 0, the vertex is the minimum point. If a < 0, the vertex is the maximum point.

How do I factor a quadratic equation?

If the roots are r₁ and r₂, the factored form is a(x - r₁)(x - r₂) = 0. This only gives nice integer factors when the roots are integers. Otherwise, factoring may involve irrational or complex numbers, and the quadratic formula is the more practical method.

Is this quadratic solver free?

Yes, completely free. No signup, no ads, no limits. All calculations happen in your browser -- nothing is sent to any server.

Related Tools