Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Math Calculators / Linear Systems Calculator
Algebra Calculators

Linear Systems Calculator

Published onOctober 27, 2025 Updated onOctober 22, 2026 6:57 pm

Two linear equations in two unknowns have exactly one answer, no answer, or infinitely many, and which case you are in is decided by a single number: the determinant. Enter the six coefficients of a1x + b1y = c1 and a2x + b2y = c2 and this calculator applies Cramer’s rule, shows every substitution with your numbers, and tells you plainly whether the lines cross, run parallel, or are the same line written twice.

Linear Systems Calculator
Two equations, two unknowns, solved with Cramer’s rule

Equation 1: a1x + b1y = c1

Equation 2: a2x + b2y = c2

Algebra aid. Coefficients can be integers, decimals or negatives; both equations must already be in ax + by = c form.

Quick Answer

For the pre-filled system x + y = 10 and 2x − y = 5, the determinant is D = −3, and Cramer’s rule gives x = 5 and y = 5. The point (5, 5) satisfies both equations: 5 + 5 = 10 and 2(5) − 5 = 5. The calculator above is pre-filled with this exact system.

Key takeaways

  • The determinant D = a1b2 − a2b1 decides everything before you solve anything: non-zero means one solution, zero means none or infinitely many.
  • Each variable replaces one column of the determinant with the constants: x uses the c values in the x column, y uses them in the y column.
  • Parallel and coincident are different answers. Parallel lines never meet; coincident lines are one line written twice, so every point on it is a solution.
  • Always check the answer by substitution. Five seconds of plugging back catches nearly every sign error made while rearranging.
On this page
  • Quick Answer
  • How to use the linear systems calculator
  • Cramer’s rule: three determinants and two divisions
  • Worked example: x + y = 10 and 2x − y = 5
  • No solution, one solution, or infinitely many: reading the determinant
  • Getting your equations into ax + by = c form
  • Where two-equation systems actually show up
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the linear systems calculator

Put both equations into a1x + b1y = c1 form, type the six numbers in order, and click Calculate. The result shows x and y plus the full Cramer’s rule working with your numbers substituted in.

  1. Rearrange each equation first. x and y terms belong on the left, the constant on the right. 3x − 7 = 2y becomes 3x − 2y = 7, so a = 3, b = −2 and c = 7.
  2. Enter the signs exactly. In 2x − y = 5 the y coefficient is −1, not 1. Most wrong answers from any solver, this one included, trace back to a dropped minus sign at this step.
  3. Use 0 for a missing variable. An equation such as x + 5 = 2y has no standalone y term on the left once rearranged: it becomes 1x − 2y = −5. An equation with no x term at all, such as 3y = 12, gets a1 or a2 = 0.
  4. Read the determinant line first. If D is not zero, the steps continue to x and y. If D is 0, the calculator checks whether the equations are multiples of each other and reports no solution (parallel) or infinitely many solutions (coincident) instead of inventing a point.
  5. Check by substitution. Put your x and y back into both original equations. Checking a single point against a line is the same skill as evaluating a linear function at a given input, and it is the fastest way to confirm a solution before you hand it in.

Cramer’s rule: three determinants and two divisions

Cramer’s rule turns a 2 by 2 system into three small determinant calculations. The main determinant D comes from the coefficients alone; Dx and Dy each replace one coefficient column with the constants.

D = a1b2 − a2b1
Dx = c1b2 − c2b1
Dy = a1c2 − a2c1
x = Dx ÷ D    y = Dy ÷ D

The pattern is worth memorising because it explains the geometry. D compares the two lines’ directions: when the lines point the same way, the products a1b2 and a2b1 cancel and D collapses to 0. Dx and Dy measure where the constants push the crossing point, which is why swapping a constant between equations moves the answer even when D stays fixed. Determinants are also the test for whether a matrix can be inverted at all, which is why the same D appears when you run an inverse matrix calculation for a 2×2 matrix: a zero determinant means no inverse exists, for exactly the reason it means no unique solution here. Standard references such as OpenStax College Algebra’s section on solving systems with Cramer’s rule present the method in this same three-determinant form.

1. Compute D from the coefficients→ 2. Replace the x column with c to get Dx→ 3. Replace the y column with c to get Dy→ 4. Divide: x = Dx ÷ D, y = Dy ÷ D→ 5. Substitute back to check

Worked example: x + y = 10 and 2x − y = 5

The pre-filled system solves to (5, 5), and every step below is the exact output the calculator produces for those six coefficients. Three more verified runs follow it, including the two zero-determinant cases.

