System of Equations Solver

This solver finds the values of the unknowns that satisfy a set of simultaneous linear equations, for either two equations in x and y, or three equations in x, y and z. Simultaneous equations turn up whenever two or more conditions must hold at the same time, such as mixing problems, working out two prices from two combined purchases, balancing supply and demand, or finding where lines and planes cross. You choose whether you have a two variable or three variable system, then enter the coefficient of each unknown and the constant on the right hand side of every equation. The calculator solves the system using Cramer's rule, a clean method that expresses each unknown as a ratio of determinants, and shows the value of the main determinant so you can see how the answer was reached. If that main determinant is zero, the equations do not have a single unique solution, meaning they are either inconsistent or describe the same relationship more than once, and the calculator tells you this instead of returning a misleading number. The method gives exact results for well behaved systems and updates the moment you change a coefficient. Enter your equations to see the solution for x, y and any z instantly.

x  +  y  +  z  = 
x  +  y  +  z  = 
x = 1, y = 2
determinant = -5

How it works

The calculator builds the coefficient matrix and works out its determinant. For each unknown it replaces the matching column with the constants, takes that determinant, and divides by the main determinant. This is Cramer's rule. When the main determinant is zero, division is not possible and the system has no unique solution.

Worked example

For 2x plus 3y equals 8 and x minus y equals minus 1, the main determinant is 2 times minus 1 minus 1 times 3, which is minus 5. Solving gives x equals 1 and y equals 2, which satisfies both equations.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.