Quadratic Equation Solver
a
a cannot be 0 for quadratic equations.
b
c

Enter coefficients for ax² + bx + c = 0 • Decimals & negative values supported • Example: 2x² - 5x + 3 = 0 → a=2, b=-5, c=3

ax² + bx + c = 0
Discriminant (Δ)
Root Type
Root 1 (x₁)
Root 2 (x₂)
Vertex (h, k)
Axis of Symmetry

📝 Step-by-Step Solution

1
Enter coefficients and click Solve to see detailed working.

What is a Quadratic Equation?

A quadratic equation is a second-degree polynomial equation in the standard form ax² + bx + c = 0, where a ≠ 0. The variable x represents the unknown value we solve for, while a, b, and c are known coefficients. Quadratic equations appear everywhere in mathematics, physics, engineering, economics, and computer science.

Every quadratic equation can have zero, one, or two real solutions (called roots), depending on the value of the discriminant (Δ = b² - 4ac). Our quadratic calculator online instantly identifies the root type and computes exact or approximate solutions with full working shown.

The Quadratic Formula & Key Concepts

This quadratic solver uses the universally applicable quadratic formula, derived by completing the square:

Quadratic Formula: x = (-b ± √(b² - 4ac)) / 2a

This formula works for ALL quadratic equations, regardless of whether they factor easily. The ± symbol indicates two potential solutions.

Discriminant: Δ = b² - 4ac • If Δ > 0: Two distinct real roots • If Δ = 0: One repeated real root • If Δ < 0: Two complex conjugate roots

The discriminant predicts solution types before calculation. This quadratic calculator formula implementation handles all three cases automatically.

Vertex Form: y = a(x - h)² + k Vertex coordinates: h = -b/(2a), k = f(h) Axis of symmetry: x = h

The vertex represents the parabola's maximum or minimum point. Our quadratic solver with steps calculates these key features for graphing and analysis.

How to Use This Quadratic Calculator

Enter Coefficients a, b, c

Input the coefficients from your equation ax² + bx + c = 0. For example, for 2x² - 5x + 3 = 0, enter a=2, b=-5, c=3. Negative values and decimals are fully supported. The calculator validates that a ≠ 0.

Click "Solve Equation"

Press the calculate button. Our engine instantly computes the discriminant, determines root type, applies the quadratic formula, and calculates vertex coordinates using optimized mathematical algorithms.

Review Results & Steps

View roots, discriminant, vertex, and axis of symmetry in the results grid. Scroll down to see a complete step-by-step breakdown showing substitution into the quadratic formula and simplification.

Copy, Share, or Reset

Use Copy to export the full solution to your clipboard, Share to send via messaging apps, or Reset to solve a new equation. Your privacy is protected — no data is stored or transmitted.

Worked Examples

See how this quadratic solver calculator handles different equation types:

Example 1: Two Real Roots

Equation: x² - 5x + 6 = 0 (a=1, b=-5, c=6)

Discriminant: Δ = (-5)² - 4(1)(6) = 25 - 24 = 1 (positive → two real roots)

Roots: x = (5 ± √1) / 2 = (5 ± 1) / 2 → x₁ = 3, x₂ = 2

Vertex: h = -(-5)/(2×1) = 2.5, k = f(2.5) = -0.25 → (2.5, -0.25)

Example 2: One Repeated Root

Equation: x² - 4x + 4 = 0 (a=1, b=-4, c=4)

Discriminant: Δ = (-4)² - 4(1)(4) = 16 - 16 = 0 (zero → one repeated root)

Root: x = (4 ± √0) / 2 = 4/2 → x = 2 (multiplicity 2)

Vertex: h = 2, k = 0 → (2, 0) (vertex touches x-axis)

Example 3: Complex Roots

Equation: x² + 2x + 5 = 0 (a=1, b=2, c=5)

Discriminant: Δ = (2)² - 4(1)(5) = 4 - 20 = -16 (negative → complex roots)

Roots: x = (-2 ± √-16) / 2 = (-2 ± 4i) / 2 → x₁ = -1 + 2i, x₂ = -1 - 2i

Vertex: h = -1, k = 4 → (-1, 4) (parabola opens upward, no x-intercepts)

Pro Tips for Quadratic Equations

🔍

Check the Discriminant First

Before solving, calculate Δ = b² - 4ac. This tells you immediately whether to expect real or complex roots, saving time and guiding your approach to graphing or further analysis.

📐

Vertex Form for Graphing

Convert to vertex form y = a(x-h)² + k to easily sketch parabolas. The vertex (h,k) is the turning point, and 'a' determines direction (upward if a>0, downward if a<0) and width.

Verify Your Solutions

Always substitute your roots back into the original equation to verify. For x=3 in x²-5x+6=0: 3²-5(3)+6 = 9-15+6 = 0 ✓. This catches calculation errors instantly.

🔄

When Factoring Works

If the quadratic factors nicely (e.g., x²-5x+6 = (x-2)(x-3)), factoring is faster than the formula. Use this calculator to check your factoring work or when equations don't factor easily.

FAQ

Frequently Asked Questions About Quadratic Calculator

Common questions about solving quadratic equations, understanding the quadratic formula, and using this free online tool.

A quadratic equation has the form ax² + bx + c = 0 where a ≠ 0. It can be solved by: (1) Factoring (if possible), (2) Completing the square, or (3) Using the quadratic formula x = (-b ± √(b²-4ac))/2a. This quadratic calculator online uses the universal quadratic formula method, which works for all cases including equations that don't factor nicely.
Yes! This quadratic calculator is 100% free forever. No sign-up, no credit card, no hidden fees, no ads. CalculatorSoup is committed to providing high-quality educational tools accessible to students, teachers, and learners worldwide. Bookmark this page and use it anytime for homework, exam prep, or teaching.
Our calculations use double-precision floating-point arithmetic following exact mathematical formulas. Results are cross-verified against standard algebra textbooks and computational tools. For rational roots, exact fractional forms are shown when possible. Decimal approximations are rounded to 6 significant figures for readability while maintaining precision.
Absolutely. This quadratic solver with steps is designed for educational use. It shows complete working using the quadratic formula, helping you learn the process. For exams, always check your instructor's policy on calculator use. When submitting work, cite CalculatorSoup as your calculation source if required.
When the discriminant (b²-4ac) is negative, roots are complex numbers of the form p ± qi where i = √-1. This quadratic calculator formula implementation handles complex roots automatically, displaying them in standard a+bi format. Complex roots always occur in conjugate pairs for quadratics with real coefficients.
Enter the coefficients a, b, c from your equation in standard form ax² + bx + c = 0. For 3x² + 2x - 5 = 0: a=3, b=2, c=-5. For -x² + 4 = 0: a=-1, b=0, c=4. The calculator validates that a ≠ 0 (required for quadratics) and accepts decimals, fractions (as decimals), and negative values.
About the Developer

Created & Developed by Bilal Khan — Software Engineer

This Quadratic Calculator was built by Bilal Khan, a professional Software Engineer specializing in educational mathematics tools. All formulas implemented here follow peer-reviewed algebraic standards and are cross-verified against academic references and computational mathematics libraries. Bilal created CalculatorSoup to provide free, accurate, and accessible learning tools for students and educators worldwide — no registration, no advertisements, no cost.

Connect with Bilal on LinkedIn
Explore More

100+ Free Calculators — All in One Place

From algebra and calculus to finance and health, CalculatorSoup has every tool you need for learning, teaching, and problem-solving.