Number notes / Algebra

A practical guide to linear equation

Solve an equation of the form ax + b = c by undoing addition and multiplication in reverse order.

Coefficient a compared with the result of Linear Equation; the example conditions stay fixed
Figure 1. Calculated scenarios for linear equation. The highlighted point uses the example input. Lines connect sampled points and do not imply valid fractional counts.

Start with the relationship

The question this tool answers is specific: given coefficient a, constant b, right side c, what value follows from the stated model? The result is expressed in x. The calculation below makes that relationship visible, so the answer can be checked independently instead of accepted as an unexplained number.

x = (c − b) / a

Choose the reference quantity before interpreting the number. A ratio, a percentage and a percentage-point difference may use the same observations while answering different questions. For recorded data, keep the original values beside the summary so an unexpected result can be traced back to its inputs.

A worked example

Use the following values as a reproducible starting point. They are illustrative inputs, not measurements of your situation or a recommendation for a particular project. The calculator opens with the same values, making it possible to compare a manual calculation with the on-screen answer.

InputExample valueUnit
Coefficient a3number
Constant b4number
Right side c19number

Substitute these quantities into the displayed relationship: coefficient a = 3 number; constant b = 4 number; right side c = 19 number. Carry out the operations before rounding the final value. This gives 5 x. The number is a result for this particular set of inputs; changing the measurement basis or the conditions can change its practical meaning.

What changes when an input changes?

In the illustrated range, changing coefficient a from 1.8 to 4.2 number moves the result from 8.333333 to 3.571429 x. The output decreases between those endpoints. The table gives intermediate samples so you can see whether the response is smooth, stepped or nonmonotonic; the endpoints alone do not establish that behaviour.

Every other input keeps the value shown in the example table. This controlled comparison isolates one relationship at a time. For a real decision, try a lower, central and higher plausible input instead of treating an uncertain measurement as perfectly exact.

Coefficient a (number)Result (x)
1.88.333333
2.46.25
35
3.64.166667
4.23.571429

The assumption that matters

The coefficient a must be nonzero. This calculator does not classify the degenerate zero-coefficient cases.

A valid numerical result only means the entered values can be evaluated by this formula. It does not confirm that the formula describes every feature of the real situation. Read the unit labels, check the measurement method and keep the specific limitation above with the result when sharing it.

Use the result in your own work

Open the calculator, replace the example values and select Calculate. The result is evaluated on your device. Reset example restores this article's scenario, while Copy result keeps the quantity and unit together. If an input is outside the model's allowed range, correct it before interpreting the output.

Keep more digits during a chain of calculations than you show in a finished note. Displayed values are rounded for readability; extra decimals do not make a rough measurement more accurate. When your decision depends on a tight tolerance, compare the original measurements and assumptions before relying on the last displayed digit.

Open Linear Equation

Further reading & method notes

OpenStax — mathematics and physics learning resources provides background for this subject. This article's numerical examples and chart were calculated from the formula shown above. See the editorial policy for how this collection presents assumptions and corrections.

Keep exploring