Use the quadratic formula calculator to solve ax^2 + bx + c = 0 with decimal or fraction coefficients, compare exact radical and decimal roots.
Last updated
Quadratic formula, discriminant, and parabola check in one sheet Use this quadratic formula calculator to solve roots, classify the discriminant, find the vertex and axis of symmetry, and see whether the parabola crosses, touches, or misses the x-axis.
Inputs
Solve ax² + bx + c = 0 from standard-form coefficients
Enter the coefficients exactly as they appear in the quadratic equation. This page returns the roots, the discriminant, the axis of symmetry, the vertex, and a quick interpretation of how the parabola behaves.
Use decimals or simple fractions like 3/2. Keep all terms on one side of the equation before entering the coefficients.
Quick examples
Equation preview
Write the equation in standard form first, then copy the coefficient values into a, b, and c.
Result
Roots, discriminant, and graph interpretation
Enter the coefficients Add coefficients a, b, and c from ax² + bx + c = 0 to solve the roots, check the discriminant, and read the parabola features. Decimals and simple fractions such as 3/2 are accepted.
Quadratic formula calculator for roots, discriminant, vertex, and parabola checks
This quadratic formula calculator solves equations in the form ax^2 + bx + c = 0 and shows more than the two roots. It also works as a quadratic equation calculator, quadratic roots calculator, and discriminant calculator by classifying the root type, surfacing the axis of symmetry and vertex, and showing how the same coefficients shape the related parabola.
What the quadratic formula solves
A quadratic equation has highest degree 2 and is usually written in standard form as ax^2 + bx + c = 0. The quadratic formula works for every such equation as long as a is not zero. That is why it is the fallback method when factoring is slow, unreliable, or impossible over the real numbers.
Searchers often describe the same task in slightly different ways: quadratic formula calculator, quadratic equation calculator, quadratic solver, or quadratic roots calculator. The mathematical goal is the same in each case: start with coefficients a, b, and c, then recover the roots and understand what those coefficients mean for the graph.
A stronger quadratic calculator should not stop at the bare solutions. The discriminant, axis of symmetry, vertex, and intercept form all help explain whether the parabola crosses the x-axis twice, just touches it once, or never reaches the axis in the real plane.
ax^2 + bx + c = 0
Standard quadratic form, where a cannot be zero.
x = (-b ± √(b^2 - 4ac)) / (2a)
The quadratic formula used to solve the equation for x.
How the discriminant predicts the kind of roots
The discriminant is the expression under the square root: b^2 - 4ac. It tells you the nature of the roots before you finish the arithmetic. This is one of the highest-value outputs on any discriminant calculator because it instantly separates the problem into two real roots, one repeated root, or a complex conjugate pair.
If the discriminant is positive, the square root term is real and non-zero, so the equation has two distinct real roots. If it equals zero, both roots collapse to the same value and the parabola touches the x-axis at its vertex. If it is negative, the roots are complex and the graph has no real x-intercepts even though the quadratic function still has a vertex and axis of symmetry.
That is why the page keeps the discriminant beside the root classification. Many people searching for a quadratic formula calculator with steps really want this interpretation: not just the answer, but what the answer means.
D = b^2 - 4ac
The discriminant determines the number and type of roots.
Discriminant greater than 0: two distinct real roots.
Discriminant equal to 0: one repeated real root.
Discriminant less than 0: two complex conjugate roots.
The axis of symmetry and vertex still exist even when the roots are complex.
Why the vertex and axis of symmetry matter
A quadratic equation is tied to a quadratic function. Once you interpret ax^2 + bx + c as y = ax^2 + bx + c, the graph is a parabola. The axis of symmetry sits at x = -b / (2a), and the vertex lies on that line. Together they tell you where the parabola turns and whether that turning point is a maximum or minimum.
That graph view matters in optimisation, motion problems, and algebra checks. If a is positive, the parabola opens upward and the vertex is a minimum. If a is negative, the parabola opens downward and the vertex is a maximum. A calculator that exposes only the roots leaves out that high-value interpretation.
This is also where the page becomes more useful than a thin quadratic solver. It connects the formula output to the graph shape, the x-intercepts, and the symmetry line that sits midway between the two real roots when both real roots exist.
Axis of symmetry = -b / (2a)
Vertical line through the vertex and midpoint of the real roots when they exist.
Vertex = ( -b / (2a), f(-b / (2a)) )
The turning point of the parabola. This is the specific relationship the calculator applies when building the result.
Quadratic formula versus factoring
Factoring is often faster when the roots are simple integers or rational values. For example, x^2 - 3x + 2 = 0 factors into (x - 1)(x - 2) = 0 immediately. But many equations do not factor cleanly, especially when the discriminant is not a perfect square or when the roots are complex.
That is why the quadratic formula is the dependable method. It always works after the equation is rearranged into standard form. A practical quadratic equation calculator should therefore help with both workflows: show the formula-based result every time, and also display intercept form when real roots exist so you can see the factoring connection.
If the roots are complex, a real intercept form is no longer available. That is not a bug. It reflects the underlying graph: the parabola does not cross the x-axis in the real coordinate plane.
Exact roots, decimals, and fraction coefficients
Many quadratic formula calculator with steps searches are really asking for the exact answer, not only a decimal approximation. When the coefficients are integers, the calculator now keeps a simplified radical form beside the decimal roots so you can see answers such as x = 4 ± √11 instead of only rounded values.
Fraction coefficients are also common in algebra homework and applied models. You can enter simple fractions such as 3/2, -5/4, or 0.75 directly into the coefficient boxes. The calculator uses those values for the discriminant, roots, vertex, axis of symmetry, sum of roots, product of roots, and graph interpretation.
Exact radical simplification is most meaningful when a, b, and c are integer coefficients. For decimal or fraction inputs, the numeric roots remain the trustworthy working values, and the step-by-step section still shows the discriminant classification and graph checks.
Use exact radical form when you need an algebraic answer for coursework.
Use decimal roots when the coefficients come from measurement, modelling, or approximated data.
Use the discriminant and vertex outputs to check whether the numeric roots make sense.
If a = 0, the page warns that the equation is linear rather than pretending the quadratic formula still applies.
Worked example: solve x^2 - 3x + 2 = 0
Here a = 1, b = -3, and c = 2. The discriminant is (-3)^2 - 4(1)(2) = 9 - 8 = 1, so the equation has two distinct real roots.
Substituting into the quadratic formula gives x = (3 ± √1) / 2. That produces x = 2 and x = 1. Because the discriminant is positive, the parabola crosses the x-axis twice.
The axis of symmetry is x = 3/2, which sits exactly between the two roots. The related function opens upward because a is positive, and its vertex sits below the x-axis. This is a good example of why a quadratic formula calculator with vertex and axis outputs is more useful than a roots-only tool.
When the roots are complex
If the discriminant is negative, the formula still works, but the square root part introduces i = √-1. For example, x^2 + 2x + 5 = 0 has discriminant 4 - 20 = -16, so the roots are -1 + 2i and -1 - 2i.
In that case, there are no real x-intercepts. The parabola stays entirely above or below the x-axis depending on the sign of a and the vertex height. That is why the page keeps graph interpretation visible even in complex-root cases.
Many generic solvers hide this distinction and make the result feel abstract. A better complex-roots calculator explains both the algebra and the graph consequence: the function is real, but its roots are not.
Limitations and setup checks
The formula requires the equation to be in standard form. If your original equation is written differently, rearrange it first so all terms sit on one side and the other side equals zero.
The coefficient a cannot be zero. If a = 0, the equation is no longer quadratic and should be solved as a linear equation instead.
This page interprets the coefficients, discriminant, roots, axis, and vertex for one quadratic at a time. It is not a full computer algebra system and does not replace graphing software, symbolic factoring tools, or multi-step equation rearrangement.
The quadratic formula solves ax^2 + bx + c = 0 for x by computing x = (-b ± √(b^2 - 4ac)) / (2a). It works for every quadratic equation once the equation is written in standard form and a is not zero.
What does the discriminant tell me?
The discriminant is b^2 - 4ac. A positive discriminant means two distinct real roots, zero means one repeated real root, and a negative discriminant means two complex conjugate roots. It is the fastest way to classify the solutions before finishing the full formula.
Can this quadratic formula calculator show complex roots?
Yes. When the discriminant is negative, the page reports a complex conjugate pair instead of forcing an invalid real-number answer. It also keeps the axis of symmetry and vertex interpretation visible because those graph features still exist.
Why do I need to enter a, b, and c?
Those are the standard-form coefficients in ax^2 + bx + c = 0. The quadratic formula, discriminant, axis of symmetry, and vertex all depend directly on those three values, so the page uses them as the canonical input workflow.
What happens if a = 0?
Then the expression is not quadratic. It becomes a linear equation instead, so the quadratic formula no longer applies. A good calculator should warn you rather than silently returning a misleading result.
What is the axis of symmetry for a quadratic?
The axis of symmetry is x = -b / (2a). It is the vertical line through the parabola's vertex and, when two real roots exist, it sits halfway between them.
What does the vertex tell me?
The vertex is the turning point of the parabola. If a is positive, the vertex is a minimum; if a is negative, it is a maximum. It helps explain the graph behavior, not just the equation's roots.
Is factoring better than the quadratic formula?
Factoring is faster when the quadratic breaks cleanly into simple factors, but the quadratic formula is more general because it always works once the equation is in standard form. Many students use both: factor when it is obvious, then use the formula as the reliable fallback.
Why does a negative discriminant mean no real x-intercepts?
A negative discriminant means the square root term is based on a negative number, so the roots are complex rather than real. On the graph, that means the parabola never crosses the x-axis in the real plane.
Can the calculator tell whether the parabola opens up or down?
Yes. The sign of a determines the opening direction. Positive a means the parabola opens upward, while negative a means it opens downward.
Does this quadratic formula calculator show exact radical answers?
Yes for integer coefficients. The result keeps a simplified exact root form beside the decimal roots, so an irrational solution can appear as a radical expression rather than only a rounded decimal.
Can I enter fractions for a, b, or c?
Yes. The coefficient boxes accept simple fractions such as 3/2 or -5/4 as well as decimal numbers. Fraction inputs are useful when the quadratic equation comes from an algebra problem rather than measured data.
Why does the calculator show both exact and decimal roots?
Exact roots are best for algebraic checking and coursework, while decimal roots are easier to use in graphing, modelling, and practical interpretation. Showing both helps you verify the formula work without losing the numerical meaning.
Guides
Featured in articles
Step-by-step guides that use this calculator to solve real problems.