Linear Equation Calculator

Enter the Linear Equations that you want to solve.

\(\hspace{0.1cm}X\hspace{0.1cm}+\hspace{0.1cm}\) \(\hspace{0.1cm}Y\hspace{0.1cm}=\hspace{0.1cm}\)

\(\hspace{0.1cm}X\hspace{0.1cm}+\hspace{0.1cm}\) \(\hspace{0.1cm}Y\hspace{0.1cm}=\hspace{0.1cm}\)

How To Use Linear Equation Calculator  Hide

Lets first understand, what are linear equations and how we can solve the linear equations?

A linear equation is an equation that may be put in the form


where \(x_1,x_2,\ldots,x_n\) are the variables and \(b,a_1,a_2,\ldots,a_n\) are the coefficients.

To yield a meaningful equation, the coefficients \(a_1,a_2,\ldots,a_n\) are required to not all be zero.

Linear equation in one variable

Frequently the term linear equation refers implicitly to the case of just one variable.

In this case, the equation can be put in the form

$$ax+b=0,\hspace{0.1cm}where\hspace{0.1cm}a \ne 0$$

and it has a unique solution


Linear equation in two variables

In the case of two variables, any linear equation can be put in the form


where the variables are x and y, and the coefficients are a, b and c.

An equivalent equation (that is an equation with exactly the same solutions of the linear equation) in the standard form is


with A = a, B = b and C = -c.

Let the two linear equations be



1. When \(\dfrac{a_1}{a_2}\ne \dfrac{b_1}{b_2}\), we get a unique solution.

2. When \(\dfrac{a_1}{a_2}=\dfrac{b_1}{b_2}\ne \dfrac{c_1}{c_2}\), there is no solution.

2. When \(\dfrac{a_1}{a_2}=\dfrac{b_1}{b_2}=\dfrac{c_1}{c_2}\), there are infinitely many solutions.

Cross multiplication method to solve linear equations


Linear function

If \(b\ne 0\), the equation


is a linear equation in the one variable y for every value of x.

This linear equation has therefore a unique solution for y, which is given by


This defines a function. The graph of this function is a line with slope \(-\dfrac{a}{b}\) and y-intercept \(-\dfrac{c}{b}\).

For solving linear equations using above linear equation calculator, you have to just write the values in the given input boxes and press the calculate button, you will get the result.

Scroll to Top