Simultaneous equations calculator
Solve 2 or 3 linear equations with Cramer's rule. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.
Formula
x_i = det(A_i) / det(A), A_i = A with column i replaced by the constants
Inputs
- Equation 1: coefficient of x (a₁)
- Equation 1: coefficient of y (b₁)
- Equation 1: coefficient of z (c₁)
- Equation 1: right-hand side (d₁)
- Equation 2: coefficient of x (a₂)
- Equation 2: coefficient of y (b₂)
- Equation 2: coefficient of z (c₂)
- Equation 2: right-hand side (d₂)
- Equation 3: coefficient of x (a₃)
- Equation 3: coefficient of y (b₃)
- Equation 3: coefficient of z (c₃)
- Equation 3: right-hand side (d₃)
Worked example: 2x + y − z = 8, −3x − y + 2z = −11, −2x + y + 2z = −3
- Equation 1: coefficient of x a₁ = 2
- Equation 1: coefficient of y b₁ = 1
- Equation 1: coefficient of z c₁ = -1
- Equation 1: right-hand side d₁ = 8
- Equation 2: coefficient of x a₂ = -3
- Equation 2: coefficient of y b₂ = -1
- Equation 2: coefficient of z c₂ = 2
- Equation 2: right-hand side d₂ = -11
- Equation 3: coefficient of x a₃ = -2
- Equation 3: coefficient of y b₃ = 1
- Equation 3: coefficient of z c₃ = 2
- Equation 3: right-hand side d₃ = -3
- det A = -1
- x = det(A_x) ÷ det A = -2 ÷ -1 = 2
- y = det(A_y) ÷ det A = -3 ÷ -1 = 3
- z = det(A_z) ÷ det A = 1 ÷ -1 = -1
- Check equation 1: 2×2 + 1×3 + -1×-1 = 8 ✓
Answer: Solution x x = 2 ; Solution y y = 3 ; Solution z z = -1
More engineering maths calculators
- Linear interpolation: Find a value between two table entries (steam tables, property charts).
- Matrix calculator: Determinant and inverse of a 2×2 or 3×3 matrix.
- Significant figures: Count significant figures and round a number to n figures.
- Quadratic roots: Solve ax² + bx + c = 0, including complex roots.
- Descriptive statistics: Mean, median, standard deviation and more from a list of numbers.
- Linear regression (line of best fit): Least-squares straight line through your data, with R².
- Triangle solver: Missing sides, angles and area of any triangle.
- Percentage error & change: Percentage error of a measurement, or percentage change between two values.
Engineering Maths formula sheet · All calculators · Practice problems