Quadratic Formula Calculator

With complex roots allowed, a negative discriminant gives a pair of complex conjugate roots. In factored form it lets you enter such a pair.
The number in front of x². It cannot be 0.
Math Updated 29 Oct 2026

Solves any quadratic equation with the quadratic formula, x = (−b ± √(b² − 4ac)) ÷ 2a. Enter the equation in standard, vertex or factored form and get both roots as decimals and in exact simplified radical form, the discriminant and what it says about the roots, the vertex, the axis of symmetry, the y-intercept and the equation rewritten in all three forms. Switch on complex roots to solve equations with a negative discriminant, and show the working step by step.

  • The coefficients are real numbers and a is not 0.
  • Complex roots are only shown when you allow them; otherwise a negative discriminant is reported as having no real roots.

Formula

x = (−b ± √(b² − 4ac)) ÷ 2a; Δ = b² − 4ac; vertex h = −b ÷ 2a, k = c − b² ÷ 4a
  • The discriminant Δ = b² − 4ac decides the roots: Δ > 0 gives two different real roots, Δ = 0 one repeated root (the vertex touches the x-axis) and Δ < 0 two complex conjugate roots, (−b ± i√|Δ|) ÷ 2a.
  • x₁ always takes the minus sign and x₂ the plus sign, so for a negative a the first root is the larger one.
  • Vertex form a(x − h)² + k expands to b = −2ah and c = ah² + k, so Δ = −4ak. Factored form a(x − x₁)(x − x₂) expands to b = −a(x₁ + x₂) and c = a·x₁·x₂; a complex pair p ± qi gives b = −2ap and c = a(p² + q²).
  • The exact form is shown when a, b and c have at most four decimal places: the equation is scaled to whole numbers, √Δ is split into a whole number times the smallest possible root, and the fraction is reduced. The value after ≈ keeps 5 significant figures below 1 and 3 decimal places otherwise.
  • Decimal roots keep up to 6 decimal places. Numbers written inside the equations are rounded to 10 significant figures, factored-form roots to 6 decimal places and complex parts there to 4.

Solving 4x² + 4x − 3 = 0

Inputs
  • Equation form: standard
  • Negative discriminant: no
  • Coefficient a: 4
  • Coefficient b: 4
  • Constant c: -3
  • Step-by-step working: no

Δ = 4² − 4 × 4 × (−3) = 16 + 48 = 64, and √64 = 8. The roots are (−4 − 8) ÷ 8 = −3/2 = −1.5 and (−4 + 8) ÷ 8 = 1/2 = 0.5. The vertex is at (−0.5, −4), the parabola opens upward and crosses the y-axis at −3, and the equation factors as 4(x + 1.5)(x − 0.5) = 0.

Sources & references

  • Quadratic Formula Calculator
    Omni Calculator · Retrieved 29 Oct 2026

    Reference calculator: standard, vertex and factored input forms, Δ = b² − 4ac, x₁,₂ = (−b ∓ √|Δ|) ÷ 2a, vertex h = −b ÷ 2a and k = c − b² ÷ 4a, optional complex roots, exact radical roots with an approximate value, and no result for a = 0.

  • Quadratic Equation
    Wolfram MathWorld · Retrieved 29 Oct 2026

    The quadratic formula, the discriminant and the nature of the roots.

  • Intermediate Algebra 2e, 9.3 Solve Quadratic Equations Using the Quadratic Formula
    OpenStax · Retrieved 29 Oct 2026

    Derivation by completing the square and the use of the discriminant.

Frequently asked questions

What is the quadratic formula?
For ax² + bx + c = 0 with a ≠ 0, the solutions are x = (−b ± √(b² − 4ac)) ÷ 2a. It comes from completing the square and works for every quadratic equation, including ones that cannot be factored with whole numbers.
What does the discriminant tell me?
Δ = b² − 4ac is the part under the square root. If it is positive the parabola crosses the x-axis twice, if it is 0 it just touches it at the vertex, and if it is negative it never reaches the axis, so the equation has no real roots, only two complex ones.
How do I solve an equation with a negative discriminant?
Use √(−n) = i√n. For x² + 2x + 5 = 0, Δ = 4 − 20 = −16, so √Δ = 4i and x = (−2 ± 4i) ÷ 2 = −1 ± 2i. Choose “Allow complex roots” to get these instead of a warning.
Why can't a be 0?
Without the x² term the equation bx + c = 0 is linear. It has the single root x = −c ÷ b, and the quadratic formula would divide by zero.
How do I find the vertex of a parabola?
Its x-coordinate is h = −b ÷ 2a, halfway between the roots, and its y-coordinate is k = c − b² ÷ 4a, which is also −Δ ÷ 4a. For 4x² + 4x − 3 that gives (−0.5, −4).

Related calculators

Pythagorean Theorem Calculator Solves a right triangle with the Pythagorean theorem, a² + b² = c². Give any two of the two legs, the hypotenuse, the area and the perimeter, and it finds the missing sides, then adds the area, perimeter, both acute angles and the height dropped onto the hypotenuse. Lengths can be in metric or imperial units, from millimetres to nautical miles, and the area in anything from square millimetres to acres. Handy for checking that a corner is square, sizing a ladder or ramp, or finding a diagonal. Average Calculator Finds the average (arithmetic mean) of a list of numbers, together with the count, sum, median, geometric mean, smallest and largest value and the range. Paste or type the numbers separated by commas, spaces or semicolons, in any mix. Anything that is not a number is skipped and listed, so you can see exactly which values went into the result. Useful for test scores, prices, measurements or any other set of data. Percentage Increase Calculator Works out how much a value has grown or shrunk in percentage terms. Give the starting and ending values to get the percentage increase (or decrease) and the difference between them, or work backwards: find the new value after a given percentage rise or fall, find the original value before a change, or recover both values from the percentage and the size of the change. Results show the change both as an increase and as the equivalent decrease, so a fall of 10% reads as an increase of −10%. Area Calculator Finds the area of 2D shapes: rectangle, square, triangle (from base and height, three sides, two sides and the angle between them, or two angles and the side between them), circle, semicircle, circular sector, ellipse, trapezoid, parallelogram (three ways), rhombus (three ways), kite (two ways), regular pentagon, hexagon and octagon, annulus (ring), any quadrilateral from its diagonals and any regular polygon. Pick the shape, enter its dimensions in any length unit (angles in degrees or radians), and you get the area in that unit squared, plus square metres and square feet, and the perimeter where the inputs fix it. Handy for working out the area of a room, a garden bed or a patio before buying flooring, mulch or bricks.