Math

Quadratic Formula Calculator

Results

Enter values and calculate to see results.

Embed on your site

Any ezcalcs calculator can be embedded with one script tag. Copy the snippet below or use the homepage playground to preview and customize.

<!-- ezcalcs embed: quadratic-formula-calculator — paste anywhere in the body -->
<script
  async
  src="https://ezcalcs.net/embed.js"
  data-calc="quadratic-formula-calculator"
  data-theme="light"
  data-width="100%"
  data-height="640"
></script>

Enter your coefficient values above to solve any quadratic equation instantly. This free quadratic formula calculator finds real and complex roots, shows the discriminant, and walks you through each step so you can verify the math yourself.

A quadratic equation is any equation in the form ax² + bx + c = 0. The quadratic formula gives you the exact values of x that make the equation true. Whether you are checking homework, preparing for a test, or solving a physics problem, the calculator above does the arithmetic so you can focus on understanding the result.

Quadratic Equation Solver Tool

This quadratic equation solver accepts three inputs: the coefficients a, b, and c from your equation in standard form. Once you enter those values, the tool applies the quadratic formula automatically and returns both solutions for x.

The calculator also evaluates the discriminant (b² − 4ac). That single number tells you whether your equation has two real roots, one repeated root, or two complex roots. Results appear with step-by-step detail so you can follow along.

How to Input Coefficient Values Into the Calculator

Every quadratic equation can be written as ax² + bx + c = 0. Your job is to identify the three coefficients and type them in.

  1. a is the number in front of x². It cannot be zero (otherwise the equation is not quadratic).
  2. b is the number in front of x. If there is no x term, enter 0.
  3. c is the constant term with no variable attached. If there is no constant, enter 0.

Make sure your equation equals zero before reading off the coefficients. For example, if you start with 3x² + 6x = 9, subtract 9 from both sides first to get 3x² + 6x − 9 = 0. Then a = 3, b = 6, and c = −9.

Negative numbers are fine. Enter them with a minus sign. The calculator handles positive, negative, and decimal coefficients.

The Quadratic Formula: Solve for x Using b² Minus 4ac

The quadratic formula is:

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

This single expression produces two solutions because of the ± symbol. One solution uses addition, the other uses subtraction. Here is what each piece means:

  • −b flips the sign of the b coefficient.
  • b² − 4ac is the discriminant. It sits under the square root.
  • √(b² − 4ac) determines how far apart the two roots are.
  • 2a divides the entire numerator.

The formula works for every quadratic equation, no matter the coefficient values. You never need to wonder whether the equation is factorable first. Plug in a, b, and c, simplify, and you have your answer.

What Is a Quadratic Equation in Standard Form (ax² Plus bx Plus c = 0)

A quadratic equation is a second-order polynomial equation with one variable, usually x. In math, "quadratic" means the highest power of the variable is 2.

Standard form looks like this:

ax² + bx + c = 0

  • a is the quadratic coefficient (it must not be zero).
  • b is the linear coefficient.
  • c is the constant.

Any equation with an x² term can be rearranged into standard form. That rearrangement is always the first step before using the quadratic formula, factoring, or completing the square.

Does any quadratic equation have two solutions? Technically, yes. The quadratic formula always outputs two values of x. Sometimes those two values are the same number (a repeated root). Sometimes they are complex numbers rather than real numbers. But there are always exactly two solutions counted with multiplicity.

Understanding the Discriminant and Number of Root Solutions

The discriminant is the expression inside the square root: b² − 4ac. Before you finish any calculation, the discriminant tells you what kind of roots to expect.

  • Positive discriminant: two distinct real root solutions.
  • Zero discriminant: one repeated real root (both solutions are equal).
  • Negative discriminant: two complex root solutions (no real x-intercepts).

Real Root Solutions

When the discriminant is positive, the square root produces a real number. Adding and subtracting that number from −b gives two different values of x.

If the discriminant equals zero, the square root is zero. Both solutions collapse to x = −b / 2a. The parabola touches the x-axis at exactly one point.

Complex Root Solutions

When b² − 4ac is negative, you are taking the square root of a negative number. The result involves i, the imaginary unit (where i² = −1).

Complex roots always come in conjugate pairs. For example, if one root is 2 + 3i, the other is 2 − 3i. The parabola never crosses the x-axis. These solutions are still valid, and the calculator displays them clearly.

How to Solve Quadratic Equations Step by Step

There are three main methods. The quadratic formula works every time. Factoring and completing the square are useful when the numbers cooperate.

Using the Quadratic Formula With the ± Square Root

  1. Write the equation in standard form: ax² + bx + c = 0.
  2. Identify a, b, and c.
  3. Calculate the discriminant: b² − 4ac.
  4. Take the square root of the discriminant.
  5. Compute x₁ = (−b + √(b² − 4ac)) / 2a.
  6. Compute x₂ = (−b − √(b² − 4ac)) / 2a.

This method never fails. It handles messy decimals, large numbers, and complex roots equally well.

Completing the Square as an Alternative Method

Completing the square rewrites the left side of the equation as a perfect square trinomial.

  1. Divide every term by a (so the x² coefficient becomes 1).
  2. Move the constant to the right side.
  3. Take half of the new b coefficient, square it, and add that value to both sides.
  4. Factor the left side as (x + h)² = k.
  5. Solve by taking the square root of both sides.

This method is how the quadratic formula itself is derived. It is especially helpful when you want to find the vertex of a parabola.

Factorization to Solve a Quadratic Equation

Factoring works when the equation breaks neatly into two binomials.

  1. Look for two numbers that multiply to a·c and add to b.
  2. Rewrite the middle term using those two numbers.
  3. Factor by grouping.
  4. Set each factor equal to zero and solve.

Factoring is fast when it works, but many quadratic equations with real number coefficients do not factor into integers. When you are stuck, the quadratic formula is the reliable fallback.

Quadratic Formula Calculator Example With Real Number Coefficients

Solve: 2x² + 5x − 3 = 0

Identify coefficients:

  • a = 2, b = 5, c = −3

Calculate the discriminant:

  • b² − 4ac = 25 − 4(2)(−3) = 25 + 24 = 49

The discriminant is positive (49), so there are two real roots.

Apply the formula:

  • x = (−5 ± √49) / (2 · 2)
  • x = (−5 ± 7) / 4

Two solutions:

  • x₁ = (−5 + 7) / 4 = 2 / 4 = 0.5
  • x₂ = (−5 − 7) / 4 = −12 / 4 = −3

You can verify by substituting each value back into the original equation. Both produce 0. Enter a = 2, b = 5, c = −3 into the calculator above to confirm and see the full step-by-step breakdown.

Educational Application of the Quadratic Equation Calculator

Algebra and Mathematics Coursework

Quadratic equations appear throughout algebra courses, from introductory math classes through college-level work. Students can use this calculator to check answers, then review the steps to understand where a sign error or arithmetic mistake happened.

Working backward from a correct solution builds confidence. Over time, the goal is solving quadratic equations by hand without the tool.

Parabola and Quadratic Function on a Coordinate System

Every quadratic equation corresponds to a quadratic function, y = ax² + bx + c, whose graph is a parabola. The roots of the equation are the points where the parabola crosses the x-axis.

  • When the discriminant is positive, the parabola crosses the x-axis at two points.
  • When it is zero, the vertex sits on the x-axis.
  • When it is negative, the parabola floats entirely above or below the x-axis (no real x-intercepts).

The axis of symmetry runs through x = −b / 2a, which is the midpoint of the two roots. Understanding this connection between the formula and the graph deepens your grasp of coordinate systems.

Physics and Real World Application

Quadratic equations describe real-world situations involving acceleration, area, and projectile motion.

  • Projectile motion: The height of a thrown ball over time follows a quadratic function. Solving for the roots tells you when the ball hits the ground.
  • Area problems: Finding the dimensions of a rectangle with a fixed area and a constraint on perimeter often leads to a quadratic.
  • Revenue optimization: In business math, profit functions are frequently quadratic. The vertex gives the maximum or minimum value.

In each case, identifying the coefficients and applying the formula translates a word problem into a concrete numerical answer.

Quadratic Equation Solver for GED and Test Preparation

The quadratic formula appears on the GED math test, the SAT, the ACT, and many college placement exams. It is one of the formulas worth memorizing.

On the GED, the formula is provided on the reference sheet. You still need to know how to use it. Practice identifying a, b, and c from word problems and from equations that are not yet in standard form.

Tips for test day:

  • Rearrange the equation to equal zero before identifying coefficients.
  • Watch the sign of c. A common mistake is forgetting the negative.
  • Calculate the discriminant first. If it is a perfect square, the roots are rational and you can double-check by factoring.
  • If you have a calculator available during the exam, use it for the arithmetic, then verify the answer makes sense in context.

Running practice problems through this quadratic formula calculator before your test helps you recognize patterns and build speed.

Why This Quadratic Formula Calculator Is a Free Educational Tool

This calculator is designed to help students, teachers, and anyone working through algebra problems. It is free to use with no account required.

The tool shows the discriminant, both roots, and a step-by-step solution. That transparency matters. A calculator that only spits out an answer does not help you learn. Seeing each stage of the formula applied to your specific numbers bridges the gap between memorizing a formula and understanding it.

Use this quadratic formula calculator as a study companion, a homework checker, or a quick way to solve quadratic equations when precision matters. The math is handled automatically, but the understanding is yours to build.