Quadratic Formula Calculator: Find Roots & Show Work


Quadratic Formula Root Calculator

This tool will help you calculate and show the work for finding roots using the quadratic formula. Enter the coefficients of your quadratic equation ax² + bx + c = 0 to find the real or complex roots.

Enter Equation Coefficients



The coefficient of x². Cannot be zero.

Coefficient ‘a’ cannot be zero.



The coefficient of x.


The constant term.

Step-by-Step Work:


Parabola Visualization

Visual representation of the parabola y = ax² + bx + c and its roots on the x-axis.

What is the Quadratic Formula?

The quadratic formula is a fundamental mathematical formula used to solve a quadratic equation of the form ax² + bx + c = 0. It provides the values of ‘x’ that satisfy the equation. These values are known as the roots or zeros of the equation. Our tool is designed to not just give you the answer, but also to calculate and show work for finding roots using the quadratic formula, making it an excellent learning aid for students, engineers, and anyone needing to solve these common equations.

This formula is universally applicable to any quadratic equation, regardless of whether its roots are real and distinct, identical, or complex. It is a cornerstone of algebra and is widely used in various fields like physics, engineering, economics, and computer science to model and solve problems involving parabolic trajectories, optimization, and more. For more advanced problems, you might explore our Polynomial Root Solver.

The Quadratic Formula and Explanation

The formula itself is derived by completing the square on the generic quadratic equation. It provides a direct method to calculate the roots without factoring or guessing.

The formula is:

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

The expression inside the square root, b² – 4ac, is called the discriminant (Δ). The value of the discriminant is critical as it determines the nature of the roots.

  • If Δ > 0, there are two distinct real roots.
  • If Δ = 0, there is exactly one real root (a repeated or double root).
  • If Δ < 0, there are two complex conjugate roots.
Explanation of variables in the quadratic formula. These values are unitless coefficients.
Variable Meaning Unit Typical Range
a The coefficient of the x² term. Unitless Any real number except 0.
b The coefficient of the x term. Unitless Any real number.
c The constant term. Unitless Any real number.
x The root(s) of the equation. Unitless Can be a real or complex number.

Practical Examples

Seeing the process helps in understanding how to calculate and show work for finding roots using the quadratic formula.

Example 1: Two Distinct Real Roots

Let’s solve the equation: 2x² – 5x + 2 = 0

  • Inputs: a = 2, b = -5, c = 2
  • Discriminant (Δ): b² – 4ac = (-5)² – 4(2)(2) = 25 – 16 = 9
  • Calculation: x = [ -(-5) ± √9 ] / (2 * 2) = [ 5 ± 3 ] / 4
  • Results:
    • x₁ = (5 + 3) / 4 = 8 / 4 = 2
    • x₂ = (5 – 3) / 4 = 2 / 4 = 0.5

Example 2: Two Complex Roots

Let’s solve the equation: x² + 2x + 5 = 0

  • Inputs: a = 1, b = 2, c = 5
  • Discriminant (Δ): b² – 4ac = (2)² – 4(1)(5) = 4 – 20 = -16
  • Calculation: Since the discriminant is negative, we use the imaginary unit ‘i’ where i = √-1.

    x = [ -2 ± √-16 ] / (2 * 1) = [ -2 ± 4i ] / 2
  • Results:
    • x₁ = (-2 + 4i) / 2 = -1 + 2i
    • x₂ = (-2 – 4i) / 2 = -1 – 2i

Understanding these examples is easier with a strong foundation, which our Algebra Basics Guide can provide.

How to Use This Quadratic Formula Calculator

Our tool is designed for simplicity and clarity. Follow these steps to find your answer:

  1. Enter Coefficient ‘a’: Input the number that multiplies the x² term into the first field. Remember, ‘a’ cannot be zero.
  2. Enter Coefficient ‘b’: Input the number that multiplies the x term.
  3. Enter Coefficient ‘c’: Input the constant term.
  4. Calculate: Click the “Calculate Roots” button.
  5. Review Results: The calculator will instantly display the primary result (the roots) and a detailed, step-by-step breakdown of the calculation. This includes the discriminant value and the final root computation. The visualization will also show a graph of the parabola.
  6. Interpret Results: The tool will tell you if the roots are real, single, or complex. The “Step-by-Step Work” section is perfect if you need to calculate and show work for finding roots using the quadratic formula for homework or study.

