Linear equations are the simplest equations in algebra and the most common in daily life: how many hours at $18 an hour to earn $450 after a $90 bonus? Solving them means undoing operations in reverse order while keeping both sides balanced.
How to use the Linear Equation Calculator
- a
- b
- c
Results update as you type, and everything is calculated in your browser.
How it works
Subtract b from both sides, then divide both sides by a. If a = 0 the equation either has no solution (b ≠ c) or is true for every x (b = c).
Inputs explained
| Field | What to enter |
|---|---|
| a | A number |
| b | A number |
| c | A number |
What each result means
- x = ([c] – [b])÷[a]
- Check: a·x + b = [a]×([c] – [b])÷[a] + [b]
- After subtracting b: a·x = = [c] – [b]
Example values
How the main result changes when a changes and everything else stays at the example values above:
| a | x |
|---|---|
| 9 | 40 |
| 13.5 | 26.6667 |
| 18 | 20 |
| 22.5 | 16 |
| 27 | 13.3333 |
| 36 | 10 |
Formula
ax + b = c ⇒ x = (c − b) ÷ a
Worked example
Inputs: a: 18; b: 90; c: 450.
Results: x = 20; Check: a·x + b = 450; After subtracting b: a·x = = 360.
Key terms
- Linear equation
- An equation in which the variable appears only to the first power.
Frequently asked questions
How do I solve 3x + 4 = 19?
Subtract 4: 3x = 15. Divide by 3: x = 5.
What if a = 0?
Then the equation has no solution unless b = c, in which case every x works.
What if x appears on both sides?
Collect the x terms on one side first, e.g. 5x + 2 = 3x + 10 becomes 2x = 8.
Why is it called linear?
Its graph y = ax + b is a straight line.