Linear Equation Solver

A linear equation ax + b = c is solved by isolating x: x = (c − b) / a.

What this calculator does

2x + 5 = 13 → 2x = 8 → x = 4.

How it works

Always verify: substitute x back and confirm both sides equal.

When to use this calculator

Reach for this calculator when you need a result you can act on confidently. The formula is straightforward, but manual computation introduces rounding errors that this tool eliminates entirely.

Common mistakes

A common mistake is applying the formula in the wrong direction — particularly with percentage and ratio problems, where the part and the whole can be mistakenly swapped. Check which value is the reference (the 'whole') before entering inputs.

Real-world scenarios

A shopper sees two versions of the same product at different prices: one at £14.50 for 400g and another at £11.99 for 300g. Running both price-per-gram calculations reveals the larger pack is 7% cheaper per unit — the kind of comparison that is impossible to do reliably in your head at the shelf.

Frequently asked questions

How do you solve a linear equation?

Isolate the variable: subtract constants from both sides, then divide by the coefficient. x = (c−b)/a.

CalcPlanet – Free Online Calculators

725+ free calculators and 108 tools for math, money, health, and everyday life. Instant results, verified formulas, no sign-up.

· Reviewed against our Editorial Standards and Formula Sources.

CalcPlanet calculators are free, privacy-first, and formula-reviewed.

Editorial Standards · Formula Sources · Privacy · Terms · Contact