Linear Equation Solver
Solve one-variable linear equations for x with exact answers, worked steps, and a substitution check. Calculations stay in your browser.
Solve a linear equation for x
Enter a one-variable linear equation to get an exact answer, clear solution steps, and a check by substitution. Your equation is calculated in this browser.
Try an example
How to use the linear equation solver
- Enter an equation with x on one or both sides, such as
3x + 2 = x + 8. - Choose Solve equation or press Enter.
- Review the exact answer, equivalent steps, and substitution check. Copy the full solution when you need it.
This tool solves linear equations only. It does not solve equations with parentheses, fractions entered as ratios, powers of x, inequalities, or multiple variables.
Frequently asked questions
What equations does this solver support?
It supports one-variable linear equations built from x, signed whole numbers or decimals, addition, subtraction, and an optional multiplication sign between a number and x.
Are the answers exact?
Yes. The solver uses exact rational arithmetic and shows fractional answers exactly. A decimal approximation is labeled when the exact answer is a non-integer.
What do “infinitely many solutions” and “no solution” mean?
Infinitely many solutions means both sides are equivalent for every x. No solution means the variable terms cancel but the remaining constants differ.
Is my equation sent to a server?
No. This solver computes the equation in your browser and does not send it to a solving service.