Solve quadratics for roots — real or complex — find the vertex, and evaluate f(x), with Vieta checks and full worked steps.

Algebra Calculator

Solve a quadratic properly — roots with checks, vertex, and function values — not just a bare answer.

Free to use Complex roots handled Vieta checks included Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for what to solve.

Solve finds the roots of ax² + bx + c = 0; Evaluate gives f(x); Vertex gives the turning point.

Enter a valid value for a (coefficient of x²).

Enter a valid value for b (coefficient of x).

Enter a valid value for c (constant).

Enter a valid value for x (only used in evaluate mode).

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Algebra Calculator tinyexe.comFree online calculators

TinyExe · Algebra Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

What to solve

—

a (coefficient of x²)

—

b (coefficient of x)

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Algebra Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      An algebra calculator for quadratics solves ax squared plus bx plus c equals zero using the quadratic formula: x equals minus b, plus or minus the square root of b squared minus four a c, all over two a. For x squared minus five x plus six, discriminant one, and the roots are x equals three and x equals two.

      • Quadratic formula: x = (-b +/- sqrt(b² - 4ac)) / 2a
      • Discriminant sign decides: two real roots, one repeated, or complex
      • Vertex x-coordinate is -b / 2a; roots sum to -b/a and multiply to c/a (Vieta)

      Discriminant tells you the roots before you solve

      Reference values for this calculator.

      Discriminant D = b² - 4acRootsExample
      D > 0Two different real rootsx² - 5x + 6: D = 1, roots 3 and 2
      D = 0One repeated real rootx² - 4x + 4: D = 0, root 2
      D < 0Two complex rootsx² + 1: D = -4, roots +/- i
      a = 0Not quadratic — linear, one root2x - 6 = 0: root 3

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Roots: x = (-b +/- sqrt(b^2 - 4ac)) / (2a). Vertex: x = -b / (2a). Evaluate: f(x) = ax^2 + bx + c, with derivative f’(x) = 2ax + b.

      Scoped honestly to the quadratic at the heart of school and college algebra, but done completely: roots (real or complex, with Vieta checks), vertex and axis of symmetry, function evaluation and the derivative at a point — an upgrade on the old kernel, which reported the same numbers with no mode choice, no complex-root handling and no checks.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Two real roots

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

      CalculationSteps
      Discriminant D = b^2 - 4ac = 25 - 24 = 1; sqrt(D) = 1. x = (-b + sqrt(D)) / (2a) = (5 + 1) / 2 = 3. x = (-b - sqrt(D)) / (2a) = (5 - 1) / 2 = 2. Check with Vieta: the roots sum to 5 = -b/a and multiply to 6 = c/a.x = 3 or x = 2 — Both roots satisfy 1x^2 + -5x + 6 = 0.

      Result

      Example 2

      Evaluating a function

      Evaluate f(7) for f(x) = x² (a=1, b=0, c=0, x=7)

      CalculationSteps
      f(7) = 1 x 7^2 + 0 x 7 + 0 = 49 + 0 + 0 = 49. The derivative f’(x) = 2ax + b at x = 7 is 14, the slope of the tangent there.f(7) = 49 — The quadratic 1x^2 + 0x + 0 takes the value 49 at x = 7.

      Result

      Example 3

      Finding the vertex

      Vertex of x² - 4x + 3 (a=1, b=-4, c=3)

      CalculationSteps
      Vertex x-coordinate = -b / (2a) = 4 / 2 = 2. Vertex y-coordinate = f(2) = -1. Because a = 1 is positive, the parabola opens upward and the vertex is a minimum.Vertex at (2, -1) — The turning point of the parabola is a minimum value of -1.

      Result

      How to use this calculator

      Step 1

      Choose a mode: Solve, Evaluate or Vertex.

      Step 2

      Enter the coefficients a, b and c of ax² + bx + c.

      Step 3

      For Evaluate mode, also enter the x value.

      Step 4

      Press Calculate to see the result with the working shown.

      Step 5

      Use the sum and product checks in Solve mode to verify the roots by hand.

      In short: A quadratic equation is a polynomial equation of degree 2, ax² + bx + c = 0 with a ≠ 0, whose graph is a parabola and which has two roots counting complex and repeated roots.

      Frequently asked questions

      What does the discriminant tell me?

      The discriminant D = b² - 4ac decides the nature of the roots before you finish solving: positive means two different real roots, zero means one repeated root, and negative means two complex roots and a parabola that never touches the x-axis.

      How do I check my roots are right?

      Use Vieta’s formulas: the roots must add up to -b/a and multiply to c/a. For x² - 5x + 6 the roots 3 and 2 sum to 5 and multiply to 6. This calculator shows both checks with every solution.

      What if a = 0?

      Then the equation is not quadratic at all — it is the linear equation bx + c = 0 with the single root x = -c/b. This calculator detects that and solves the linear equation instead of dividing by zero.

      Can this solve cubic or higher equations?

      No — it is scoped to quadratics (degree 2), linear equations, evaluation and the vertex. Cubics need different methods (factorisation, Cardano) and are not honestly covered by a quadratic tool.

      Why do I get complex roots?

      A negative discriminant means the parabola sits entirely above or below the x-axis, so no real x makes it zero. The solutions still exist as complex numbers a +/- bi, and this calculator reports them in that form.

      About this calculator

      This algebra calculator works with the quadratic f(x) = ax² + bx + c, the workhorse of school and college algebra. In Solve mode it applies the quadratic formula and reports both roots — real, repeated or complex — with Vieta checks. Evaluate mode gives f(x) and the derivative at a point, and Vertex mode finds the parabola’s turning point and axis of symmetry.

      Every quadratic question is decided by two quantities. The discriminant D = b² - 4ac tells you in advance whether the roots are two real numbers, one repeated number, or a complex pair — which is also whether the parabola crosses the x-axis twice, touches it once, or misses it entirely. The vertex x-coordinate, -b/(2a), tells you where the parabola turns, which is the answer to every "maximum" or "minimum" word problem.

      The quadratic formula is just completing the square done once, in general. Because it is mechanical, the commonest errors are sign errors: -b with b already negative, and the 2a denominator applying to the whole numerator. This calculator shows the discriminant, the square root and both branches as separate steps so you can follow the signs instead of trusting a single line.

      A good habit this tool builds in is verification. Vieta’s formulas say the roots of ax² + bx + c must sum to -b/a and multiply to c/a. Checking takes seconds and catches almost every slip — if your roots for x² - 5x + 6 do not sum to 5 and multiply to 6, they are wrong, whatever the formula seemed to say.

      Use it for homework and revision on quadratic equations, for word problems that reduce to a quadratic (areas, projectiles, break-even points), and whenever you need the vertex — maximum height, minimum cost — rather than the roots.

      How to calculate it yourself

      Step 1

      Write the equation as ax² + bx + c = 0 and read off a, b and c, keeping their signs.

      Step 2

      Compute the discriminant D = b² - 4ac and note its sign.

      Step 3

      Take sqrt(D) and form both roots: (-b + sqrt(D)) / 2a and (-b - sqrt(D)) / 2a.

      Step 4

      If D is negative, write the roots as a complex pair using sqrt(|D|) as the imaginary part.

      Step 5

      Verify with Vieta: roots sum to -b/a and multiply to c/a.

      Real-life examples

      A ball thrown from a balcony

      A ball is thrown upward at 14 m/s from a balcony 10 m up, so its height is h(t) = -4.9t² + 14t + 10. A student uses Vertex mode to find the peak height and Solve thinking to find when it lands; the vertex run comes first.

      Vertex x-coordinate = -b / (2a) = -14 / -9.8 = 1.4286. Vertex y-coordinate = f(1.4286) = 20. Because a = -4.9 is negative, the parabola opens downward and the vertex is a maximum.

      Vertex at (1.4286, 20) — The turning point of the parabola is a maximum value of 20.

      Pricing that maximises revenue

      A market stall models daily revenue as R(p) = -2p² + 120p, where p is the price in dollars. The owner uses Vertex mode to find the revenue-maximising price before testing it for a weekend.

      Vertex x-coordinate = -b / (2a) = -120 / -4 = 30. Vertex y-coordinate = f(30) = 1,800. Because a = -2 is negative, the parabola opens downward and the vertex is a maximum.

      Vertex at (30, 1,800) — The turning point of the parabola is a maximum value of 1,800.

      Ideas & use cases

      • Model a projectile: with a = -4.9, b = launch speed and c = launch height, Solve mode gives when it lands and Vertex mode gives the peak height and when it happens.
      • Break-even analysis: profit quadratics with downward-opening parabolas have a maximum at the vertex and break-even points at the roots — one run of each mode tells the whole story.
      • Use Evaluate plus the derivative to find the slope of a curve at a point before you meet calculus formally.
      • Deliberately break it: try D slightly above and below zero to feel how a repeated root splits into two roots or vanishes into the complex plane.

      Limitations & sources

      • Scoped to one quadratic (or linear) equation in one variable: no systems, no cubics or higher degrees, no inequalities, no symbolic factorisation of non-quadratic polynomials. Coefficients are numbers, not expressions.

      Sources: Quadratic formula, discriminant and Vieta’s formulas: OpenStax Algebra and Trigonometry / College Algebra · calculator.net math calculator quadratic behaviour cross-checked

      Algebra Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results