✓ Effortless Math · Free Tool

Linear Equation Solver

Enter a linear equation of the form a·x + b = c·x + d to solve for x — get the exact fraction, the decimal value, a substitution check, and full step-by-step working.

Solve:  ax + b = cx + d  →  x = (d − b) / (a − c)
a x + b = c x + d

Solve ax + b = cx + d for x. Negative and decimal coefficients are fine.

Results

Solution
x (exact)
x (decimal)
Check — substitute back

Step-by-step