SwiftCalculators Header
Basic Math & Algebra

Quadratic Formula Calculator

Solve any quadratic equation instantly. Enter your coefficients to find real roots, complex roots, and the discriminant step-by-step.

⚡ Supports Fractions (e.g. 1/4) 🔒 100% Private 📱 Mobile Friendly
1x2 + 1x + 0.25 = 0
Invalid Input: Coefficient 'a' cannot be zero.
📉

Ready to Calculate

Enter a, b, and c to see the Roots of the Equation.

Roots of the Equation
x = 0
ℹ️ Root Type
Key Insight

Explanation will appear here based on the calculation.

Discriminant (Δ)
0
b² - 4ac
Nature of Roots
Real
Based on Δ
Step-by-Step Breakdown
Step Calculation
1. Equation Form
ax² + bx + c = 0
2. Calculate Discriminant (Δ)
b² - 4ac
3. Square Root of Δ
√Δ
4. Apply Formula
(-b ± √Δ) / 2a
Final Solution (x)

What is the Quadratic Formula Calculator?

In algebra, a quadratic equation is any polynomial equation of the second degree. It follows the standard form of ax² + bx + c = 0, where x represents an unknown variable, while a, b, and c represent known constant coefficients. The only strict rule is that a cannot be 0 (otherwise, the equation becomes a linear equation rather than a quadratic one).

Solving quadratic equations can be tedious when dealing with complex numbers, fractions, or irrational roots. Our Quadratic Formula Calculator automates this process. Whether you need to solve a simple textbook problem or calculate projectile motion variables in physics, this calculator instantly applies the standard quadratic formula to find the precise roots of the equation.

How to Use This Calculator

Using this mathematical tool is straightforward and intuitive. Follow these quick steps to determine your roots:

  1. Identify the Coefficients: First, ensure your equation is written in the standard format ax² + bx + c = 0. Identify the numerical values for a, b, and c.
  2. Enter the Values: Input your values into the respective fields. Note: This calculator fully supports fractional values! If your constant is a fraction, simply type it as 1/4 or 3/4.
  3. Calculate: Click the "Calculate Roots" button. The calculator will immediately evaluate the discriminant and plot out the roots—displaying whether they are real or complex.
  4. Review the Breakdown: Scroll down to see the step-by-step breakdown table, which illustrates exactly how the formula was applied to arrive at your final answers.

The Formula / The Science

A quadratic equation can be solved using several methods, including factoring, graphing, or completing the square. The most universal method, however, is the Quadratic Formula, which is directly derived from the method of completing the square. The core formula is:

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

Derivation of the Quadratic Formula

Understanding how this formula comes to life involves a process called completing the square. Let's walk through the core derivation steps:

  • Start with the standard form: ax² + bx + c = 0
  • Divide the entire equation by 'a': x² + (b/a)x + (c/a) = 0
  • Subtract (c/a) from both sides: x² + (b/a)x = -(c/a)
  • Complete the square by adding (b/2a)² to both sides: x² + (b/a)x + (b/2a)² = -(c/a) + (b/2a)²
  • Rewrite the left side as a squared binomial and find a common denominator for the right: (x + b/2a)² = (b² - 4ac) / 4a²
  • Take the square root of both sides (remembering the ± symbol): x + b/2a = ±√(b² - 4ac) / 2a
  • Solve for x: x = [ -b ± √(b² - 4ac) ] / 2a

The ± symbol indicates that computing the square root results in both positive and negative solutions, which is why a quadratic equation typically yields two distinct roots representing where the parabola crosses the x-axis.

Understanding the Discriminant (Δ)

The term found underneath the square root in the formula—b² - 4ac—is known as the Discriminant, denoted by the Greek letter Delta (Δ). The discriminant is incredibly powerful because it tells you the "nature" of the roots without actually solving the whole equation:

  • If Δ > 0 (Positive): The equation has two distinct real roots. The parabola crosses the x-axis at two separate points.
  • If Δ = 0: The equation has exactly one real root (a repeated root). The parabola's vertex touches the x-axis perfectly.
  • If Δ < 0 (Negative): The equation has no real roots, but rather two complex/imaginary roots. The parabola never touches the x-axis.

Frequently Asked Questions

If the 'a' coefficient is equal to zero, the equation is no longer quadratic. It becomes a linear equation (bx + c = 0). A true quadratic equation must have an 'a' value greater or less than zero to form the characteristic parabolic curve.

Yes. Our calculator is designed to parse string fractions. You can input decimals like 0.25, or you can input exact fractions like 1/4 or -3/8 into the fields, and the underlying logic will convert and calculate them precisely.

When you see an "i" in your result (e.g., 3 + 2i), it stands for an imaginary number. This occurs when the discriminant is negative, meaning you have to take the square root of a negative number. These are called "complex roots", indicating that the physical graph of the parabola does not cross the horizontal x-axis at any point in real space.

Absolutely! The quadratic formula is heavily utilized in physics, engineering, and economics. For example, it is used to calculate projectile trajectories (like throwing a ball or launching a rocket), determining optimal speeds, modeling profit optimizations in business, and calculating areas.

A parabola is perfectly symmetrical. The axis of symmetry is the vertical line that splits the parabola into two mirrored halves. Interestingly, the first part of the quadratic formula, -b / 2a, precisely gives you the x-coordinate for this axis of symmetry!