Skip to content

Mathematics

Simultaneous equations calculator

Solve ax + by = c and dx + ey = f for x and y. The result shows whether the system has one solution, no solution or infinitely many solutions.

How it worksFAQRelated tools

Content reviewed:

Also available for Germany, in German 

Enter a number as you would write it, for example 1,250, −2.5 or 1e3. Downloads keep your entries and results; nothing is stored or sent.

The result distinguishes a unique solution, no solution and infinitely many solutions, including zero equations. Decimal coefficients are classified exactly within the stated input limit; displayed solutions are approximate. Coefficients: at most six decimal places, absolute value up to 1,000,000. Zero is allowed. Inputs use a decimal point without thousands separators. Results are approximate; standard display uses up to 12 significant digits.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

For ax + by = c and dx + ey = f, a nonzero determinant ae − bd gives a unique solution. Zero requires checking both equations for consistency.

Worked example

x + y = 3 and x − y = 1 give x = 2 and y = 1.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

a
1
b
1
c
3
d
1
e
-1
f
1
Decimal places (0–12)
6

Result

Determinant
-2
x
2
y
1

Frequently asked questions

How do I solve two simultaneous equations?

Enter the coefficients of ax + by = c and dx + ey = f. The simultaneous equations calculator uses D = ae − bd, x = (ce − bf)/D and y = (af − cd)/D.

What is the solution of x + y = 3 and x − y = 1?

The determinant is −2, so the system has exactly one solution: x = 2 and y = 1.

How can I tell if simultaneous equations have no solution?

If the determinant ae − bd is zero, both equations must be checked for consistency. The calculator then reports no solution or infinitely many solutions, using coefficient and augmented ranks.

What happens when there are infinitely many solutions?

For dependent systems, the simultaneous equations calculator shows a parameter family instead of a single pair of values.

Which coefficients can I enter?

Coefficients can have at most six decimal places and an absolute value up to 1,000,000. Zero is allowed. Use a decimal point and no thousands separators, for example −2.5 or 1e3.

Does the calculator show the working steps?

Yes. The linear system analysis shows determinant substitutions for D, Dx and Dy, ranks, the solution type and approximate equation checks, which can be downloaded as TXT or CSV.