Quadratic Equation Solver

Solve quadratic equations of the form ax² + bx + c = 0 instantly. Our advanced calculator finds real and complex roots, provides step-by-step solutions, and visualizes the parabola graph with vertex, axis of symmetry, and intercepts.

ax² + bx + c = 0
Cannot be 0

Your Equation

Solutions

x₁ =
x₂ =
Discriminant (Δ) =

Step-by-Step Solution

Parabola Graph

Parabola
Roots
Vertex

Parabola Properties

Vertex
-
Axis of Symmetry
-
Y-Intercept
-
Opens
-

Understanding Your Solution

Calculator Data

Last updated:

Use our free Quadratic Equation Solver to find roots, calculate the discriminant, and view step-by-step solutions with a parabola graph.


What is a Quadratic Equation?

A quadratic equation is a polynomial equation of degree two, meaning the highest power of its variable is 2. Its standard form is:

ax² + bx + c = 0

In this equation, a, b, and c are coefficients, and a must not equal zero. The value of each coefficient affects the equation’s solutions and the shape of its graph.

  • a — Leading coefficient: The coefficient of x². Its sign determines whether the parabola opens upward or downward, while its magnitude affects the width of the curve.
  • b — Linear coefficient: The coefficient of x. It influences the position of the vertex and the axis of symmetry.
  • c — Constant term: The value without a variable. It represents the y-intercept, where the parabola crosses the vertical axis.

Quadratic equations are used in several areas of mathematics and science. In physics, they help describe projectile motion. In business, they can model profit and break-even points. In engineering, they are used in structural calculations and electrical systems.

Our quadratic equation solver helps you solve these equations by calculating their roots and displaying important results, including the discriminant, vertex, and parabola graph.


The Quadratic Formula — Explained Step by Step

The quadratic formula is a standard method for finding the solutions of a quadratic equation. It works whether an equation can be factored easily or has irrational or complex roots.

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

The formula uses the three coefficients from the standard equation ax² + bx + c = 0.

  • −b: The negative value of the linear coefficient.
  • ±: Indicates that two calculations are performed: one using addition and the other using subtraction.
  • √(b² − 4ac): The square root of the discriminant, which determines the type of roots.
  • 2a: Twice the leading coefficient, used as the denominator.

Our quadratic formula calculator applies this formula to your entered coefficients. It calculates both solutions, displays the discriminant, and provides a step-by-step solution to help you understand how the answer is obtained.

Other Methods for Solving Quadratic Equations

There are several ways to solve quadratic equations. The most commonly used methods include:

  • Factoring: Breaks an equation into two factors and finds the values that make each factor equal to zero. It is useful when the equation can be factored easily.
  • Completing the Square: Rewrites the equation into a perfect-square expression. It can also be used to derive the quadratic formula.
  • Graphical Method: Uses the parabola graph to identify where the curve intersects the x-axis. These intersection points represent the real roots.
  • Quadratic Formula: Provides a general method for finding real or complex solutions, including equations that cannot be factored easily.


Understanding the Discriminant (Δ = b² − 4ac)

The discriminant is the expression b² − 4ac inside the square root of the quadratic formula. It helps identify the number and type of solutions before calculating the roots.

Our discriminant calculator finds this value and helps you understand what it means for your equation.

Δ > 0 — Two Distinct Real Roots

A positive discriminant means the equation has two different real roots. The parabola intersects the x-axis at two points.

The roots may be rational or irrational, depending on the value of the discriminant.

Example: x² − 5x + 6 = 0

Δ = 25 − 24 = 1

The two solutions are x = 2 and x = 3.

Δ = 0 — One Repeated Real Root

When the discriminant equals zero, both solutions have the same value. This is known as a repeated root or double root.

The parabola touches the x-axis at exactly one point, which is also its vertex.

Example: x² − 4x + 4 = 0

Δ = 16 − 16 = 0

The repeated root is x = 2.

Δ < 0 — Two Complex Roots

A negative discriminant means the equation has no real roots. Instead, it has two complex conjugate solutions containing the imaginary unit i, where i² = −1.

The parabola does not intersect the x-axis.

Example: x² + 4 = 0

Δ = 0 − 16 = −16

The complex roots are x = 2i and x = −2i.

Our complex roots calculator displays these solutions in standard complex-number form.

Understanding the discriminant makes it easier to predict the type of answer you will get when solving a quadratic equation.


Parabola Properties: Vertex, Axis of Symmetry & Intercepts

A quadratic equation can also be represented as a parabola using the function y = ax² + bx + c. Its shape and position depend on the values of its coefficients.

Our quadratic equation solver calculates the main parabola properties along with the roots.

