Quadratic Formula Calculator

Coefficients a, b, and c feed the quadratic formula—roots and discriminant refresh as you type.

ax² + bx + c = 0

Enter coefficients a, b, and c; roots update from the quadratic formula.

Δ1
Guide & resources

What this quadratic formula calculator solves

A quadratic equation ax² + bx + c = 0 with a not zero has up to two real roots found by the quadratic formula. The quadratic formula calculator accepts coefficients a, b, and c, computes the discriminant, and displays real or complex roots. Reset restores the factoring-friendly default: a = 1, b = −5, c = 6, roots x = 2 and x = 3 because (x − 2)(x − 3) expands to x² − 5x + 6.

Simplify rationals on the fraction calculator when coefficients are fractions. Numeric checks with powers and trig use the scientific calculator. Percent problems are separate on the percent calculator. Geometry with side lengths may need the triangle calculator; indexed patterns appear in the number sequence calculator. Explore the full set on the math calculator hub.

Who should use the formula page

Algebra students when factoring is tedious or impossible over the reals. Physics learners solving uniform acceleration quadratics for time. Contest math when integer roots are not obvious. Anyone verifying handwritten discriminant steps before submitting scanned homework.

Discriminant tells the root story before you take square roots

Δ = b² − 4ac. Positive Δ means two distinct real roots. Zero Δ means one repeated real root (a perfect square trinomial). Negative Δ means complex conjugate roots a ± bi. Read the discriminant line on this page first; it explains why roots look messy without surprise imaginary units.

Quick start

  1. Enter coefficient a (must be nonzero for pure quadratic mode).
  2. Enter b and c, including negative signs.
  3. Read discriminant and roots in the results panel.
  4. If a = 0, the tool solves the linear equation bx + c = 0 instead.
  5. Reset to a = 1, b = −5, c = 6 → roots 2 and 3.

Quadratic formula

x = (−b ± √(b² − 4ac)) / (2a). The ± branch yields two solutions when Δ is positive. When Δ = 0, both branches coincide. When Δ is negative, √(Δ) is imaginary and roots display as a ± bi if the UI supports complex output.

Default trinomial x² − 5x + 6 and its roots
Quantity Value Notes
a 1 Leading coefficient on x²
b −5 Linear coefficient
c 6 Constant term
Discriminant Δ 25 − 24 = 1 Positive → two real roots
Roots 2 and 3 Match factored (x − 2)(x − 3)

Factoring versus formula

When a = 1 and roots are integers, factoring is faster on paper. The default 2 and 3 illustrate that case—use the calculator to confirm, not replace, factoring practice. When a is not 1 or roots are irrational, the formula is the reliable path.

Vertex and symmetry

Axis of symmetry at x = −b/(2a). For the default, x = 5/2 = 2.5. Vertex y-value plug-in uses the scientific calculator if you want numeric height; roots alone do not describe the parabola’s maximum or minimum.

Triangle problems that hide quadratics

Some area and Pythagorean setups produce x² terms after substitution. Solve for x here, then discard negative lengths when x represents a side. Finish geometry on the triangle calculator with valid sides only.

Linear fallback when a = 0

bx + c = 0 has one root x = −c/b if b ≠ 0. The tool switches modes so you do not divide by zero in the quadratic denominator. Recognize nearly-zero a on paper—floating noise should not masquerade as quadratic.

Three worked examples (reset first)

Example 1: Default integer roots

a 1, b −5, c 6. Δ = 1. Roots 2 and 3.

Example 2: Repeated root

a 1, b −4, c 4. Δ = 0. Root 2 twice—perfect square (x − 2)².

Example 3: Complex roots

a 1, b 2, c 5. Δ = 4 − 20 = −16. Roots involve imaginary unit—verify display shows a ± bi form.

Limitations you should know

Floating coefficients may yield roots like 2.999999 instead of 3—round sensibly when you know integers are intended. This is not a CAS: it will not complete the square symbolically or factor polynomials with parameters. Word problems still require you to build a, b, c from context and reject extraneous solutions.

Completing the square connection

Completing the square derives the same formula taught in textbooks. If your teacher bans calculators on formula day, practice square completion on paper, then use this page for nightly checks only.

Graphing without a graphing calculator

Sample integer x values, plot y mentally or in a spreadsheet. Zeros cross the axis at roots; sign changes between roots when a is positive and Δ positive.

Projectile motion time solutions

Height = 0 often yields two times—launch and landing. Pick the physically meaningful root (usually positive time forward).

Fraction coefficients

Enter decimals or use the fraction calculator to clear denominators before typing a, b, c as integers scaled up.

Sequence of perfect square trinomials

Discriminants that are perfect squares often produce integer roots—link to the number sequence calculator when lessons list square numbers 1, 4, 9, 16 for Δ checks.

Percent problems stay elsewhere

“30% off” is not a quadratic unless you model revenue with price×quantity constraints. Route percent language to the percent calculator.

