Algebra Calculator

Solve single-variable linear equations and systems of 2x2 simultaneous equations.

Linear Equation Solver (\(ax + b = c\))

Type any linear equation with variable \(x\), e.g. 2x + 5 = 15 or 5x - 4 = 2x + 11.

Solution
x = 5
Step 1: 2x = 15 - 5
Step 2: 2x = 10
Step 3: x = 5

Simultaneous Equations (2 Variables)

Solve systems of two linear equations in the standard form \(a_1x + b_1y = c_1\) and \(a_2x + b_2y = c_2\).

x + y =
x + y =
Value of x
2
Value of y
2

Algebra Formulas & Solution Steps

View All Math Formulas Handbook →

Linear Equation Formula

Isolating the variable $x$:

$$ ax + b = c \implies x = \frac{c - b}{a} $$

How to calculate:

$$ \text{Step 1: } ax = c - b, \quad \text{Step 2: } x = \frac{c - b}{a} $$

Simultaneous Equations (Cramer's Rule)

Solving a $2 \times 2$ linear system:

$$ \begin{cases} a_1 x + b_1 y = c_1 \\ a_2 x + b_2 y = c_2 \end{cases} $$

How to calculate:

$$ D = a_1 b_2 - a_2 b_1, \quad x = \frac{c_1 b_2 - c_2 b_1}{D}, \quad y = \frac{a_1 c_2 - a_2 c_1}{D} $$

Related Calculators