Vertex (h, k)
h = −b/(2a), k = c − b²/(4a)
Axis of Symmetry
x = −b/(2a)
Y-Intercept
f(0) = c
Direction of Opening
a > 0: ∪   a < 0: ∩
  • Vertex: The turning point of the parabola. It is the lowest point when the curve opens upward and the highest point when it opens downward.
  • Axis of Symmetry: A vertical line passing through the vertex. It divides the parabola into two symmetrical halves.
  • Y-Intercept: The point where the graph crosses the y-axis. Its value is equal to the constant coefficient c.
  • X-Intercepts (Roots): The points where the parabola crosses the x-axis. These points represent the real solutions of the quadratic equation.
  • Direction of Opening: A positive value of a makes the parabola open upward, while a negative value makes it open downward.

These properties help explain the relationship between the equation, its solutions, and the shape of the graph.


How to Use This Quadratic Equation Solver

You can use this quadratic equation solver to calculate roots and explore the graph of an equation. Follow these steps to get your results:

1

Enter the Coefficients a, b, and c

Enter the three coefficients from your equation into the input fields. You can use positive numbers, negative numbers, and decimals. Make sure that coefficient a is not zero, because the equation would no longer be quadratic.

2

Click “Solve Equation”

Select the Solve Equation button to calculate the solutions. The calculator uses the quadratic formula to find the roots and determine the discriminant.

3

View the Results and Parabola Graph

Check the calculated roots and discriminant. The parabola graph helps you visualize the equation and understand how its curve relates to the solutions.

4

Review the Step-by-Step Solution

Explore the calculation steps and parabola properties, including the vertex, axis of symmetry, and y-intercept. Use the Reset button to clear the inputs and solve another equation.

Tip: Try the common examples below to see how different coefficients affect the roots, discriminant, and parabola graph.


Common Quadratic Equation Examples

These examples demonstrate the three possible discriminant cases and show how different coefficients affect the solutions. Select Try This to load an example into the quadratic equation calculator.

x² − 5x + 6 = 0
Δ = 1 > 0 · Two distinct real roots: x = 2 and x = 3.

x² − 4x + 4 = 0
Δ = 0 · One repeated real root: x = 2.

x² + 4 = 0
Δ = −16 < 0 · Two complex roots: x = 2i and x = −2i.

2x² + 3x − 2 = 0
Δ = 25 > 0 · Two real roots: x = 0.5 and x = −2.


Real-World Applications of Quadratic Equations

Quadratic equations are useful for describing relationships between variables in science, business, engineering, and everyday problem-solving. Here are some common examples:

Projectile Motion in Physics

The path of an object thrown into the air can be represented by a quadratic function. Its height changes over time, forming a parabolic path. Quadratic equations can help calculate when the object reaches a particular height or returns to the ground.

Business and Economics

Businesses can use quadratic functions to model revenue, costs, and profit. Solving the equation can help identify break-even quantities, while the vertex can represent a maximum or minimum value in a suitable model.

For related financial calculations, you can also use our investment calculator.

Architecture and Engineering

Parabolic shapes are used in structures such as arches and reflectors. Engineers can use quadratic functions to study curves, dimensions, and certain structural relationships.

Chemistry and Biology

Some chemical equilibrium problems and scientific models produce quadratic equations. Solving them helps determine possible values for unknown quantities, such as concentrations.

Signal Processing and Electronics

Quadratic equations appear in the analysis of second-order electrical circuits and control systems. Their roots help describe different system responses, including oscillatory and non-oscillatory behavior.

Geometry and Area Problems

Quadratic equations are often used to find unknown dimensions when the area and relationship between a rectangle’s sides are known.

For example, if a rectangle’s length is 3 units more than its width and its area is 28 square units, the equation becomes x² + 3x − 28 = 0.

You can also use our percentage calculator for related percentage calculations.

A quadratic equation solver makes it easier to work through these mathematical problems by calculating the roots and showing how the equation behaves.


Quadratic Equation Solving Methods: Which Should You Use?

There is more than one way to solve a quadratic equation. The best method depends on the equation and the type of solution you need.

1

Factoring

Factoring rewrites a quadratic expression as a product of two factors. Setting each factor equal to zero gives the roots.

Use when: the equation can be factored easily.
2

Completing the Square

This method transforms a quadratic expression into a perfect-square form. It is useful for understanding the structure of an equation and finding its vertex form.

Use when: you need to rewrite the equation into vertex form or study the derivation of the quadratic formula.
3

The Quadratic Formula

The quadratic formula works for every quadratic equation with a non-zero leading coefficient. It can find rational, irrational, repeated, and complex roots.

Our quadratic formula calculator uses this method to display the solutions and calculation steps.

Use when: factoring is difficult or you need a general solution method.
4

Graphical Method

The graphical method plots y = ax² + bx + c. The points where the parabola intersects the x-axis represent its real roots.

Use when: you want to understand the equation visually and study its graph.

Each method offers a different way to understand quadratic equations. The quadratic formula is particularly useful when an equation cannot be factored easily or has complex solutions.


