🎯 Algebra Solver

Quadratic Formula Calculator

Solve quadratic equations using the quadratic formula with step-by-step solutions, discriminant, and real or complex roots.

Quadratic Coefficients (ax² + bx + c = 0)

Enter values to calculate instant result

ℹ️ Info
ℹ️ Info
ℹ️ Info
💡 Try:
Verified Solution

---

📖

How to Use & Educational Guide

In-depth guide for Quadratic Formula Solver

Educational Overview

What Is the Quadratic Formula? How to Solve Quadratic Equations

The quadratic formula is the universal algebraic formula used to find the roots (solutions) of any quadratic equation written in standard form $ax^2 + bx + c = 0$, where $a \ne 0$. Also known around the world as the Sridharacharya formula, Bhaskara formula, minus b formula, or abc formula, it solves every quadratic equation—even when factoring with integers is impossible—producing two real roots, one repeated real root, or two complex roots.

The Quadratic Formula and Discriminant

For any standard form quadratic equation $ax^2 + bx + c = 0$ ($a \ne 0$), substitute the coefficients $a$, $b$, and $c$ into the formula:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

The expression inside the square root is called the discriminant ($\Delta$):

$$\Delta = b^2 - 4ac$$
$\Delta > 0$ (Positive): Two distinct real roots ($x$-axis crossed twice).
$\Delta = 0$ (Zero): One repeated real root (vertex touches $x$-axis).
$\Delta < 0$ (Negative): Two complex conjugate roots (no real $x$-intercepts).

How to Solve Quadratic Equations Using the Quadratic Formula Step-by-Step

Follow these six quadratic formula steps to solve any quadratic equation accurately:

  1. Step 1 (Rewrite in Standard Form): Move all terms to one side so the equation matches $ax^2 + bx + c = 0$.
  2. Step 2 (Identify $a$, $b$, and $c$): Read off the coefficients of $x^2$, $x$, and the constant term—making sure to keep any minus signs attached.
  3. Step 3 (Calculate the Discriminant): Evaluate $\Delta = b^2 - 4ac$ to check whether the roots are real or complex.
  4. Step 4 (Substitute Into the Formula): Plug $a$, $b$, and $\Delta$ into $x = \frac{-b \pm \sqrt{\Delta}}{2a}$.
  5. Step 5 (Split Into Plus and Minus Solutions): Compute $x_1 = \frac{-b + \sqrt{\Delta}}{2a}$ and $x_2 = \frac{-b - \sqrt{\Delta}}{2a}$.
  6. Step 6 (Simplify & Verify): Reduce fractions or radicals to simplest form and plug both roots back into the original equation to verify.

Quadratic Formula Examples & Practice Problems

Work through these four step-by-step quadratic formula examples covering two distinct real roots, equal (repeated) roots, complex roots, and rearranging equations into standard form:

Example 1 (Two Distinct Real Roots): Solve $x^2 - 5x + 6 = 0$

• Identify coefficients: $a = 1$, $b = -5$, $c = 6$.

• Discriminant: $\Delta = (-5)^2 - 4(1)(6) = 25 - 24 = 1$.

• Substitute: $x = \frac{-(-5) \pm \sqrt{1}}{2(1)} = \frac{5 \pm 1}{2}$.

• First root: $x_1 = \frac{5 + 1}{2} = 3$.

• Second root: $x_2 = \frac{5 - 1}{2} = 2$.

👉 Roots: $x_1 = 3,\; x_2 = 2$

Example 2 (One Repeated / Equal Root): Solve $x^2 - 6x + 9 = 0$

• Coefficients: $a = 1$, $b = -6$, $c = 9$.

• Discriminant: $\Delta = (-6)^2 - 4(1)(9) = 36 - 36 = 0$.

• Substitute: $x = \frac{-(-6) \pm \sqrt{0}}{2(1)} = \frac{6}{2}$.

👉 Root: $x = 3$ (repeated double root)

Example 3 (Complex Conjugate Roots): Solve $x^2 + 4x + 5 = 0$

• Coefficients: $a = 1$, $b = 4$, $c = 5$.

• Discriminant: $\Delta = 4^2 - 4(1)(5) = 16 - 20 = -4$.

• Simplify imaginary radical: $\sqrt{-4} = 2i$.

• Substitute: $x = \frac{-4 \pm 2i}{2} = -2 \pm i$.

👉 Complex Roots: $x_1 = -2 + i,\; x_2 = -2 - i$