Vieta’s formulas (advanced preview)

Sum of roots = −b/a, product = c/a. For the default, sum 5 and product 6—quick check after calculator output.

Sign errors on b

Minus five in the trinomial means b is negative. Students often type b = 5 and get wrong roots—always copy signs from standard form ax² + bx + c = 0.

Monic quadratics

a = 1 quadratics are monic. Factoring focuses on finding two numbers with sum −b and product c when signs allow.

Exam strategy

Estimate roots with nearby perfect squares before typing. For x² − 5x + 6, numbers summing to 5 and multiplying to 6 jump to 2 and 3—formula confirms in seconds.

Scientific calculator for discriminant only

Compute b² − 4ac in one expression, then decide if square root is real. This page bundles both roots—faster for homework batches.

Complex numbers in engineering

Electrical circuits with reactive components use complex roots conceptually; introductory algebra still teaches the discriminant gate first.

Quadratic inequalities

Roots partition the number line for sign charts. Calculator gives boundaries; you write solution intervals on paper with open or closed endpoints per problem instructions.

Standard form discipline

Move all terms to one side equals zero before reading a, b, c. 3x² = 5x − 6 becomes 3x² − 5x + 6 = 0 with c positive 6 after transposition care.

Math hub for algebra stack

The math calculator hub orders fraction, quadratic, scientific, and sequence tools for a typical algebra II unit.

Expanding the default trinomial

Multiply (x − 2)(x − 3) by distribution: x² − 3x − 2x + 6 = x² − 5x + 6. Coefficients read directly into the calculator. Reverse direction—factoring—is faster when integers work, but expansion proves equivalence after roots display.

Sum and product root shortcuts

For monic quadratics, roots r and s give sum r+s = −b and product rs = c. Two and three sum to five and multiply to six— mental check after every solve. Non-monic quadratics scale Vieta relations by dividing through by a first.

Graphing the parabola from roots

With x-intercepts at two and three and a positive leading coefficient, the parabola opens upward and vertex sits below the axis between roots. Sample x = 2.5 for minimum y on scientific calculator if vertex form is not yet taught.

Axis of symmetry applications

Projectile height is symmetric about time −b/(2a) in simplified models. Roots may be launch and landing times; vertex time is midway only when symmetry assumptions hold—wind and drag break symmetry in advanced physics.

Discriminant perfect square list

Δ = 1, 4, 9, 16 often yield nice roots. Default Δ = 1. When Δ = 2, expect irrationals—calculator decimals should be surd-checked on paper if teachers require radical form.

Complex roots in pure math courses

x² + 1 = 0 gives ±i. Display a ± bi when discriminant negative. Graphically no x-intercepts; algebra still demands solutions in complex numbers.

Rational coefficients clearing denominators

(1/2)x² − x + 3 = 0 multiplies through by two to x² − 2x + 6 = 0 before entry—or use fraction calculator to keep exact rationals while scaling. Consistent scaling preserves roots.

Triangle area leading to quadratics

Some optimization problems set derivative to zero yielding quadratic in width. Solve here, then plug into area on triangle calculator with valid dimensions only.

Number sequences and quadratic patterns

Second differences constant suggest quadratic nth term. Sequence calculator lists terms; if homework asks when term equals zero, substitute into ax²+bx+c form after fitting coefficients elsewhere.

Percent problems versus quadratics

Revenue = price times quantity with price tied to quantity gives quadratic constraints in economics electives. Pure percent off one item stays on percent calculator—read problem type before choosing tool.

Scientific calculator quadratic solver buttons

Handheld POLY modes exist; this page shows discriminant and both roots with fraction-friendly defaults for US algebra pacing. Match instructor policy on calculator models during tests.

Completing the square on the default

x² − 5x + 6 = (x − 5/2)² − 25/4 + 6 = (x − 5/2)² − 1/4. Square root both sides recovers roots two and three. Paper skill derives formula students memorize.

Inequalities after solving equality

(x − 2)(x − 3) positive outside roots for upward parabola: x below two or x above three when testing intervals. Calculator gives boundaries only; inequality direction from sign chart.

Repeated root geometry

Δ = 0 touches x-axis once—parabola tangent at vertex on x-axis. Example x² − 4x + 4 with root two only.

Extraneous solutions from substitution

Substituting y = x² into linear equations can produce quadratics whose roots include false candidates when reversing steps. Always substitute back into original system.

Absolute value and quadratics

|x| = k squares to x² = k² in controlled steps—different tool chain. Quadratic formula applies after valid squaring without losing negative k branches improperly.

Numerical stability for huge coefficients

Very large a, b, c may lose precision; scale equation down dividing all terms by gcd or leading magnitude before entry when floats misbehave.

Exam factoring drill with default

List factor pairs of six summing to five: two and three. Thirty-second factoring beats formula on timed sections when Δ is perfect square. Confirm with calculator after manual work for confidence.

Word problem template