Complex Roots: What They Mean and How to Find Them

A quadratic equation has complex roots when its discriminant is negative. This means the equation has no real solutions, but it still has two solutions involving the imaginary unit i, where i² = −1.

The general form of the solutions is:

x = (-b ± i√(-Δ)) / (2a)

A pair of complex roots is written in the form α ± βi. Each part has a specific meaning:

  • Real Part (α): The real component of the root, calculated as −b/(2a). It is also the x-coordinate of the parabola’s vertex.
  • Imaginary Part (β): The positive magnitude of the imaginary component, calculated as √(-Δ)/|2a| when Δ is negative.
  • Conjugate Pair: The two solutions have the same real part and opposite imaginary parts, such as 2i and −2i.

Complex roots are useful in several scientific and engineering applications.

Electrical Engineering

Complex roots are used when studying the behavior of electrical circuits. They can describe oscillations and damping in second-order systems.

Control Systems

Engineers use complex roots to study how control systems respond to changes. The real and imaginary components help describe whether a system’s response is oscillatory and how it changes over time.

Advanced Mathematics and Physics

Complex numbers are important in many areas of mathematics and physics, including wave functions, electrical signals, and mathematical models.

Our complex roots calculator helps you identify and display complex solutions when the discriminant is negative.


Study Tips: How to Get the Most from This Quadratic Equation Solver

A quadratic equation calculator can help you check your answers and understand the steps involved in solving an equation. These tips can make your practice more effective:

1

Predict the Discriminant

Before solving, calculate b² − 4ac. Try to predict whether the equation will have two real roots, one repeated root, or two complex roots. Then compare your prediction with the calculator’s result.

2

Understand Each Calculation Step

Review the step-by-step solution instead of looking only at the final answer. Understanding how the quadratic formula is applied will help you solve similar equations independently.

3

Study the Parabola Graph

Compare the graph with the calculated roots. Notice where the vertex is located and how the curve intersects, touches, or stays away from the x-axis.

4

Experiment with Different Coefficients

Change the values of a, b, and c to see how they affect the equation and its graph. Pay attention to the direction of opening, vertex, and y-intercept.

5

Check Your Factoring Work

If you solve an equation by factoring, enter the same coefficients into the calculator. Compare the calculated roots with your answers to identify any mistakes.

6

Practice with Different Numbers

Try equations with positive, negative, and decimal coefficients. Practicing different examples will help you become more comfortable solving quadratic equations in different situations.

Use the calculator as a learning aid to check your work, explore different solutions, and build a better understanding of quadratic equations.

Frequently Asked Questions

What is a quadratic equation solver?

A quadratic equation solver is an online calculator that finds the solutions of an equation in the standard form ax² + bx + c = 0. Enter the coefficients a, b, and c to calculate the roots, discriminant, and other important results. This calculator also displays a parabola graph and a step-by-step solution to help you understand the calculation.

How do I use this quadratic equation calculator?

Enter the values of a, b, and c in the input fields, making sure that a is not zero. Then click Solve Equation. The quadratic equation calculator will display the roots, discriminant, parabola graph, and relevant properties of the equation. You can use the Reset button to start another calculation.

What does the discriminant tell you about a quadratic equation?

The discriminant is calculated using Δ = b² − 4ac. It determines the type of roots a quadratic equation has. If Δ is positive, there are two distinct real roots. If Δ equals zero, there is one repeated real root. If Δ is negative, the equation has two complex conjugate roots.

Can this quadratic formula calculator find complex roots?

Yes. When the discriminant is negative, the quadratic equation has no real roots but has two complex conjugate solutions. These solutions contain the imaginary unit i, where i² = −1. Our complex roots calculator displays the solutions in the form α + βi and α − βi.

Why can't the coefficient a be zero?

The coefficient a represents the x² term in the standard quadratic equation ax² + bx + c = 0. If a equals zero, the squared term disappears and the equation becomes linear rather than quadratic. Therefore, a must be non-zero for the quadratic formula and parabola calculations to apply.

What is the difference between two real roots and a repeated root?

Two distinct real roots are different solutions of a quadratic equation, which occur when the discriminant is greater than zero. A repeated root occurs when the discriminant equals zero, meaning both solutions have the same value. On the parabola graph, two real roots intersect the x-axis at separate points, while a repeated root touches it at one point.

Can I solve quadratic equations with decimal coefficients?

Yes. You can enter decimal values for the coefficients a, b, and c. For example, you can solve an equation such as 1.5x² − 2.5x + 1 = 0. If you have fractional coefficients, convert them into decimal values before entering them.

What information does the quadratic equation solver show?

Along with the roots, the quadratic equation solver displays the discriminant, vertex, axis of symmetry, y-intercept, and direction of the parabola’s opening. It also provides a parabola graph and a step-by-step solution so you can review how the equation was solved.