There are various forms of equation of a line depending upon the description about the lines. This calculator will calculates the slope and equation of the straight line, when its two end points are known.

Following are various form of equation of lines:
1. Equation of a striaght line through the origin with a given gradient m is given by
$y = mx$

2. Slope-intercept Form:
The equation of a straight line whose gradient is m and whose intercept on the y axis is c.
$y = mx + c$

3. Point-slope Form:
The equation of a straight line passing through a given point $(x_{1}, y_{1})$  and having a given gradient m.
$y - y_{1} = m (x - x_{1})$

4. Two-points Form:
The equation of a straight line passing through two given points $(x_{1}, y_{1})$  and  $(x_{2}, y_{2})$.
$y - y_{1} =$ $\frac{y_{1} - y_{2}}{x_{1} - x_{2}}$ $(x - x_{1})$

here $\frac{y_{1} - y_{2}}{x_{1} - x_{2}}$ is the slope of the line

5. Intercept Form:
The equation of a straight line which makes intercepts $' a '$ and $' b '$ on the x- axis and the y- axis respectively.
$\frac{x}{a}$ $+$ $\frac{y}{b}$ $= 1$

6. General equation of line:
$Ax + By = C$
where, A and B both are not equal to zero, and $\frac{-A}{B}$ is the slope of the line.

## How to Find Equation of Line

This calculator finds the equation of line that passes through two given point, therefore we apply only two-points form equation.

Step 1: Observe the given points $(x_{1}, y_{1})$  and  $(x_{2}, y_{2})$.

Step 2: Apply the equation of line which is given by

$y - y_{1} =$ $\frac{y_{1} - y_{2}}{x_{1} - x_{2}}$ $(x - x_{1})$

Step 3: Substitute the given values into the equation and solve the equation and also convert it into standard form $ax + bx = c$

### Distance Formula Calculator

 Equation for a Horizontal Line Equation for a Straight Line Equation for a Tangent Line Equation for a Vertical Line Equation for Regression Line Equation of Parallel and Perpendicular Lines
 Tangent Line Equation Calculator Regression Line Equation Calculator Best Fit Line Calculator Find Perpendicular Line Calculator Find Slope of a Line Calculator Calculator for Geometry
 find the equation of the tangent line calculator tangent line equation calculator equation of tangent line calculator