System of Equations Solver
Enter six coefficients to solve two linear equations for x and y using Cramer's Rule - see the determinant, Dx, Dy, and a verified answer at every step.
Not sure how to find your coefficients? See the step-by-step guide below →
Last updated August 18, 2026
System of Equations Examples
x + y = 7, x + 2y = 11 (a single, whole-number solution)
- a1:
- 1
- b1:
- 1
- c1:
- 7
- a2:
- 1
- b2:
- 2
- c2:
- 11
x = 3, y = 4 - D = (1x2) - (1x1) = 1, so the system has exactly one solution.
- 1Step 1 - Set up the system: x + y = 7 and x + 2y = 11.
- 2Step 2 - Calculate the determinant: D = (a1 × b2) − (a2 × b1) = (1 × 2) − (1 × 1) = 2 − 1 = 1.
- 3Step 3 - Determine the solution type: since D = 1 is not zero, this system has exactly one solution, found using Dₓ and D𝑦.
- 4Step 4 - Solve for x:Dₓ = (c1 × b2) − (c2 × b1) = (7 × 2) − (11 × 1) = 14 − 11 = 3.x = Dₓ ÷ D = 3 ÷ 1 = 3.
- 5Step 5 - Solve for y:D𝑦 = (a1 × c2) − (a2 × c1) = (1 × 11) − (1 × 7) = 11 − 7 = 4.y = D𝑦 ÷ D = 4 ÷ 1 = 4.
- 6Step 6 - Verify the solution:In Equation 1 (x + y = 7): (1 × 3) + (1 × 4) = 7, which matches the right-hand side (7).In Equation 2 (x + 2y = 11): (1 × 3) + (2 × 4) = 11, which matches the right-hand side (11).
1.5x + 2y = 10, x + 3y = 9 (decimal solution)
- a1:
- 1.5
- b1:
- 2
- c1:
- 10
- a2:
- 1
- b2:
- 3
- c2:
- 9
x = 4.8, y = 1.4 - decimal coefficients work exactly the same way; the answer is rounded to 4 decimal places.
x + y = 2, 2x + 2y = 5 (no solution)
- a1:
- 1
- b1:
- 1
- c1:
- 2
- a2:
- 2
- b2:
- 2
- c2:
- 5
No solution - D = 0 and Dx/Dy are not both 0, so the two equations describe parallel lines that never intersect.
x + y = 2, 2x + 2y = 4 (infinitely many solutions)
- a1:
- 1
- b1:
- 1
- c1:
- 2
- a2:
- 2
- b2:
- 2
- c2:
- 4
Infinitely many solutions - the second equation is just the first multiplied by 2, so both describe the exact same line.
System of Equations Calculator Guide
A complete guide to systems of equations — what they are, the three possible outcomes, how to solve one by hand three different ways, and exactly how this calculator solves one internally.
What Is a System of Equations?
A system of equations is a set of two or more equations that share the same variables, and solving it means finding the one set of values — for two variables, the one (x, y) pair — that makes every equation in the set true at the same time. A single equation on its own, like x + y = 7, has infinitely many solutions; adding a second equation with the same variables, like x + 2y = 11, narrows that down to exactly the pairs both equations agree on. For these two equations, that shared pair is x = 3 and y = 4 — the only combination that satisfies both at once.
Understanding the Parts of a System
Every linear equation in a system can be written as ax + by = c, where x and y are the variables being solved for, a and b are their coefficients — the fixed numbers multiplying each variable — and c is the constant on the equation's own right-hand side. In x + 2y = 11, a = 1, b = 2, and c = 11; a system of two such equations has six of these values in total, labeled a1, b1, c1 for the first equation and a2, b2, c2 for the second. A pair of values satisfies the complete system only when substituting them into both equations — not just one — makes each equation's left side equal its own right side; satisfying one equation alone says nothing about whether the other holds.
Types of Systems of Equations
A linear system is one where every equation graphs as a straight line — each variable appears only to the first power, with no products of variables, exponents, or roots involved. This calculator solves linear systems specifically: two linear equations in two unknowns. A nonlinear system, where at least one equation involves a squared term, a product of two variables, or a similar non-linear expression, needs different solving techniques entirely and isn't something this tool computes. A system is called consistent when at least one solution exists, and inconsistent when no pair of values satisfies both equations at once — this calculator identifies which of these applies automatically from the coefficients you enter, without you needing to work it out first.
Types of Solutions
A linear system of two equations always has exactly one of three outcomes.
One Solution
Happens when the two equations' lines cross at a single point — graphically, two lines heading in different directions meet exactly once, and algebraically, this is the case whenever the determinant D = a1b2 - a2b1 is not zero. x + y = 7 and x + 2y = 11 fall into this case: their lines intersect only at (3, 4).
No Solution
Happens when the two lines are parallel but never touch — the same slope, different intercepts. Graphically, the lines run side by side forever without meeting; algebraically, this is a D = 0 case where the two equations' constants don't line up the same way their coefficients do.
Infinitely Many Solutions
Happens when the two equations describe the exact same line, just written differently — for example, one equation multiplied through by a constant. Every point on that shared line satisfies both equations, so there's no single (x, y) pair but rather an unlimited number of them; algebraically, this is also a D = 0 case, distinguished from "no solution" by checking whether the constants line up too.
How to Solve a System of Equations Manually
Three genuinely different approaches reach the same answer for a system like this one.
Substitution
Works in five steps: isolate one variable in one equation, substitute that expression into the other equation, solve the resulting single-variable equation, substitute the result back to find the first variable, then verify both values in the original equations. Applied to x + y = 7 and x + 2y = 11: solving the first equation for y gives y = 7 - x; substituting into the second gives x + 2(7 - x) = 11, which simplifies to x + 14 - 2x = 11, then -x = -3, so x = 3; substituting back gives y = 7 - 3 = 4.
Elimination
Instead aligns the two equations, multiplies one or both by a constant if needed so a variable's coefficients match or become opposites, adds or subtracts the equations to cancel that variable, solves the single remaining variable, substitutes back, and verifies. For the same system, subtracting the first equation from the second directly cancels x: (x + 2y) - (x + y) = 11 - 7 simplifies to y = 4; substituting back into x + y = 7 gives x = 3.
Cramer's Rule
Takes a different approach from the first two: instead of manipulating the equations themselves, it works entirely from determinants built out of the six coefficients, and it's the method this calculator's own engine actually runs internally. First it computes D = a1b2 - a2b1 from just the x and y coefficients. Then it computes that same kind of determinant twice more — once with the x-coefficients swapped out for the constants (giving Dx), once with the y-coefficients swapped out the same way (giving Dy). As long as D isn't zero, x and y fall out immediately as Dx / D and Dy / D, with no elimination or back-substitution step needed at all.
Graphing
Represents each equation as a line and reads the solution off as the point where the lines meet — useful for an intuitive picture of "one solution," "no solution," and "infinitely many solutions," but less practical than an algebraic method when the exact answer involves a fraction or a long decimal that's hard to read precisely off a graph.
Worked Example
Take x + y = 7 and x + 2y = 11 as one concrete illustration of how these ideas fit together. Both equations involve the same two unknowns, so a genuine solution has to satisfy each one, not just make one of them true. Every method above reaches the same answer here: x = 3 and y = 4. Substitution finds it by expressing y in terms of x and folding that into the second equation; elimination finds it by subtracting one equation from the other to cancel x directly; Cramer's Rule finds it from the determinant D = (1)(2) - (1)(1) = 1, nonzero, confirming a single unique solution exists before the exact values are even computed. This calculator's own step-by-step output above works through this same system numerically, using the actual Cramer's Rule engine rather than narrating the manual methods described here.
What the CloudCalcApp System of Equations Calculator Does
This calculator solves a system of two linear equations in two unknowns from six coefficients you provide — a1, b1, c1 for the first equation and a2, b2, c2 for the second, in the standard a1x + b1y = c1 / a2x + b2y = c2 form. It computes the result using Cramer's Rule internally and returns one of three outcomes automatically: a unique (x, y) pair, "No solution," or "Infinitely many solutions" — decided from the coefficients, not something you need to identify yourself in advance. Alongside the result, it shows the actual determinant and intermediate values computed for your own numbers, not a generic template, plus a final step substituting the result back into both original equations. It does not currently solve systems with three or more equations or unknowns, or nonlinear systems.
How to Find Your Coefficients
If your equation isn't already written as ax + by = c, rearrange it first: move every x-term and y-term to the left side and the plain number to the right. 3x + 2y = 12 is already in that form, so its coefficients are simply a = 3, b = 2, c = 12. An equation like y = 5 - x needs one step first — add x to both sides to get x + y = 5, giving a = 1, b = 1, c = 5. If a variable doesn't appear at all, like 2x = 8, its coefficient is 0, not blank — write it mentally as 2x + 0y = 8. A variable written on its own, like x + y = 7, has a coefficient of 1, not 0 — "x" alone means "1x." Once each equation is in this form, its three numbers map directly onto this calculator's a1/b1/c1 or a2/b2/c2 fields.
How to Use the System of Equations Calculator
1. Enter the first equation's coefficients (a1, b1) and constant (c1). 2. Enter the second equation's coefficients (a2, b2) and constant (c2). 3. Double-check every sign — a misplaced negative changes the entire result. 4. Select Calculate. 5. Read the x and y values from the result. 6. Follow the generated steps to see exactly how the determinant, Dx, and Dy led to that result. 7. Check the final verification step, which substitutes your x and y back into both original equations.
Common Mistakes
A handful of mistakes account for most wrong answers here: losing a sign when moving a term across the equals sign (writing x + y = 7 as x = 7 + y instead of x = 7 - y); entering a coefficient in the wrong field or swapping a and b, which silently changes which variable a number belongs to; confusing a constant with a coefficient; substituting an expression back into the same equation it came from instead of the other one, which never actually isolates the second variable; forgetting to multiply every term — not just the one being eliminated — during elimination; and, in Cramer's Rule specifically, a single sign error inside a determinant calculation, which flips the entire result. Skipping verification at the end lets any of these slip through unnoticed.
How to Verify a Solution
Finding x and y isn't the last step — confirming they're correct is. A pair of values only counts as a solution once it makes both equations true at the same time, so check each equation on its own rather than assuming the first one being correct means the second is too. With x = 3 and y = 4: the first equation checks out as 3 + 4 = 7, and the second as 3 + 2(4) = 11. Since both hold, the pair is genuinely a solution — if either had failed to balance, an earlier step would need re-checking.
Real-World Applications
Systems of equations show up whenever two related quantities both need to satisfy separate conditions at once: a ticket-sales problem pairing total tickets sold with total revenue to find how many of each type sold, a pricing problem combining a fixed cost with a per-unit cost across two purchase scenarios, a mixture problem pairing total volume with ingredient concentration, a distance/rate/time problem pairing distance with speed or time, or business planning balancing a quantity constraint against a cost constraint.
System of Equations vs. a Single Equation
A system is the right tool whenever a problem has two unknowns and two independent conditions that both need to hold at once — one equation alone can't pin down two unknowns, since it has infinitely many valid (x, y) pairs on its own. If a problem only has a single unknown — one variable, one equation, like 3x + 5 = 20 — a system isn't needed at all, and the Linear Equation Solver handles that simpler case directly, without the extra six-coefficient setup this calculator's two-equation form requires.
Conclusion
A system of equations is just two or more conditions on the same variables that all have to hold together, and its solution — one pair, no pair, or infinitely many — depends entirely on how the equations relate to each other. Substitution, elimination, and Cramer's Rule all reach the same answer by different routes; this calculator uses Cramer's Rule internally and shows the real computation behind your own numbers, not a generic narration. Whichever method you use by hand, always finish by substituting the result back into both original equations — that's the only way to confirm a solution is actually correct.
FAQ
What is a system of equations?
A system of equations is a set of two or more equations that share the same variables, and a solution is a set of values - here, an (x, y) pair - that makes every equation in the set true at the same time. This calculator solves the most common case: two linear equations in two unknowns, a1x + b1y = c1 and a2x + b2y = c2.
How does this calculator solve two equations at once?
It uses Cramer's Rule: first it calculates the determinant D = a1b2 - a2b1 from the four x/y coefficients, then uses D along with two related determinants, Dx and Dy, to compute x = Dx / D and y = Dy / D directly - no substitution or elimination by hand is needed, and every step is shown using your own numbers.
What does it mean when the determinant is zero?
A determinant of zero (D = 0) means the two equations do not have a single unique (x, y) solution - it happens exactly when the two lines the equations describe are parallel. From there, checking Dx and Dy tells you which of two outcomes applies: if both are also 0, the lines are actually the same line (infinitely many solutions); otherwise, they are parallel but distinct (no solution).
What is the difference between "no solution" and "infinitely many solutions"?
"No solution" means the two lines are parallel and never touch, so no (x, y) pair satisfies both equations at once. "Infinitely many solutions" means the two equations actually describe the exact same line, so every point on that line is a valid solution. Both are complete, valid mathematical answers - this calculator returns them directly rather than treating either as an error.
How can I verify the (x, y) solution is correct?
Plug the calculated x and y back into both original equations and check that each one still balances. For x + y = 7, x + 2y = 11 with the solution x = 3, y = 4: the first equation gives 3 + 4 = 7 and the second gives 3 + 2(4) = 11, both of which hold true - this exact substitution check is shown as the final step of every worked solution here.
Can I solve a system with negative or decimal coefficients?
Yes. Every coefficient you enter feeds directly into D, Dx, and Dy through ordinary multiplication and subtraction, so a negative sign or a decimal point never needs special handling - 2x - y = 3 paired with x + 3y = 5 solves cleanly to x = 2, y = 1 despite the negative coefficient. If the division Dx ÷ D or Dy ÷ D does not land on a whole number - for example x = 4.8 from 1.5x + 2y = 10, x + 3y = 9 - the calculator rounds to 4 decimal places rather than flagging it as unusual.
Can this calculator solve a system with 3 equations and 3 unknowns?
Not currently - this calculator solves exactly two linear equations in two unknowns (x and y). A 3x3 system, with a third variable z and a third equation, needs a larger determinant calculation this v1 does not perform, and is being considered as a possible future addition rather than built into this version.
What is Cramer's Rule?
Cramer's Rule is a method for solving a system of linear equations using determinants instead of substitution or elimination by hand. For a 2x2 system, it defines three determinants - D (from the x/y coefficients alone) and Dx, Dy (each formed by replacing one coefficient column with the right-hand-side constants) - and gives the solution directly as x = Dx / D and y = Dy / D whenever D is not zero.
How is this different from the Linear Equation Solver?
The Linear Equation Solver solves one equation in one unknown (ax + b = c, solving for x alone), while this calculator solves two equations in two unknowns at once (x and y together). Both calculators can return "No solution" or "Infinitely many solutions" as valid outcomes, but the underlying reason is different: for a single equation it depends on the coefficient a, while for a system it depends on whether the two lines the equations describe are parallel, identical, or intersecting.
Why does my solution show decimal places instead of a clean whole number?
That is expected, not a flaw. Dx and Dy are divided by D through plain division, and division does not always produce a whole number - 1.5x + 2y = 10 paired with x + 3y = 9 genuinely works out to x = 4.8 and y = 1.4, capped at 4 decimal places purely so the display stays readable. Coefficients that happen to divide evenly, such as x + y = 7 with x + 2y = 11 (x = 3, y = 4), come out as clean whole numbers with nothing after the decimal point.
Sources
Based on 4 sources.
Related Calculators
Linear Equation Solver
Algebra & EquationsPlug in a, b, and c to solve ax + b = c for x instantly, with full step-by-step working and a clear no-solution or infinite-solutions answer built in.
Quadratic Equation Solver
Algebra & EquationsSolve any quadratic equation (ax^2 + bx + c = 0) for x using the quadratic formula. Enter the three coefficients to see real, repeated, or complex roots.
Long Multiplication Calculator
Numbers & ArithmeticMultiply two numbers with the standard long multiplication method - see every partial product, carry, and place-value shift for whole numbers and decimals.