DevCalc Logo
DevCalc

Work through the method

Quadratic Equation Calculator

Struggling with a quadratic equation? Our calculator instantly finds the roots, calculates the discriminant, tells you whether the roots are real or complex, and breaks down the parabola's key properties — perfect for students and quick problem-solving.

Quadratic Equation Calculator

Solve equations of the form ax² + bx + c = 0, find roots, discriminant, and vertex instantly.

Quadratic Formula

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

A quadratic equation is written as ax² + bx + c = 0. The quadratic formula calculates the roots of the equation using the coefficients a, b, and c.

Example Calculation

Input: a=1, b=-5, c=6

Output: Roots = 2 and 3

Common Uses

  • • Algebra
  • • Mathematics Education
  • • Engineering
  • • Physics
  • • Competitive Exams
  • • Graph Analysis
  • • Research
  • • Polynomial Equations

How the Quadratic Equation Calculator Works

1

Enter Coefficients

Enter values for a, b, and c.

2

Calculate Discriminant

The calculator finds b² - 4ac.

3

Find Roots

Roots are calculated using the quadratic formula.

4

View Results

See roots, discriminant, and root type.

Questions about this calculator

A quadratic equation is a second-degree polynomial equation written as ax² + bx + c = 0.

The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a.

The discriminant is b² - 4ac and determines the nature of the roots.

The equation has two distinct real roots.

The equation has one repeated real root.

The equation has two complex roots.

The x-coordinate of the vertex is given by x = -b / (2a). Substituting this x-value back into the quadratic function y = ax² + bx + c gives the corresponding y-coordinate.

Solve ax² + bx + c = 0

Enter the three coefficients a, b, and c, where a must not be zero. The calculator returns both roots, the discriminant, the root type, and the vertex of the related parabola y = ax² + bx + c.

Quadratic formula and discriminant

The roots are x = (-b ± √(b² - 4ac)) / (2a). The expression D = b² - 4ac is the discriminant. D > 0 gives two distinct real roots, D = 0 gives one repeated real root, and D < 0 gives a complex-conjugate pair.

Worked example

For x² - 5x + 6 = 0, a = 1, b = -5, and c = 6. The discriminant is 25 - 24 = 1. Substitution in the quadratic formula gives roots (5 + 1)/2 = 3 and (5 - 1)/2 = 2.

Vertex and common mistakes

The vertex x-coordinate is -b/(2a), and its y-coordinate is found by substituting that value into the polynomial. Keep the sign of each coefficient when entering it: in x² - 5x + 6, b is -5, not 5. If a is zero, the expression is linear rather than quadratic and this calculator will not solve it.

Learn more

Latest helpful articles

Recent guides and verified updates selected for this calculator.

View all articles

Transportation

Inland Waterways Development: Traffic Growth, Safety Milestones & New River Lighthouses on NW-2

Inland waterways in India are expanding rapidly, with freight traffic growing from 2.9 crore metric tonnes in 2014-15 to 21.8 crore metric tonnes in 2025-26 at a CAGR of 20.13%. National Waterway-2 on the Brahmaputra River now features India's first river-based lighthouses for 24/7 navigation. Digital platforms provide real-time depth and weather data, enhancing navigation safety across 32 operational waterways spanning 20,187 km.

3 min read

Environment

India's Ramsar Site Tally Reaches 103 with New Additions

India's Ramsar site tally reaches 103 with new wetland additions Sukhna Lake in Chandigarh and Sauj Jheel in Uttar Pradesh. The Ministry of Environment, Forest and Climate Change announced the milestone on October 15, 2026, strengthening the nation's commitment to wetland conservation and biodiversity.

2 min read

Governance

Special Campaign 6: Progress, citizen-centric initiatives and compliance deadline (31 Oct 2026)

Special Campaign 6 entered its implementation phase on 2 October 2026 and runs until 31 October 2026. The third review meeting chaired by DARPG Secretary saw 600+ officers from 84 ministries review progress. Key citizen-centric initiatives include India Post's DigiPost, e-waste collection drives, waste-to-prosperity art installations, and dedicated one-day campaigns across ministries. Innovations span digital services e-waste management record disposal and community participation. The campaign is promoted widely through social media and PIB releases.

3 min read