Linear Equation Calculator

Find the unknown in a single-variable linear equation. Enter your own values below to see solution x and check the method behind it.

All calculators

Your inputs

Change the example values to match your situation.

Your result

Let’s work it out.

Fill in your inputs and select Calculate.
Your result and breakdown will appear here.

How this calculator works

x = (c − b) ÷ a.

What is Linear Equation Calculator?

Linear Equation Calculator helps you find the unknown in a single-variable linear equation.

The main result is solution x. The formula, example and assumptions below explain how to interpret it.

How to use Linear Equation Calculator

Use the example to get familiar with the form, then enter your own figures. Any rates in the example are illustrative. Check the field labels and units before calculating.

  1. Gather a in ax + b = c, b and c. Use values from the same situation or reporting period.
  2. Replace the example a in ax + b = c with your own value, then complete the other fields. Check the displayed units.
  3. Select Calculate and read solution x. Change one input and calculate again to compare a second scenario. Reset restores the original example.
  • Enter a in ax + b = c, at least -1000000000000. Decimals are accepted.
  • Enter b, at least -1000000000000. Decimals are accepted.
  • Enter c, at least -1000000000000. Decimals are accepted.

Linear Equation Calculator: a worked example

With the inputs below, the result is 4 (solution x). Follow the example, then replace these illustrative values with your own.

Example inputs and output
Input or outputExample value
a in ax + b = c2
b3
c11
Solution x4

Understanding the Linear Equation result

The main output is solution x. It applies to the inputs and operation you selected.

Displayed results use a readable number of decimal places. When checking a result by hand, keep extra precision until the last step. To compare scenarios, change one input at a time and keep the others fixed.

Linear Equation Calculator: assumptions and common mistakes

A useful estimate starts with the right inputs. Check the following assumptions and limits before applying the result to your situation.

  • Check the base value, sample definition and chosen operation. Display rounding should come after the calculation.

For wider guidance, visit NIST statistical handbook. The formula and scope of this specific tool are stated on this page.

Linear Equation Calculator FAQs

What does Linear Equation Calculator calculate?

Linear Equation Calculator helps you find the unknown in a single-variable linear equation. Its main output is solution x.

What inputs do I need for Linear Equation Calculator?

You need a in ax + b = c, b and c. Use the field labels and units to match your figures to the formula.

Which formula does Linear Equation Calculator use?

x = (c − b) ÷ a.

What is a worked example for Linear Equation Calculator?

Example inputs: a in ax + b = c: 2; b: 3; c: 11. The result is 4 (solution x).

How should I enter a in ax + b = c?

Enter a in ax + b = c, at least -1000000000000. Decimals are accepted.

How do I choose b?

Enter b, at least -1000000000000. Decimals are accepted. The example uses 3; replace it if your circumstances differ.

How should I read solution x?

The main output is solution x. It applies to the inputs and operation you selected.

Why might my Linear Equation Calculator result differ from my records?

Check the base value, sample definition and chosen operation. Display rounding should come after the calculation. Differences in entered values, units or rounding can also change the comparison.

Can I compare two scenarios in Linear Equation Calculator?

Yes. Note your first solution x, change a in ax + b = c or another input, and select Calculate again. Editing a field clears the old result so it is not mistaken for a new calculation.

Is Linear Equation Calculator free, and where are my inputs calculated?

This calculator is free to use without signing in. Its formula runs in your browser; calculator inputs are not sent to a calculation API. The inputs reset to the example values when you reset the form or start a fresh page.