Solve for X Calculator

Solve equations for x – linear, quadratic, exponential or trigonometric – and find all real solutions in a range.

How to solve for x

  1. Move all x terms to one side and numbers to the other.
  2. Combine like terms.
  3. Divide by the coefficient of x.

Linear example: 4x − 7 = 2x + 9 → 2x = 16 → x = 8.

Quadratic example: 3x + 7 = 2x² − 5 → 2x² − 3x − 12 = 0 → x = (3 ± √105) ÷ 4 → x ≈ 3.312 or x ≈ −1.812.

Tips

  • Write powers with ^ and use sqrt(), sin(), exp(), log().
  • Trig equations have infinitely many solutions – narrow the range (e.g. 0 to 6.2832 for one turn).

Frequently asked questions

Can it solve quadratic equations?

Yes, it finds all real roots in the range. Complex roots are not shown – use the polynomial calculator for those.

Why does it say no solution?

There may be no real solution, or it lies outside your search range.

Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.

Related guides