⚖️ Simultaneous Equations: Calculator

Solve two linear equations with two unknowns using Cramer’s Rule.

a₁
b₁
c₁
a₂
b₂
c₂
SOLUTION
x = 0, y = 0
x
0
y
0
Determinant (D)
0
System Type
Cramer's Rule: x = Dx / D, y = Dy / D

Solving Simultaneous Equations with Cramer's Rule

This calculator solves a system of two linear equations in two unknowns — a₁x + b₁y = c₁ and a₂x + b₂y = c₂ — using Cramer's Rule, a determinant-based method that finds x and y directly without needing substitution or elimination by hand.

D  = a₁b₂ − a₂b₁
Dx = c₁b₂ − c₂b₁
Dy = a₁c₂ − a₂c₁
x = Dx / D,   y = Dy / D   (when D ≠ 0)

What It Means When There's No Unique Solution

Geometrically, each linear equation represents a straight line, and solving the system means finding where the two lines cross. When the main determinant D equals zero, the two lines are parallel (they have the same slope), so they either never meet — giving "no solution" — or they're actually the exact same line, giving "infinitely many solutions." This calculator checks Dx and Dy in that edge case to tell the two situations apart automatically.

Practical Uses for Two-Variable Systems

Two-equation, two-unknown systems come up constantly in everyday algebra and applied math: mixture and rate problems, break-even analysis in business, finding the intersection point of two lines or budget constraints in economics, and basic circuit analysis with two unknown currents or voltages. Because Cramer's Rule generalizes cleanly to larger systems using determinants, it's also a foundational technique before moving on to matrix-based methods for three or more variables.

❓ Frequently Asked Questions

What is Cramer's Rule?
Cramer's Rule is a method for solving a system of linear equations using determinants. For two equations in x and y, it computes a main determinant D and two modified determinants Dx and Dy, then finds x = Dx/D and y = Dy/D.
What does it mean if the determinant D is zero?
A zero determinant D means the two equations represent parallel lines with the same slope. If Dx and Dy are also zero, the lines are identical, giving infinitely many solutions; otherwise, the lines never meet and there is no solution.
Can this calculator solve systems with three or more variables?
No, this tool is built specifically for two equations with two unknowns (x and y). Larger systems require matrix methods with bigger determinants — see the Matrix Calculator on this site for general matrix operations.
Is Cramer's Rule the same as the substitution or elimination method?
They all solve the same systems and give identical answers, but Cramer's Rule uses determinants instead of algebraic substitution or elimination. It's often faster to apply directly once you know the formula, especially for quick calculations.
How do I know if my system has a unique solution before calculating?
If the two equations' coefficient ratios (a₁/a₂ and b₁/b₂) are different, the determinant D will be non-zero and the system has a unique solution. If those ratios are equal, D = 0 and you'll get either no solution or infinitely many, depending on the constants.

🏆 About This Tool — Accuracy & Trust

🔒 Data Privacy: All calculations run entirely within your browser using JavaScript. Nothing you enter here is ever transmitted to our servers, stored, sold, or shared.

📐 Accuracy Note: This tool uses standard, widely published formulas and guidelines. Results are estimates for informational purposes; for financial, medical, or engineering decisions, consult a licensed professional.

📅 Last Updated: September 2026.