This account already has saved data. Do you want to keep this device's data, or use your account's saved data?
Appearance
Unit System
Temperature Format
Time Format
Quadratic Formula
Solutions
The Numbers
Solutions
The Numbers
Your Recent & Past Results
Restored a past calculation.
Compare Calculations
Side-by-Side Comparison
A comparison of your calculations' results.
Downloads
Includes your inputs and results for this calculation, plus any additional calculations you've compared.
Share & Print
The link includes your inputs and results, so anyone who opens it sees this exact calculation.
Solving ax² + bx + c = 0 for Every Value of x
The quadratic formula solves any equation of the form ax² + bx + c = 0 for x, using only the
equation’s three coefficients. Enter a, b, and c, and this calculator finds every value of
x that makes the equation true — including the case where the answer involves complex numbers
rather than real ones.
A quadratic equation always has exactly two solutions when counted correctly: two distinct real
numbers, one real number counted twice (a “repeated root”), or a pair of complex numbers. Which
case applies depends entirely on the sign of the discriminant (the part under the square
root) — this calculator tells you which one you’ve got, not just the raw numbers.
The Formula
For ax2+bx+c=0 (with a=0):
x=2a−b±b2−4ac
The term under the square root, b2−4ac, is called the discriminant:
Discriminant
What it means
Positive
Two distinct real roots
Exactly zero
One repeated real root
Negative
Two complex-conjugate roots (no real solution)
Worked Example
For x2−3x+2=0 (a=1, b=−3, c=2):
Discriminant: (−3)2−4(1)(2)=9−8=1, which is positive, so there are two distinct
real roots.
x=23±1=23±1.
x=24=2 or x=22=1.
Checking: (1)2−3(1)+2=1−3+2=0 and (2)2−3(2)+2=4−6+2=0 — both
solutions check out.
Key Factors to Consider
A quadratic equation’s solutions are exactly where its graph (a parabola) crosses the x-axis.
Two distinct real roots mean the parabola crosses the x-axis at two points; a repeated root means
it just touches the axis at one point (its vertex); complex roots mean the parabola never
touches the x-axis at all, staying entirely above or below it.
The discriminant alone tells you the NATURE of the solutions before doing any further
calculation. Checking whether b2−4ac is positive, zero, or negative is a quick way to
know in advance whether an equation has two real solutions, one repeated solution, or a complex-
conjugate pair, without needing to complete the rest of the formula first.
A quadratic equation’s a coefficient can never be zero, or it stops being quadratic.
If a = 0, the x2 term disappears entirely and the equation becomes linear (at most one
solution, found by simple algebra) instead of quadratic — this is why the quadratic formula
itself is only valid, and only needed, when a is nonzero.
Complex roots always come in conjugate pairs for a quadratic with real coefficients. When
the discriminant is negative, the two solutions always take the form p+qi and p−qi
(identical real parts, opposite-signed imaginary parts) — this pairing is a direct
consequence of the ± in the formula applied to a negative number under the square root.
Common Mistakes
Forgetting the ± and reporting only one root. The quadratic formula’s ± sign means there
are two separate calculations to do (one with +, one with -) — stopping after the first one
misses half the answer whenever the discriminant isn’t exactly zero.
Treating a negative discriminant as “no solution” instead of a complex solution. A negative
discriminant means the equation has no REAL solution, but it still has two valid complex
solutions — the equation isn’t unsolvable, just not solvable within the real numbers.
Entering a = 0 and expecting a quadratic answer. Without a nonzero a, the equation is
linear, not quadratic, and the formula’s division by 2a is undefined — a linear equation needs
simple algebra instead.
Useful to Know
Need just a square root or nth root rather than a full equation solve? Square Root / Nth Root Calculator
calculates square roots and nth roots directly.
Working with exponents on their own? Exponent Calculator calculates powers and roots.
Need a broader calculator for trig, logs, or other functions beyond this equation? Scientific Calculator handles a full range of scientific calculations.
Cómo Resolver ax² + bx + c = 0 para Cada Valor de x
La fórmula cuadrática resuelve cualquier ecuación de la forma ax² + bx + c = 0 para x, usando
únicamente los tres coeficientes de la ecuación. Ingresa a, b y c, y esta calculadora
encuentra todos los valores de x que hacen verdadera la ecuación — incluyendo el caso en el que la
respuesta involucra números complejos en lugar de reales.
Una ecuación cuadrática siempre tiene exactamente dos soluciones cuando se cuentan correctamente:
dos números reales distintos, un número real contado dos veces (una “raíz repetida”), o un par de
números complejos. El caso que aplica depende por completo del signo del discriminante (la
parte bajo la raíz cuadrada) — esta calculadora te indica cuál de ellos tienes, no solo los
números en bruto.
La fórmula
Para ax2+bx+c=0 (con a=0):
x=2a−b±b2−4ac
El término bajo la raíz cuadrada, b2−4ac, se llama el discriminante:
Discriminante
Qué significa
Positivo
Dos raíces reales distintas
Exactamente cero
Una raíz real repetida
Negativo
Dos raíces complejas conjugadas (sin solución real)
Ejemplo resuelto
Para x2−3x+2=0 (a=1, b=−3, c=2):
Discriminante: (−3)2−4(1)(2)=9−8=1, que es positivo, así que hay dos raíces reales
distintas.
x=23±1=23±1.
x=24=2 o x=22=1.
Comprobación: (1)2−3(1)+2=1−3+2=0 y (2)2−3(2)+2=4−6+2=0 — ambas
soluciones se cumplen.
Factores Clave a Considerar
Las soluciones de una ecuación cuadrática son exactamente donde su gráfica (una parábola) cruza
el eje x. Dos raíces reales distintas significan que la parábola cruza el eje x en dos puntos;
una raíz repetida significa que apenas toca el eje en un punto (su vértice); las raíces complejas
significan que la parábola nunca toca el eje x en absoluto, permaneciendo enteramente arriba o
abajo de él.
El discriminante por sí solo indica la NATURALEZA de las soluciones antes de hacer cualquier
cálculo adicional. Verificar si b2−4ac es positivo, cero, o negativo es una forma rápida
de saber de antemano si una ecuación tiene dos soluciones reales, una solución repetida, o un par
complejo conjugado, sin necesidad de completar primero el resto de la fórmula.
El coeficiente a de una ecuación cuadrática nunca puede ser cero, o deja de ser cuadrática.
Si a = 0, el término x2 desaparece por completo y la ecuación se vuelve lineal (como
máximo una solución, encontrada por álgebra simple) en lugar de cuadrática — esta es la razón por
la que la fórmula cuadrática en sí solo es válida, y solo se necesita, cuando a no es cero.
Las raíces complejas siempre vienen en pares conjugados para una cuadrática con coeficientes
reales. Cuando el discriminante es negativo, las dos soluciones siempre toman la forma
p+qi y p−qi (partes reales idénticas, partes imaginarias de signo opuesto) — este
emparejamiento es una consecuencia directa del ± en la fórmula aplicado a un número negativo bajo
la raíz cuadrada.
Errores Comunes
Olvidar el ± e informar solo una raíz. El signo ± de la fórmula cuadrática significa que
hay dos cálculos separados por hacer (uno con +, otro con -) — detenerse después del primero
omite la mitad de la respuesta siempre que el discriminante no sea exactamente cero.
Tratar un discriminante negativo como “sin solución” en lugar de una solución compleja. Un
discriminante negativo significa que la ecuación no tiene solución REAL, pero aun así tiene dos
soluciones complejas válidas — la ecuación no es irresoluble, simplemente no es resoluble
dentro de los números reales.
Ingresar a = 0 y esperar una respuesta cuadrática. Sin una a distinta de cero, la
ecuación es lineal, no cuadrática, y la división por 2a de la fórmula queda indefinida — una
ecuación lineal necesita álgebra simple en su lugar.
Bueno Saber
¿Solo necesitas una raíz cuadrada o raíz enésima en lugar de resolver una ecuación completa?
Calculadora de Raíz Cuadrada / Raíz Enésima calcula raíces cuadradas y raíces enésimas directamente.
¿Necesitas una calculadora más amplia para trigonometría, logaritmos u otras funciones más
allá de esta ecuación? Calculadora Científica maneja una gama completa de cálculos
científicos.
For an equation in the form ax² + bx + c = 0, the quadratic formula gives x = (-b ± √(b² - 4ac)) ÷ (2a). It solves for every value of x that makes the equation true, using only the equation's three coefficients.
What does the discriminant tell me?
The discriminant is the part under the square root, b² - 4ac. A positive discriminant means two distinct real roots, zero means exactly one repeated real root, and a negative discriminant means the two roots are complex (involving the imaginary unit i) rather than real numbers.
What if "a" is zero?
If a = 0, the equation isn't actually quadratic anymore — it's linear (bx + c = 0), which the quadratic formula can't solve since it would divide by zero. This calculator flags that case and tells you to use a linear equation instead.
We use cookies for analytics and ads to help support this free site. You can accept all, or decline and we'll only use what's needed for the site to work.