Skip to content

Linear Equations — a Step-by-step Calculator

The linear equation calculator solves an equation with one unknown, x, and shows how both sides are rearranged. It recognises a single solution, no solution and an equality that holds for every real number.

Enter the data and calculate

The starting values are an example. The calculations run in your browser.

Calculation data

One equation with a single = sign, e.g. 3(x−2)=2x+4. Use the unknown x. Up to 240 characters.

Fill in the fields correctly to see the result.

How do we solve linear equations?

We simplify each side to the form ax+b, keeping the coefficients as exact fractions. We subtract the same x term and the same constant from both sides. We get the equation Ax=B. If A is non-zero, we divide both sides by A; we never divide by the unknown or by zero.

For ax+b = cx+d: (a−c)x = d−b. When a−c ≠ 0, x = (d−b)/(a−c). When a−c = 0, we compare the remaining constants.

Step-by-step example

  1. Enter 2x+3=7.
  2. Subtract 3 from both sides: 2x=4.
  3. Divide both sides by 2: x=2.
  4. Check in the original equation: 2×2+3=7. Both sides equal 7.

How to read the result and choose the data

Use the equals sign to separate exactly two sides. You can enter brackets, fractions, decimals and implicit multiplication such as 2x or 3(x−2). For a numerator or denominator that is a sum, use brackets. This prevents the meaning of the operation from changing.

Constant powers and exact rational roots are allowed, e.g. 2²+x=7 or √9+x=5. The product x×x, the power x² and a denominator containing x go beyond the linear scope. We do not try to solve them by ignoring part of the expression; we show a message about the limitation.

If after simplifying you get 0=0, the equation holds for every x in the range considered. If a contradiction remains, e.g. 0=1, there is no solution. These are correct results of the analysis, not form errors. Once we find a single solution, we also show a check by substitution.

What do the fields mean?

Equation with one unknown, x
One equation with a single = sign, e.g. 3(x−2)=2x+4. Use the unknown x. Up to 240 characters.

Sources and how up to date the data is

Checked on 31 October 2026. The formulas and function domains were compared with the Procentownik 1.10.24 code, and the reference results were run in Dart. This module does not download current rates, exchange rates or user data from a server. The check date refers to the implementation and tests; it does not indicate how long a tax rate or legal standard applies.

ZPE (Poland’s Integrated Education Platform) — equations and operations on both sides of an equality

Frequently asked questions

Does the calculator solve quadratic equations?

No. It deals with linear equations in one unknown. The notation x² or a product of two expressions with x needs a different engine. A message about the scope does not prove that such an equation has no solutions.

Do I have to put a multiplication sign before x?

Not in typical notation such as 2x and 3(x−2). It is still worth writing complex operations explicitly and with brackets. Simply placing two numbers next to each other with a space does not mean their product.

What does “every real number” mean?

After simplifying, both sides describe the same expression. For example, x+1=x+1 holds for any real x. In that case, we do not pick one random number as the solution.

Is a result of 2/3 rounded?

The main solution is an exact fraction in its simplest form. The check also uses rational arithmetic. We do not replace the solution with an approximation that might give a small difference when substituted.

Does the data I enter reach the studio?

Your browser does the calculations. The form does not send the values you enter and does not require an account. The “Copy result” button uses the clipboard only when you click it. You can also select the result and copy it by hand. Refreshing the page restores the sample data; it is not a substitute for keeping your own notes.

Is this tool also in Procentownik?

Yes. It corresponds to the app module described below. The web version is for calculations in your browser, and the app has its own phone interface. We do not automatically transfer results between the website and the app. Choose whichever version suits your task better.

Related calculators

More than a calculator.

These calculations in Procentownik too

The Equations module is also available on your phone. You can use the calculations without opening this page. Discover Procentownik — 33 modules in six categories. The app has a history, favourites and two themes for day and night. The Calculator and School remain ad-free.

Scope: linear equations in x. A message about unsupported notation is not a solution to the task.

Procentownik — equations and balancing both sides
Procentownik — equations and balancing both sides