About the Linear Equation Solver
This free browser tool solves one-variable linear equations and shows how each answer is found. It suits students, teachers, parents, and anyone checking algebra work. Enter an equation, then view the solution, decimal value, and written steps as you type. The solver expands and simplifies both sides before collecting x terms and numbers. It keeps the final answer as an exact fraction, so decimal rounding does not replace the original result. It also identifies equations with no solution or infinitely many solutions. You do not need a calculate button. You can copy the result or share a link that reopens with your numbers. The tool runs in your browser, and nothing is uploaded. Its focused layout gives you the key answer and working without adding features for unrelated equation types.
How to use it
- 1Enter your equation in the Equation field.
- 2Review the Solution, Decimal, and Steps results as they update.
- 3Copy the result when you need to use it elsewhere.
- 4Share the link to reopen the equation with your numbers.
Worked example
Input: 2x + 3 = 8. The solver simplifies this to 2x = 5, then gives the exact solution x = 5/2 and the decimal result x = 2.5.
The formula
Expand and simplify both sides, then write the equation as a x + b = c x + dMove the x terms to one side and the numbers to the other: (a - c) x = d - bDivide by (a - c): x = (d - b) / (a - c), kept as an exact fractionIf a = c there is no single answer: when b = d every x works, otherwise there is no solutionSource: OpenStax, Linear Equations in One VariableOpenStax, Properties of Equality. Last checked 4 November 2026.
What it is good for
- Shows an exact fraction and a decimal value.
- Displays the algebra steps used to find x.
- Runs in your browser without uploading your equation.
- It is designed for one-variable linear equations, not systems or nonlinear equations.
- The result depends on entering a valid equation.
Questions people ask
What is a linear equation?
A linear equation has a variable raised only to the first power. In one variable, it can often be written as ax + b = 0.
How do I solve an equation with x on both sides?
Collect the x terms on one side and the numbers on the other. Then divide by the remaining coefficient of x.
Why does the solver show a fraction and a decimal?
The fraction preserves the exact result. The decimal gives you a quick numerical form for answers such as x = 5/2 and x = 2.5.
What happens when both sides simplify to the same expression?
Every value of x works, so the equation has infinitely many solutions. The solver identifies this case instead of showing one value.
What if the variable terms cancel but the numbers differ?
The equation has no solution. For example, 2x + 1 = 2x + 4 leaves the false statement 1 = 4.
Does the solver have a calculate button?
No. Results update instantly as you type the equation. You can copy the result or share a link that reopens with your numbers.
Where does my equation go?
The tool runs in your browser, and nothing is uploaded. Your equation is processed on the page.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.