Equation Solver

Solve a simple linear equation of the form ax + b = 0 for x.

Calculate

Enter your values below.

Result

x =
0

Formula used

ax + b = 0 → x = −b ÷ a

Example: 5x − 15 = 0 → x = 3.

How to use this calculator

  1. Enter a, b.
  2. Press Calculate to see your result instantly.

Frequently asked questions

How is this different from the Linear Equation Calculator?

This solves the equation set equal to zero directly; the Linear Equation Calculator handles the more general ax + b = c form.

Why can't a be zero?

Without a, there's no x term left to solve for.

Can b be zero?

Yes — then the solution is simply x = 0.

Is this suitable for quadratic equations?

No, use the Quadratic Equation Calculator for equations with an x² term.