Linear equation solver

Solve ax + b = c and see substitution steps, including zero-coefficient cases.

Enter values

Start with the example below, or enter your own values.

How it works

Find x by isolating the variable. A zero coefficient leaves either every x or no x as a solution.

Try an example

Coefficient a: 3; Constant b: 5; Right side c: 20. The form starts with these values; change them to explore your own case.

Example result: x = 5

  1. a·x = c − b = 15
  2. x = (c − b) / a = 5

Learn more in Algebra tools and worked examples.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.