Step 1, the determinant: D = (1 × −1) − (2 × 1) = −3. Non-zero, so a unique solution exists.
Step 2, x: x = ((10 × −1) − (5 × 1)) ÷ −3 = (−15) ÷ (−3) = 5.
Step 3, y: y = ((1 × 5) − (2 × 10)) ÷ −3 = (−15) ÷ (−3) = 5.
Step 4, the check: 5 + 5 = 10, correct for Equation 1. 2(5) − 5 = 5, correct for Equation 2. The point sits on both lines, so it is the crossing point.

Coefficients (a1, b1, c1, a2, b2, c2)DCalculator result
1, 1, 10, 2, −1, 5 (the worked example)−3x = 5, y = 5
2, 1, 8, 3, −2, 5−7x = 3, y = 2
1, 2, 4, 3, 1, 5−5x = 1.2, y = 1.4
0.5, 1.5, 4, 2, −0.5, 3 (decimals)−3.25x = 2, y = 2
1, 1, 2, 1, 1.0001, 3 (near-parallel lines)0.0001x = −9,998, y = 10,000

The last run is the one to remember. When D is tiny but not zero, the lines are almost parallel and the crossing point shoots far away, so a small rounding slip in the coefficients becomes a huge move in the answer. Systems like that are called ill-conditioned, and the honest response is to keep more decimal places in the inputs rather than trust a tidy-looking result.

No solution, one solution, or infinitely many: reading the determinant

A 2 by 2 system always lands in one of three cases, and D plus one consistency check separates all of them. The calculator runs that check for you and names the case in the result badge.

CaseTestExampleVerdict
One solutionD ≠ 0x + y = 10, 2x − y = 5x = 5, y = 5
No solutionD = 0 and the equations are not multiplesx + y = 5, 2x + 2y = 8Parallel lines
Infinitely manyD = 0 and one equation is a multiple of the otherx + y = 5, 2x + 2y = 10Same line twice

The multiple test compares the constants as well as the coefficients: x + y = 5 doubled is 2x + 2y = 10, so the second row must double c as well as a and b. If only the left sides are multiples, as in 2x + 2y = 8 against x + y = 5, the lines share a direction but sit in different places, which is the parallel case. One degenerate input deserves a plain warning: an equation such as 0x + 0y = 5 can never be true, so any system containing it has no solution, even if the other row is also all zeros. This calculator reports that case as no solution rather than dressing it up as a line.

Getting your equations into ax + by = c form

The solver only reads the six coefficients, so any rearranging happens before you type. Three patterns cover nearly every textbook and homework system.

As writtenIn ax + by = c formEnter
3x − 7 = 2y3x − 2y = 7a = 3, b = −2, c = 7
x + 5 = 2y1x − 2y = −5a = 1, b = −2, c = −5
y = 3x + 4 paired with 2x + y = 9−3x + 1y = 4a = −3, b = 1, c = 4

Fractions are fine as coefficients: enter 0.5 for one half, or clear the fractions first by multiplying the whole equation by the common denominator, which changes nothing about the solution. Decimals are also fine directly. What the tool cannot read is an equation typed as text, so the six boxes always need numbers. Introductory treatments such as OpenStax College Algebra’s chapter on systems of linear equations in two variables drill this rearranging step before any solving method, because it is where most errors enter.

Where two-equation systems actually show up

A two-equation system is the smallest model that captures two constraints pulling on the same two quantities. The same six-coefficient shape keeps reappearing under different labels.

Break-even and pricing. A cost line (fixed cost plus per-unit cost) and a revenue line (price times units) cross at the break-even quantity. Writing both as equations in units and dollars and solving gives the crossing directly, with x as units and y as dollars.

Mixtures. Two ingredients with different concentrations, a fixed total volume and a target concentration produce one equation for volume and one for the amount of active ingredient. Ticket pricing, alloy mixing and chemical dilution problems all share this skeleton.

Circuits and equilibrium. Kirchhoff’s laws turn a two-loop circuit into two equations in two currents, and supply and demand curves that are both linear cross at one equilibrium price and quantity. In each case the determinant test still applies: D = 0 in a circuit means the loops were not independent, and in a market it means the curves are parallel and never clear. When the data side grows beyond two exact equations, the problem changes character: fitting one line through many noisy points is regression, handled by the linear regression calculator, and combining whole equations by adding multiples of one to another is the elimination method, built on the idea behind the linear combination calculator.

What competing calculators miss

