Algebra calculators
Linear Equation Solver
Solve linear equations of the form ax + b = cx + d in one step, with the rearrangement shown.
Formula: for ax + b = cx + d, collect x on one side: (a − c)x = d − b, so x = (d − b) ÷ (a − c).
How to use
- Enter a and b for the left side and c and d for the right side of ax + b = cx + d.
- Press “Solve for x”.
- Read the value of x and the rearrangement that produced it.
Frequently asked questions
- What is a linear equation?
- An equation where x appears only to the power of 1, such as 3x + 5 = x + 11. Its graph is a straight line, and it has at most one solution.
- What if both sides have the same x coefficient?
- If a equals c, the x terms cancel. The equation then has no solution (for example 2x + 1 = 2x + 5) or every x is a solution (for example 2x + 1 = 2x + 1).
- Can I solve ax + b = 0 with this tool?
- Yes. Set c to 0 and d to 0, so the equation becomes ax + b = 0 and the answer is x = −b ÷ a.
- Is my input stored?
- No. The calculation runs in your browser.