Example 4 (Rearranging Into Standard Form): Solve $2x^2 + 3 = 7x$

• Step 1 (Set equal to zero): Subtract $7x$ from both sides: $2x^2 - 7x + 3 = 0$.

• Step 2 (Identify coefficients): $a = 2$, $b = -7$, $c = 3$.

• Step 3 (Calculate discriminant): $\Delta = (-7)^2 - 4(2)(3) = 49 - 24 = 25$.

• Step 4 (Solve for x): $x = \frac{7 \pm \sqrt{25}}{4} = \frac{7 \pm 5}{4} \implies x_1 = 3,\; x_2 = \frac{1}{2}$.

👉 Roots: $x = 3,\; \frac{1}{2}$

How Is the Quadratic Formula Derived & When Should You Use It?

The quadratic formula is derived directly from $ax^2 + bx + c = 0$ by completing the square: dividing through by $a$, moving $\frac{c}{a}$ to the right side, adding $\left(\frac{b}{2a}\right)^2$ to both sides to form $\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}$, and taking the square root. Because it works for every valid $a \ne 0$, it is the most dependable method whenever a quadratic expression does not factor cleanly or contains decimal/fractional coefficients.

📐 Finding Parabola X-Intercepts

For any quadratic function $y = ax^2 + bx + c$, solving $ax^2 + bx + c = 0$ gives the exact x-intercepts where the parabola crosses the horizontal axis.

🚀 Physics, Projectile Motion & Optimization

Projectile height equations ($h(t) = -\frac{1}{2}gt^2 + v_0t + h_0$) and profit-margin curves are quadratic—setting them to zero finds flight time and break-even points.

Common Quadratic Formula Mistakes to Avoid

  • Not Rearranging to Standard Form First: Always rewrite the equation as $ax^2 + bx + c = 0$ before reading off $a$, $b$, and $c$—forgetting to move a term across the equals sign flips its sign.
  • Dropping the Double Negative on $-b$: When $b$ is negative (such as $b = -5$), $-b$ becomes $-(-5) = +5$.
  • Squaring $-b$ Without Parentheses: $b^2$ is always positive for real numbers—for $b = -5$, $(-5)^2 = +25$, never $-25$.
  • Dividing Only the Radical by $2a$: The fraction bar $2a$ divides the entire numerator ($-b \pm \sqrt{b^2 - 4ac}$), not just the square root term.
  • Misinterpreting a Negative Discriminant: When $b^2 - 4ac < 0$, there are no real roots—express the answer as two complex roots using $i = \sqrt{-1}$.

Solve Any Quadratic Equation with the Calculator

Enter the coefficients $a$, $b$, and $c$ into our Quadratic Formula Calculator above to compute the discriminant $\Delta$, view exact simplified radical or decimal roots, and inspect every substitution step automatically.

Mathematical accuracy verified by AptCalc Engine

Frequently Asked Questions (FAQs)

Answers to common questions about this calculator

What is the quadratic formula?
The quadratic formula is x = (-b ± √(b² - 4ac)) / (2a). It gives the exact roots of any quadratic equation written in standard form ax² + bx + c = 0, where a ≠ 0.
How do you solve a quadratic equation using the quadratic formula?
First arrange the equation into standard form ax² + bx + c = 0 and identify a, b, and c. Next compute the discriminant Δ = b² - 4ac, substitute the values into x = (-b ± √Δ) / (2a), and simplify both the plus (+) and minus (-) solutions.
What is the discriminant of the quadratic formula and what does it tell you?
The discriminant is Δ = b² - 4ac, the expression under the square root. If Δ > 0, the equation has two distinct real roots; if Δ = 0, it has one repeated real root; and if Δ < 0, it has two complex conjugate roots.
Why is the quadratic formula also called Sridharacharya’s formula or Bhaskara’s formula?
The general algebraic solution for quadratic equations was documented by the 7th–9th century Indian mathematician Sridharacharya (and later popularized in Brazil via Bhaskara II), so different regions refer to the same formula as Sridharacharya’s formula, Bhaskara’s formula, the minus-b formula, or the abc formula.
Can the quadratic formula give complex or imaginary roots?
Yes. Whenever the discriminant b² - 4ac is negative, taking the square root introduces the imaginary unit i = √(-1), resulting in two complex conjugate roots of the form p ± qi.
Explore More Tools

Discover Other Calculation Suites

Browse our full ecosystem of precision calculation and conversion tools