Key Factors That Affect the Roots

The roots of a quadratic equation are highly sensitive to its coefficients. Understanding these factors is key to predicting the nature of the solution.

  • The Sign and Magnitude of ‘a’: This coefficient determines the direction the parabola opens (upwards for a > 0, downwards for a < 0) and its "width". A larger absolute value of 'a' makes the parabola narrower, which can affect its intersection with the x-axis.
  • The Value of ‘b’: The ‘b’ coefficient shifts the parabola’s axis of symmetry, which is located at x = -b/2a. Changing ‘b’ moves the parabola left or right, directly impacting the location of the roots.
  • The Value of ‘c’: The ‘c’ coefficient is the y-intercept, meaning it’s the point where the parabola crosses the y-axis. Changing ‘c’ shifts the entire parabola up or down, which is a primary factor in determining if there are zero, one, or two real roots.
  • The Discriminant (b² – 4ac): This is the single most important factor. Its sign directly tells you the number and type of roots without calculating them. It synthesizes the impact of all three coefficients into one telling number.
  • Ratio of Coefficients: The relationship between the coefficients, not just their individual values, is crucial. For example, if b² is very large compared to 4ac, you are almost guaranteed to have two real roots.
  • Zero Coefficients: If b=0, the equation is ax² + c = 0, and the roots are symmetric around the y-axis (x = ±√(-c/a)). If c=0, one root is always zero (x=0) and the other is x = -b/a. Considering these special cases can be useful, as explained in our guide on special equation forms.

Frequently Asked Questions (FAQ)

What happens if the coefficient ‘a’ is 0?

If ‘a’ is 0, the equation is no longer quadratic; it becomes a linear equation (bx + c = 0). The quadratic formula cannot be used because it would involve division by zero. Our calculator will alert you to this error. To solve it, simply use x = -c/b. You can use our linear equation solver for this.

What does it mean if the discriminant is zero?

A discriminant of zero means the vertex of the parabola lies exactly on the x-axis. This results in one real root, often called a “repeated” or “double” root because both solutions to the formula are the same value.

Can the coefficients a, b, and c be fractions or decimals?

Yes, the coefficients can be any real number, including integers, fractions, and decimals. Our calculator handles non-integer inputs without any issue. The logic to calculate and show work for finding roots using the quadratic formula remains the same.

How are complex roots useful?

Complex roots are crucial in many advanced fields, especially in electrical engineering, signal processing, and quantum mechanics. They describe systems that have oscillatory or wave-like behavior. Although they don’t appear on a standard number line, they are essential for complete mathematical modeling.

Why is it called ‘quadratic’?

The name comes from the Latin word “quadratus,” meaning “square.” It refers to the fact that the variable gets squared (x²). This is the highest power in the equation.

Is there a formula for cubic (x³) or quartic (x⁴) equations?

Yes, formulas exist for cubic and quartic equations, but they are significantly more complex than the quadratic formula. There is no general algebraic formula for equations of degree five or higher, a result known as the Abel-Ruffini theorem. For those, numerical methods are typically used. Our numerical methods calculator is a great resource for that.

Can I use this calculator for my homework?

Absolutely. This tool is designed to be an educational aid. It’s perfect for checking your answers and understanding the process, as it’s built to calculate and show work for finding roots using the quadratic formula step-by-step.

Does the order of the roots (x₁ vs x₂) matter?

No, the order does not matter. The set of roots {x₁, x₂} is the solution. Conventionally, x₁ is often calculated using the ‘+’ part of the ‘±’ and x₂ using the ‘-‘, but this is not a strict rule.

© 2026 Your Company Name. All Rights Reserved. For educational purposes.


Leave a Reply

Your email address will not be published. Required fields are marked *