The rival solvers for this keyword are strong on breadth and weaker on the verdict. The patterns that repeat across the top results:

  • OnlyCalculators and Calculator.now: both extend to 3 by 3 systems and offer Gaussian elimination and fraction output, which this page does not. The trade-off is clutter: size selectors and method menus sit between the reader and a simple 2 by 2 answer, and the zero-determinant result is reported as a failed solve rather than explained as parallel versus coincident geometry.
  • EffortlessMath: adds a graph and slope-intercept forms, a genuine strength for visual learners. Its determinant explanation still stops at the unique-solution case, so a student whose system is parallel gets a label, not the reason.
  • MiniWebTool and eGuruchela: clean Cramer’s rule implementations with condition tables (D non-zero, some Di non-zero, all Di zero). The tables state the rule abstractly; neither walks the reader’s own numbers through the parallel and coincident checks, and neither warns about degenerate rows such as 0x + 0y = 5.
  • MadeCalculators: claims its Cramer’s rule tool returns accurate solutions for non-linear systems. Cramer’s rule is a linear method; it cannot solve non-linear systems, and a page that says otherwise teaches the wrong boundary for the method.
  • The gap this page fills: a focused 2 by 2 solver that shows the determinant first, substitutes your numbers into both Cramer’s divisions, separates parallel from coincident in plain words, handles the impossible-equation edge case honestly, and prints a one-line verdict badge beside the result.

Frequently asked questions

Compute the determinant D = a1b2 − a2b1. If D is not zero, x = (c1b2 − c2b1) ÷ D and y = (a1c2 − a2c1) ÷ D. For x + y = 10 and 2x − y = 5, D = −3 and the solution is x = 5, y = 5.

The two lines do not cross at a single point. Either they are parallel and never meet, which means no solution, or they are the same line written twice, which means infinitely many solutions. This calculator checks the constants as well as the coefficients, so it tells you which of the two cases you have.

Rearrange it first so the x term, y term and constant sit in that order. For example, 3x − 7 = 2y becomes 3x − 2y = 7, so you enter a = 3, b = −2 and c = 7. If a variable is missing, its coefficient is 0.

No. This tool is built for two equations in two unknowns. Three-equation systems need a 3 by 3 determinant or Gaussian elimination, which follows the same determinant idea with one more row and column.

The exact answer is usually a fraction, such as 6 ÷ 5 = 1.2. The calculator shows results rounded to at most 4 decimal places, so 1 ÷ 3 appears as 0.3333. The steps line shows the division it performed, so you can recover the exact fraction from the numbers in it.

That equation can never be true, so the system has no solution, and the calculator says so. An equation with zero coefficients only makes sense when its constant is also 0, in which case it rules out nothing and the other equation decides the answer on its own.

All three methods give the same answer for a 2 by 2 system. Cramer’s rule is the fastest to check by hand because it is three short determinant calculations, while substitution and elimination involve more rearranging steps where sign errors creep in.

Anywhere two linear conditions have to hold at once: break-even points where cost and revenue lines cross, mixture problems that balance two ingredients, supply and demand equilibrium, and circuit problems from Kirchhoff’s laws.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. OpenStax, Rice University. College Algebra 2e: Systems of Linear Equations, Two Variables. Accessed October 22, 2026.
  2. OpenStax, Rice University. College Algebra 2e: Solving Systems with Cramer’s Rule. Accessed October 22, 2026.
  3. Weisstein, Eric W., MathWorld (Wolfram Research). Cramer’s Rule. Accessed October 22, 2026.
  4. MIT OpenCourseWare, Massachusetts Institute of Technology. 18.06 Linear Algebra, Spring 2010. Accessed October 22, 2026.
  5. Dawkins, Paul, Lamar University. Paul’s Online Math Notes: Systems of Equations in Two Variables. Accessed October 22, 2026.

Related calculators

Algebra CalculatorsMissing Variable Calculator: Solve Any Formula FastPick a formula, tell the tool which value you are missing, and enter the values you know.Algebra CalculatorsZero CalculatorThis Zero Calculator finds the zeros of a polynomial: the values of x that make the equation equal to zero, also called roots or x-intercepts.Algebra CalculatorsGraph Inequalities CalculatorGraphing an inequality means turning a statement such as y > x into a picture: a boundary line on a coordinate plane with every point that satisfies the inequality shaded on one side.Algebra CalculatorsRadical CalculatorA radical like √72 or ∛250 is exact but hard to read, while its decimal (8.485 or 6.300) is readable but rounded.Algebra Calculators Indicated Variable Calculator An indicated variable is the letter an equation is solved for: in 2x + 5 = 15, x is indicated, and the answer is 5.Algebra CalculatorsThree Step Linear Equations CalculatorA three-step linear equation is a single equation with one variable, like 2(x + 3) = 18, that takes three moves to crack: clear the parentheses, move the numbers, then divide.

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search