What it does
Type an equation the way you would write it, such as 3(x - 2) = x + 4 or x^2 - 5x + 6 = 0, and the page solves it and writes out the working. One equation with one letter can be linear or quadratic. Type two or three equations (one per line) with as many letters, and it solves the system by elimination or by Cramer’s rule.
All answers are exact fractions, not rounded decimals; irrational roots stay as surds such as (3 + √6) / 3 with the decimal beside them. A quadratic with a negative discriminant gives complex roots. The page has its own small parser, so nothing is evaluated as code, and nothing leaves your device. For the graph of a polynomial see the polynomial zeros tool, for bigger matrices the matrix calculator, and for fraction working the fraction calculator.
How to use it
- Type the equation in the box, or press an example. Use
^for powers:x^2. Write 2x, 2 x or 2*x; brackets are fine. - For a system, put each equation on its own line (up to three), using the letters x, y, z or any others.
- For a system, pick Elimination or Cramer’s rule.
- Read the answer, then the steps. Press Copy result to paste it.
What each setting does
- Linear: moves everything to one side, then divides. It also says “no solution” (x + 3 = x + 5) or “every number works” (2x + 1 = 2x + 1).
- Quadratic: shows the discriminant D = b² − 4ac, then factors if D is a perfect square, or uses the formula for surds and complex roots.
- Elimination: row operations that clear one letter at a time, written as sentences.
- Cramer’s rule: divides determinants. It needs a determinant that is not 0; otherwise the page falls back to elimination.
Worked example
x² − 5x + 6 = 0: D = 25 − 24 = 1, a perfect square, so x = (5 ± 1) / 2, which gives x = 3 and x = 2. For the system x + y = 10 and x − y = 2, adding the equations gives 2x = 12, so x = 6 and y = 4. And x² + 2x + 5 = 0 has D = −16, so x = −1 ± 2i.
FAQs
Can it do cubics or x³? Not on this page; it is for linear, quadratic and 2 or 3 linear equations. Try the polynomial zeros tool for cubics.
Does it do equations with the unknown in a fraction, like 1/x? No. You can divide only by plain numbers.
What do I type for a square root? Squares only for now: use x^2. Roots appear in the answers.
Is the answer exact? Yes. It uses exact fractions with no rounding until the decimal shown beside.
Where the numbers come from
- Standard school algebra: solving linear equations, the quadratic formula and discriminant, elimination (Gauss-Jordan) and Cramer's rule. No outside rules or rates.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Read more on the Blog
Last updated 2026-12-05.