🟰

Linear Equation

Math · 2 inputs · Free

🟰

Linear Equation

2 inputs

Parameters

What is this tool?

Linear Equation handles basic maths quickly and helps you double-check a result. Solves the linear equation ax + b = 0 using x = −b/a; an error is shown if a is zero.

Inputs: a (coefficient) = 2, b (constant) = -8

-b (constant) ÷ a (coefficient)

Result: 4 x

📘 Common mistakes · Worked example
a (coefficient)b (constant)

Solves the linear equation ax + b = 0 using x = −b/a; an error is shown if a is zero.

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

-b (constant) ÷ a (coefficient)

Solves the linear equation ax + b = 0 using x = −b/a; an error is shown if a is zero.

Inputs

ValueUnitExample
a (coefficient)—2
b (constant)—-8

What is this tool?

Linear Equation handles basic maths quickly and helps you double-check a result. Solves the linear equation ax + b = 0 using x = −b/a; an error is shown if a is zero.

Worked example

Inputs: a (coefficient) = 2, b (constant) = -8

Calculation: -b (constant) ÷ a (coefficient)

Result: 4 x

Common mistakes

  • Not changing the sign of b when moving it across.
  • Entering the right-hand number as b without first rearranging to ax + b = 0.
  • Entering a = 0, which makes x impossible to find.
  • Not distributing a factor across brackets (2(x + 3) = 2x + 6).

📘 How to Solve a Linear Equation (ax + b = 0) →

Sources

Key terms

a (coefficient)b (constant)

Frequently Asked Questions

+Linear Equation — how is it calculated?

-b (constant) ÷ a (coefficient). Solves the linear equation ax + b = 0 using x = −b/a; an error is shown if a is zero.

+Which values are required?

a (coefficient), b (constant).

+What should “a (coefficient)” be to get 3.2 x?

With the other example values unchanged, entering 2.5 for “a (coefficient)” gives 3.2 x. For your own target, calculate first, then press “Solve backwards” and type the result you want.

+Can I compare results or export them to Excel?

Yes. After calculating, use “Compare” to put up to three results side by side, “Download Excel” to get a file and “Save” to keep the calculation in your own browser only. No sign-up needed.

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice