Linear Equation Calculator

Solve a linear equation of the form ax + b = c for the unknown x.

Calculate

Enter your values below.

Result

x =
0

Formula used

ax + b = c → x = (c − b) ÷ a

Example: 2x + 3 = 11 → x = 4.

How to use this calculator

  1. Enter a (coefficient of x), b, c.
  2. Press Calculate to see your result instantly.

Frequently asked questions

What is a linear equation?

An equation where the highest power of the variable is 1, forming a straight line when graphed.

Why can't a be zero?

If a is zero, x drops out of the equation entirely, so there's no unique solution to solve for.

Can a, b, and c be negative or decimal?

Yes, all three can be any real number.

How is this solved?

By isolating x: subtract b from both sides, then divide by a.