Equation Solver
Solve linear equations (ax + b = c) and quadratic equations (ax² + bx + c = 0) symbolically. Shows step-by-step working and real or complex roots for quadratics.
Roots
2, 1
How to use the equation solver
Pick linear (ax + b = 0) or quadratic (ax² + bx + c = 0) and enter the coefficients.
Formula & explanation
Quadratic: x = (−b ± √(b² − 4ac)) / 2a. Discriminant > 0: two real roots. = 0: one (repeated) real root. < 0: two complex conjugate roots.
Examples
x² − 3x + 2 = 0 → x = 1, 2. 2x + 6 = 0 → x = −3. x² + 1 = 0 → x = ±i.
Frequently asked questions
- Cubics or higher?
- Not yet — only linear and quadratic. Roots of cubics are messy in closed form.
Related math tools
- Triangle CalculatorSolve any triangle from sides or angles using the law of sines and cosines. Enter any three values (SSS, SAS, ASA, AAS, or SSA) and get all remaining sides, angles, and area.
- Percentage CalculatorCalculate what percent of a number is, find percent change, and reverse-calculate any percentage. Three modes — pick the one that matches your problem, get the answer instantly.
- Average CalculatorCalculate mean, median, mode, range, sum, min, and max for any list of numbers. Paste in grades, scores, or measurements — results update instantly.
- Fraction CalculatorAdd, subtract, multiply, and divide fractions with full step-by-step results showing the LCD, equivalent fractions, and simplified answer. Handles mixed numbers and improper fractions.
- Ratio CalculatorSimplify ratios to lowest terms, convert a ratio to a decimal, scale to any value, and compare two ratios. For recipes, map scales, and aspect ratios.
- Rounding CalculatorRound numbers to the nearest integer, decimal place, or significant figure. Choose round half-up, half-down, or toward zero. Handles large and small numbers precisely.