Skip to content
Zesona
Two Variable Equation SolverLocal

Two Variable Equation Solver

Solve a pair of simultaneous linear equations exactly by Cramer's rule, distinguishing no solution from infinitely many.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.

Ready

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Enter both equations in the form ax + by = c.

  2. 2

    The determinant is computed first; Cramer's rule gives the solution when it is non-zero.

Questions about Two Variable Equation Solver

What does a zero determinant mean?

That the two lines are parallel, which splits into two cases the tool tells apart. If the sub-determinants are also zero the equations describe the same line and every point on it is a solution - infinitely many. If not, the lines are parallel and distinct and never meet - no solution. A zero determinant on its own does not say which, so both numerators are checked.

Why is this exact when elimination on a computer usually is not?

Because the arithmetic runs on exact fractions. Floating-point elimination can turn a determinant that should be exactly zero into 1e-16, at which point the system is declared solvable and the "solution" is numerical noise. Here a singular system is detected because its determinant is zero.

Is my data sent anywhere?

No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.

Does the Two Variable Equation Solver work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Two Variable Equation Solver keeps working with the network switched off and nothing is ever sent to a server.

Is anything I enter into the Two Variable Equation Solver uploaded or stored?

No. The Two Variable Equation Solver runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.

Other tools you might reach for next.