Quadratic Equation Calculator

Last updated: 2026-09-01

Quadratic Equation Calculator — Solve quadratic equations ax2 + bx + c = 0.
Inputs
Result
Enter values and press Calculate
Common Examples — Click to Fill
Coefficient aCoefficient bCoefficient c
Caso basico 0.422.4
Caso tipico 0.73.54.2
Caso medio 156
Caso avanzado 1.57.59
Caso extremo 2.512.515

TL;DR: To calculate the roots of a quadratic equation in the form ax² + bx + c = 0, use the quadratic formula x = (−b ± √(b² − 4ac)) ÷ (2a), where you first compute the discriminant (Δ = b² − 4ac) to determine if you have two real roots (Δ > 0), one real root (Δ = 0), or two complex roots (Δ < 0).

What Is the Quadratic Equation Calculator?

The Quadratic Equation Calculator is a tool designed to solve any equation in the standard form ax² + bx + c = 0, where a, b, and c are real numbers (with a ≠ 0). The calculator accepts the three coefficients as inputs and instantly returns the roots (solutions) for x. It also provides the discriminant value, which tells you the nature of the solutions before you even look at the roots themselves.

This calculator is essential for high school and college algebra students, engineers, physicists, and anyone dealing with parabolic motion, profit maximization, or projectile trajectories. In real life, quadratic equations model everything from the area of a rectangular plot when you know the perimeter, to calculating the optimal price for a product to maximize revenue, or determining when a ball thrown into the air will hit the ground. Rather than factoring manually or graphing, this calculator gives you exact results (often rounded to specific decimal places) in under a second.

The core engine behind the tool is the quadratic formula, a universal method that works for every quadratic equation—unlike factoring, which only works for "nice" numbers. This calculator removes the risk of arithmetic errors when computing the discriminant and the subsequent square root, which is where most manual mistakes occur.

How to Use the Calculator

Using the Quadratic Equation Calculator is a straightforward three-step process. Ensure your equation is written in standard form (all terms on one side, equal to zero) before inputting the values.

  1. Locate the input fields for coefficients: The calculator has three separate input boxes: one for a (the coefficient of x²), one for b (the coefficient of x), and one for c (the constant term).
  2. Enter your coefficients: Type the numeric value for each coefficient into its designated field. Important: If a term is missing, enter 0 for that coefficient (e.g., for x² − 9 = 0, enter a = 1, b = 0, c = -9).
  3. Press the "Solve" or "Calculate" button: After entering all three values, click the button to run the calculation. The tool will process the discriminant and apply the quadratic formula, displaying the results instantly.

The output will typically show the discriminant (Δ), the first root (x₁), and the second root (x₂). If the discriminant is negative, the output will show complex solutions in the form of a ± bi, rather than real numbers.

Formula and Calculation Method

The calculator relies on a single, powerful formula that solves any quadratic equation. In plain language: take b, change its sign, then add or subtract the square root of the discriminant. Divide the entire result by 2 times a.

The formal expression is: x = (−b ± √(b² − 4ac)) / (2a)

The term inside the square root, b² − 4ac, is called the discriminant (often denoted as Δ). This single value dictates the type of solutions you will get.

Worked Example with Real Numbers: Let's solve 2x² + 7x + 3 = 0. Here, a = 2, b = 7, and c = 3.

  • Step 1 – Calculate the discriminant: Δ = b² − 4ac = 7² − 4(2)(3) = 49 − 24 = 25. Since 25 is positive, we know there will be two distinct real roots.
  • Step 2 – Find the square root of Δ: √Δ = √25 = 5.
  • Step 3 – Calculate the first root (x₁): Using the plus sign: x₁ = (−7 + 5) ÷ (2 × 2) = (−7 + 5) ÷ 4 = −2 ÷ 4 = −0.5.
  • Step 4 – Calculate the second root (x₂): Using the minus sign: x₂ = (−7 − 5) ÷ (2 × 2) = (−7 − 5) ÷ 4 = −12 ÷ 4 = −3.

Therefore, the solutions for 2x² + 7x + 3 = 0 are x = −0.5 and x = −3. The calculator performs these four steps in the background, ensuring precision and speed.

Practical Examples

To illustrate the versatility of the calculator, here are three realistic scenarios with different types of solutions.

Scenario Equation & Inputs (a, b, c) Discriminant (Δ) Roots (x₁, x₂) Meaning
Projectile Motion −4.9t² + 20t + 1 = 0
(a=−4.9, b=20, c=1)
20² − 4(−4.9)(1) = 400 + 19.6 = 419.6 (Positive) t₁ ≈ 4.16 seconds, t₂ ≈ −0.05 seconds Two real roots. The positive root (4.16s) is when the object hits the ground. The negative root is physically impossible and ignored.
Tangency Problem x² − 4x + 4 = 0
(a=1, b=−4, c=4)
(−4)² − 4(1)(4) = 16 − 16 = 0 (Zero) x₁ = x₂ = 2 Exactly one real root (a double root). The parabola touches the x-axis at exactly one point (x=2).
No Real Intersection x² + 2x + 5 = 0
(a=1, b=2, c=5)
2² − 4(1)(5) = 4 − 20 = −16 (Negative) x₁ = −1 + 2i, x₂ = −1 − 2i Two complex roots. The parabola never crosses the x-axis; it sits entirely above it.

