Enter coefficients for a system of two linear equations:
Equation 1: a1x + b1y = c1 | Equation 2: a2x + b2y = c2
What this equation with two variables calculator does
This calculator solves a system of two linear equations with two unknowns, usually written as x and y. You provide six numbers (the coefficients and constants), and the tool computes the solution using Cramer’s Rule.
It can return three possible outcomes:
- One unique solution (a single intersection point).
- No solution (parallel lines that never meet).
- Infinitely many solutions (the same line written in different forms).
How to use the calculator
Step 1: Write equations in standard form
Convert each equation into the format ax + by = c. For example:
- 2x + 3y = 12
- x − y = 1
Step 2: Enter coefficients
Put each coefficient in its matching input box:
- a1, b1, c1 for Equation 1
- a2, b2, c2 for Equation 2
Step 3: Click solve
The calculator computes determinant values and gives x and y, along with a quick step-by-step summary so you can verify the math.
The math behind the result
For the system:
- a1x + b1y = c1
- a2x + b2y = c2
It calculates:
- D = a1b2 − a2b1
- Dx = c1b2 − c2b1
- Dy = a1c2 − a2c1
Then:
- x = Dx/D
- y = Dy/D
Worked example
Try the built-in example values:
- 2x + 3y = 12
- x − y = 1
The calculator returns x = 3 and y = 2. You can check quickly:
- 2(3) + 3(2) = 6 + 6 = 12
- 3 − 2 = 1
Common use cases
- Algebra homework and exam prep
- Checking hand-solved substitution or elimination work
- Word problems with two unknown quantities
- Simple economics, budgeting, and mixture models
Tips for accurate input
- Include negative signs where needed.
- Use decimals if your equations contain fractional values.
- Make sure both equations are in ax + by = c form first.
- If the tool says “no solution” or “infinite solutions,” re-check if equations are multiples of each other.
Final note
This equation with two variables calculator is designed for speed and clarity. It gives you the answer instantly and also shows enough intermediate values to help you learn, not just copy. Use it as a study companion to build confidence with systems of linear equations.