Linear Equation Calculator

Solve a linear equation ax + b = c for x. Enter the coefficient, constant, and right-hand side.

Solution (x)
Value of x.

Usage Tip

Whatever you do to one side, do to the other: subtract b from both sides, then divide both by a.

THE MATH
ax + b = c → x = (c − b) ÷ a
Undo the constant, then undo the coefficient
A linear equation in one variable has a single solution when the coefficient of x is non-zero.
Solving means isolating x by reversing the operations.
Enter a, b, and c for the equation ax + b = c.
If a is zero there is either no solution or infinitely many.
The check column substitutes the answer back in.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.