In the first example, the calculator helps you find the exact time of impact. In the second, it confirms a tangent line. In the third, it tells you that the graph never touches the ground level, indicating complex solutions (involving the imaginary unit i).

Tips for Accurate Results

Getting the right answer from the calculator depends on entering the coefficients correctly. Even a single sign error can produce completely wrong roots.

  • Standardize the equation first: Ensure the equation is in the form ax² + bx + c = 0. If your problem is 5 = 3x² − 2x, rearrange it to 3x² − 2x − 5 = 0 before entering values. For this, a=3, b=−2, c=−5.
  • Check if a equals zero: If a = 0, the equation is not quadratic; it is linear (bx + c = 0). The quadratic formula will fail (division by zero). If your input results in an error, verify that your a value is non-zero.
  • Do not forget the negative signs for b and c: When the equation is x² − 5x + 6 = 0, you must enter b as −5, not 5. Many users forget this, and the calculator will output incorrect roots (in this case, it would solve x² + 5x + 6 = 0, yielding −2 and −3 instead of the correct 2 and 3).
  • Remember the ± symbol: The formula always produces two answers (unless Δ = 0). Do not stop after computing the "plus" version; you must also compute the "minus" version. The calculator does this automatically.
  • Beware of decimals vs. fractions: The tool works either way, but if you input 0.333 for 1/3, you introduce rounding errors. If possible, type the fraction itself (e.g., 1/3) if the calculator supports it; otherwise, use as many decimal places as you can.
  • Validate your discriminant: Before trusting the roots, check the sign of the discriminant output. If you get a negative discriminant but expected real roots, double-check your c value for a sign error.

Frequently Asked Questions

1. What does it mean when the discriminant is negative in the results?

When the discriminant (Δ = b² − 4ac) is negative, it means the quadratic equation has no real solutions. Instead, it has two complex (imaginary) solutions. Geometrically, this means the parabola represented by the equation does not cross the x-axis at any point. For example, solving x² + 2x + 5 = 0 yields Δ = −16. The square root of −16 is 4i (where i = √−1). Using the formula, the roots are x = −1 + 2i and x = −1 − 2i. The calculator will output these in the form "a + bi" and "a − bi". These are valid algebraic solutions, but they do not correspond to any real-world measurable point on a standard graph.

2. Is there a faster way to solve than using the calculator?

For simple equations with integer roots, factoring is often faster. If you can rewrite ax² + bx + c as (px + q)(rx + s), you can set each factor to zero and solve. For instance, x² − 5x + 6 factors into (x − 2)(x − 3), yielding roots 2 and 3. Completing the square is another method, but it is more time-consuming. However, the quadratic formula (used by the calculator) is the only method that works universally for every quadratic equation, including those with irrational or complex roots. If the equation has fractions, large primes, or no obvious factors, the calculator is significantly faster and less error-prone than manual factoring.

3. What is the difference between a root, a zero, and a solution?

These terms are often used interchangeably, but they refer to slightly different contexts. A solution is any value of x that makes the equation true (makes the left side equal to zero). A root is specifically the solution to a polynomial equation, such as a quadratic. A zero is the x-value where the graph of the function f(x) = ax² + bx + c touches or crosses the x-axis (i.e., where f(x) = 0). For a quadratic, these are identical: the roots of the equation are the zeros of the function, and both represent the solutions. In the calculator output, when you see x₁ and x₂, those are the roots; plotting them on a graph shows you exactly where the parabola intersects the horizontal axis.

Related Calculators

FAQ

What types of quadratic equations can this calculator solve?

This calculator can solve any quadratic equation in the standard form ax² + bx + c = 0, where a is not equal to zero. It handles real coefficients, including fractions, decimals, and negative numbers, and it will display both real and complex (imaginary) roots when applicable.

How do I enter the coefficients a, b, and c?

You simply input the numerical values for the coefficient of x² (a), the coefficient of x (b), and the constant term (c) into their respective fields. The calculator automatically computes the discriminant and applies the quadratic formula, so no algebraic manipulation is required on your part.

What does the calculator show when the equation has no real solutions?

When the discriminant (b² - 4ac) is negative, the calculator clearly indicates that there are no real roots and instead provides the two complex conjugate solutions in the form p + qi and p - qi. It also highlights that the parabola does not intersect the x-axis, which helps you understand the graphical interpretation.

Can I see the step-by-step solution process?

Yes, the calculator offers an optional 'Show Steps' feature that breaks down the entire solution, including substitution into the quadratic formula, calculation of the discriminant, and simplification of the final roots. This is particularly useful for learning or verifying your own work, and you can toggle it on or off before hitting the calculate button.