Area rectangle width w, length w+1, area 6 gives w(w+1)=6 → w²+w−6=0. Identify a=1,b=1,c=−6 separately from geometry story before typing.

Physics uniform acceleration

s = ut + ½at² + ... may reduce to quadratic in t. Pick positive root for forward time. Units on a,b,c must be consistent before interpreting roots as seconds.

Collaborative classroom default

Reset a=1,b=−5,c=6. Poll class for expected roots before reveal. Discuss factoring versus formula time cost. Assign triangle calculator follow-up if geometry unit overlaps.

Fraction calculator after irrational roots

When roots are rational, fraction form may be integer. When irrational, stay decimal or radical on paper—fraction tool cannot magically rationalize surds.

Recap roots two and three

Standard form x² − 5x + 6, discriminant one, factors (x−2)(x−3). Reset before demos. Link fraction, scientific, percent, triangle, number sequence, and math hub tools as homework branches in the same chapter.

Transformations of parabolas

y = (x − 2)(x − 3) shifts roots to two and three on the axis. Replacing x with x − h moves roots right by h in other examples—connect graph transformations after roots are found numerically here.

Vertical stretch by factor a scales opening width. a = 2 makes the same roots but steeper sides. Enter a = 2, b = −10, c = 12 to see scaled coefficients sharing roots two and three—multiply original by two.

Systems with one quadratic and one linear

Line y = x + 1 intersects the default parabola when x + 1 = x² − 5x + 6 → x² − 6x + 5 = 0, new coefficients for a second calculator pass. Substitution problems chain tools—solve quadratic, then verify on scientific page.

Historical note on the formula

Completing the square appears in ancient algebra; modern memorization saves time on timed tests. Understanding derivation still matters when calculators are forbidden on part one of an exam but allowed on part two.

Polynomial degree context

Quadratics are degree two. Cubics need different methods—not this page. Recognizing degree from highest power prevents misapplying the quadratic formula to x³ − 5x + 6 = 0.

Calculator hygiene for coefficients

Type b = −5 using the negative sign, not minus operator between fields. Mis-typed positive five flips roots entirely—a common support ticket in algebra labs. Reset to two and three after every mistaken row.

Algebra II weekly review loop

Monday: factor when possible. Tuesday: formula when messy. Wednesday: discriminant sign only without roots. Thursday: word problem setup without solving. Friday: Reset default and full solve under time limit. Weekend: triangle or sequence link from math hub if geometry unit overlaps.

Keep a single notebook page for Vieta checks: sum of roots equals negative b over a, product equals c over a when monic. Default roots two and three should be reflexive before midterms—no calculator needed for that row, only for verification.

Connecting to fraction and percent tools

Rational roots may appear as fractions—simplify on the fraction calculator when coefficients were scaled. Percent problems rarely need quadratics unless modeling area with percent constraints; route pure percent language to the percent calculator to avoid degree mistakes.

Integrity check before you submit homework

Expand your factored form mentally for the default: roots two and three reproduce coefficients one, negative five, and six. If the calculator shows different roots, re-read whether the equation was in standard form ax² + bx + c = 0 with all terms on one side. A sign error on b is the most common fix.

Portfolio of canonical examples

Beyond the default, maintain three index cards: one positive discriminant with irrationals, one zero discriminant with repeated root, one negative discriminant with complex roots. Compare each to the friendly two-and-three card weekly. The quadratic formula calculator becomes a verification station, not a substitute for recognizing pattern types on sight.

Before college placement tests, time yourself thirty seconds on factoring the default trinomial, sixty seconds on a messy a not equal to one example, and ninety seconds on a word problem setup. Reset between attempts so coefficients never drift mid-practice. Log scores in a notebook margin to see speed trends, not only correctness.

Spaced repetition schedule

Factor the default trinomial to roots two and three on day one, two, seven, and fourteen without looking. Use this page only to confirm. Speed on the friendly case frees time for messy discriminants when the exam clock is running.

Questions we hear often

Defaults, discriminant, a = 0, complex roots, and factoring comparisons are below.

Default roots?

a=1, b=−5, c=6 → x=2 and x=3 after Reset.

What is the discriminant?

b² − 4ac; negative means complex roots, zero means one repeated real root.

What if a = 0?

The tool solves the linear equation bx + c = 0 instead.

Complex roots display?

Imaginary parts show as a ± bi when the discriminant is negative.

Factoring versus formula?

Use this page when factoring is awkward; verify by expansion on paper.

Link to slope?

Quadratics are not lines—use the fraction calculator for rational simplification in other problems.

How we calculate: Math tools evaluate the expressions and formulas you enter using standard arithmetic and JavaScript Math functions (trigonometry, roots, powers). Fraction and percent pages reduce to exact rational steps where possible, then show decimals for convenience. We do not substitute for exam proctors, engineering sign-off, or financial rounding rules your employer requires.

Show factoring steps when your instructor requires work beyond the formula.

Last updated: 2026-10-06