Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Equation solver

Solve linear, quadratic and higher equations, and systems of up to 4 unknowns, with exact fractions and square roots and every step shown.


Use one letter, + − * / ^ and brackets. Write 2x for 2 × x and x^2 for x squared. Fractions like 3/4 and decimals like 0.25 are fine.

Steps

    How to use

    1. Type an equation such as 3(x - 2) + 4 = 2x + 7 or x^2 - 5x + 6 = 0, or pick an example.
    2. Press Solve (or Enter). The answer appears at the top, followed by every step and a check that puts the answer back into the equation.
    3. For several unknowns, choose System of equations and type one equation per line, for example 2x + 3y = 7 and x - y = 1.
    4. The system steps show each row operation and the table of numbers after it, so you can follow the elimination by hand.

    Keyboard and touch

    EnterSolve one equation
    Ctrl + EnterSolve the system while typing in the box
    ^Power: x^2 is x squared (you can also paste x²)
    TabMove between boxes and buttons

    Tips

    • Answers stay exact: 1/3 stays 1/3 and √8 becomes 2√2. A decimal is shown next to them.
    • A quadratic’s discriminant b² − 4ac tells you what to expect: positive means two real solutions, zero means one, negative means two complex ones.
    • For degree 3 and higher, whole-number and fraction solutions are found exactly first; anything left is solved numerically to about 10 digits.
    • Two equations with no solution are parallel lines; with infinitely many solutions they are the same line.
    • To see the curves, draw both sides in the Graph plotter: the solutions are where they cross.

    About this solver

    Numbers are kept as exact fractions. Linear equations are solved by moving terms and dividing; quadratics by the quadratic formula with the square root simplified. For higher powers the rational root theorem finds every whole-number and fraction solution, which are divided out exactly; the rest uses the Durand–Kerner method followed by Newton’s method.

    Systems of linear equations are solved by Gauss–Jordan elimination with exact fractions, which also shows when there is no solution or infinitely many. The tests compare the answers with independent calculations made in Python.

    It handles equations up to power 10, systems of up to 6 equations in 4 unknowns, and numbers that fit in 15 digits. It does not divide by expressions that contain the unknown: multiply both sides first. Everything runs on your device.

    See you tomorrow!

    A fresh daily puzzle every morning, and new tools added every month.

    Browse every product