Math & science

Step-by-Step Equation Solver

Solve linear, quadratic, rational and radical equations or linear systems with every step shown.

One equation per line. Several lines form a linear system (e.g. "2x + y = 5" and "x - y = 1").

Optional. Defaults to x (or the only variable). For systems: a comma-separated list of unknowns.

Only used when no symbolic method applies (e.g. cos(x) = x).

Try an example: Quadratic by completing the square · Quadratic formula with surds · Rational equation with an excluded value · Radical equation with an extraneous root · Linear system with 3 unknowns · Cubic equation

How it works

Shows the full working for linear and quadratic equations (factoring, completing the square or the quadratic formula), rational equations with domain restrictions, radical equations, higher polynomials and systems of 2–6 linear equations solved by Gaussian elimination with exact fractions. Every answer is checked by substitution and extraneous roots are flagged.

  • Everything is moved to one side and simplified with exact fractions. The equation type is detected: polynomial (by degree), rational (variable in a denominator), radical (variable under a root), single occurrence of the variable (isolated with inverse operations), otherwise numeric.
  • Quadratics: factoring when the discriminant is a perfect square, completing the square or the quadratic formula on request; complex solutions are shown when the discriminant is negative.
  • Higher polynomials: the rational root theorem finds all rational roots exactly; a remaining quadratic is solved exactly, larger remainders numerically with the Durand–Kerner method.
  • Rational equations: the denominators are factored, values that make them zero are excluded, both sides are multiplied by the least common denominator, and candidates in the excluded set are rejected as extraneous.
  • Radical equations: the radical is isolated and both sides raised to the root’s power (repeated for a second radical); each candidate is substituted into the original equation and rejected if it fails.
  • Linear systems: Gauss–Jordan elimination on the augmented matrix with exact fractions, showing every row operation; inconsistent and dependent systems are recognised.

For scripts and AI agents

  • JSON API: POST https://equationsolversteps.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://equationsolversteps.usefulweb.site/mcp · tool name equation_solver_steps
Example request
curl -s -X POST https://equationsolversteps.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"equations":"x^2 + 6x + 5 = 0","method":"square"}'

Related tools

  • Math Workbench – Simplify, factor, differentiate, integrate, solve, take limits, series and plots in one box.
  • Matrix & Linear Algebra Lab – Exact-fraction RREF with steps, determinant, inverse, null space, eigenvalues, LU/QR and Ax = b.
  • Graphing Calculator – Plot up to 6 functions or parametric curves with roots, extrema, intersections and SVG/PNG export.
Feedback