Updated on April 17th, 2026

Quadratic Formula Calculator

Created By Jehan Wadia

ax2 + bx + c = 0

Solution Summary
Discriminant (Δ) = 1Two distinct real roots
x₁ = 2 x₂ = 1
PropertyValue
Vertex(1.5, -0.25)
Axis of Symmetryx = 1.5
Y-intercept(0, 2)
Sum of Roots3
Product of Roots2
Step-by-Step Solution
Graph of f(x) = ax² + bx + c

Introduction

The quadratic formula calculator helps you solve quadratic equations quickly and easily. A quadratic equation is any equation that looks like ax² + bx + c = 0, where a, b, and c are numbers. These equations show up all the time in algebra, and solving them by hand can be tricky. The quadratic formula gives you the answer every time, but plugging in the numbers and doing the math takes work. This tool does all of that for you in seconds.

Just enter your values for a, b, and c, and the calculator will find the solutions (also called roots) of your equation. It will also tell you the value of the discriminant, which is the part under the square root sign (b² − 4ac). The discriminant tells you how many real solutions your equation has. If it is positive, you get two real solutions. If it is zero, you get one. If it is negative, there are no real solutions — only complex ones. This quadratic formula calculator handles all three cases so you always get a clear answer.

How to Use Our Quadratic Formula Calculator

Enter the three coefficients of your quadratic equation (ax² + bx + c = 0), and this calculator will solve for x using the quadratic formula. It gives you both solutions, including real and complex roots.

Coefficient a: Enter the number in front of x². This is the first term in your equation. The value of "a" cannot be zero, or the equation is not quadratic.

Coefficient b: Enter the number in front of x. This is the middle term in your equation. If there is no x term, enter 0.

Coefficient c: Enter the constant number in your equation. This is the term with no variable. If there is no constant, enter 0.

Quadratic Formula Calculator

The quadratic formula is one of the most important tools in algebra. It lets you find the solutions (called roots) of any quadratic equation written in the standard form ax² + bx + c = 0. The formula itself is:

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

A quadratic equation is any equation where the highest power of the variable x is 2. The letters a, b, and c are called coefficients. The value of a controls how wide or narrow the parabola is, b affects where it shifts left or right, and c tells you where the curve crosses the y-axis.

What Is the Discriminant?

The part under the square root sign, b² − 4ac, is called the discriminant. It tells you what kind of answers to expect before you even finish solving:

Key Properties of a Quadratic Equation

Every quadratic equation has several useful properties:

When Do You Use the Quadratic Formula?

You can solve some quadratic equations by factoring or by completing the square. However, these methods do not always work easily. The quadratic formula works every single time, no matter what the coefficients are. That is what makes it so powerful. Whether the roots are whole numbers, fractions, irrational numbers, or even complex numbers, this formula will always give you the correct answer.

Related Math Tools

Many algebra problems involve related concepts. If your equation is linear rather than quadratic, the slope calculator can help you work with linear equations and find the slope between two points. When working with coordinate geometry, the midpoint calculator is useful for finding the center point between two coordinates, such as the midpoint between two roots on a number line. For data analysis involving quadratic models, the IQR calculator can help you understand the spread of your data, while the percent error calculator is handy for checking how close your approximations are to exact solutions. If you need to analyze how quickly a quadratic function is changing at a particular point, our rate of change calculator can help. You can also use the percentage calculator and percent change calculator for general arithmetic tasks that often come up alongside algebra work.

How to Use This Calculator

This calculator gives you two ways to enter your equation. In Coefficient Mode, you type in the values of a, b, and c directly. In Equation Mode, you type the full equation like 2x^2 - 5x + 3 = 0. You can use fractions (like 3/4) or decimals. After you press Calculate, the tool shows you both roots, a complete step-by-step solution, a summary of all key properties, and a graph of the parabola with the roots and vertex marked.

Quadratic equations also appear frequently in physics. For example, projectile motion calculations rely on quadratic equations to determine the trajectory of an object, and free fall problems use them to find how long it takes an object to hit the ground. The displacement calculator also uses quadratic relationships when acceleration is involved.


Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = (−b ± √(b² − 4ac)) / 2a. It finds the values of x that make any quadratic equation (ax² + bx + c = 0) true. You plug in the numbers for a, b, and c, and the formula gives you the solutions.

Can this calculator solve equations with fractions?

Yes. You can type fractions like 3/4 or -7/3 into any coefficient field. The calculator reads fractions and decimals. It will solve the equation and show the answer in the simplest form it can.

What happens if I enter 0 for coefficient a?

The calculator will show an error. If a = 0, the equation becomes bx + c = 0, which is a linear equation, not a quadratic one. The quadratic formula only works when a is not zero.

What are complex or imaginary roots?

Complex roots happen when the discriminant (b² − 4ac) is negative. You cannot take the square root of a negative number using regular numbers, so the answers include i, which stands for √(−1). Complex roots always come in pairs like 3 + 2i and 3 − 2i.

What is the difference between Coefficient Mode and Equation Mode?

Coefficient Mode lets you type the values of a, b, and c into separate boxes. Equation Mode lets you type the full equation, like 2x^2 - 5x + 3 = 0, in one box. Both modes give the same results. Use whichever one feels easier for you.

How do I read the graph the calculator shows?

The graph shows a parabola, which is the curve made by the quadratic equation. The points where the curve crosses the x-axis are the roots (solutions). The lowest or highest point on the curve is the vertex. Both the roots and vertex are labeled on the graph.

What does a repeated root mean?

A repeated root means both solutions are the same number. This happens when the discriminant equals zero. On the graph, the parabola just touches the x-axis at one point instead of crossing it at two points.

Can I use this calculator for homework?

Yes. The calculator shows a full step-by-step solution, so you can follow along and learn how to solve quadratic equations on your own. It is a great study tool for checking your work.

What does the ± button next to each coefficient do?

The ± button flips the sign of the number in that box. If the number is positive, it becomes negative, and if it is negative, it becomes positive. It is a quick way to change signs without retyping.

Why does the calculator show vertex, axis of symmetry, and y-intercept?

These properties help you fully understand the quadratic equation. The vertex is the turning point of the parabola. The axis of symmetry is the vertical line that splits the parabola into two equal halves. The y-intercept is where the curve crosses the y-axis. Together, they give you a complete picture of the equation's graph.

How do I type an equation in Equation Mode?

Type it like you would write it on paper. Use x^2 for x squared. For example, type 2x^2 - 5x + 3 = 0. You can also use if your keyboard supports it. Make sure to include the = 0 part.

What is the sum and product of roots used for?

The sum of roots equals −b/a and the product of roots equals c/a. These are shortcuts from Vieta's formulas. They let you check your answers quickly or build a quadratic equation when you already know its roots.

Does this calculator work on phones?

Yes. The calculator is designed to work on phones, tablets, and computers. On touch devices, a virtual math keypad appears so you can type numbers, x, and math symbols easily.

Can the quadratic formula give irrational answers?

Yes. When the discriminant is positive but not a perfect square, the roots include square roots that cannot be simplified to neat numbers. For example, solving x² − 2 = 0 gives x = √2 and x = −√2, which are irrational numbers. The calculator shows these as decimal approximations.


Related Calculators

Rate Of Change Calculator

Visit Rate Of Change Calculator

Slope Calculator

Visit Slope Calculator