NumberCals

Linear Equation Solver

Solve ax + b = 0 for x.

About this calculator

The Linear Equation Solver on NumberCals is a free, mobile-friendly tool for anyone needing to solve ax + b = 0 for x. Enter your values in the form below and the result is computed instantly — no sign-up, no installation, no waiting.

Formula used

x = −b / a

What you'll need

  • a (coefficient of x) (e.g. 2)
  • b (constant) (e.g. -6)

What you'll get

  • x
Formula
x = −b / a

Frequently Asked Questions

What if a = 0? +

Then it's not linear. If b also = 0, every x is a solution; if b ≠ 0, no solution exists.

Related Calculators