Equation of A Line From Two Points Calculator

To calculate the equation of a Line, enter co-ordinates of any two points on the line :

Point 1 :
x-coordinate, x1 = y-coordinate, y1 =

Point 2 :
x-coordinate, x2 = y-coordinate, y2 =

Slope of the Line, m :
Equation of the Line :

The Equation of a Line Calculator is an online tool that shows the slope and equation of a line, for the given input. BYJU’S two-point form calculator makes it simple to find the slope of a line if the coordinates of the two points are given. Let us learn how to use this calculator.

How to Use Equation Of Line From Two Points Calculator?

Step 1: Mention the x-coordinates and y-coordinates of the two points in the respective fields.

Step 2: Click on “Calculate the Equation of a Line” button

Step 3: Slope of the line and equation of the line will be displayed in the output fields

What is Equation of a line in Slope form?

The general equation of a line is given by:

ax+by+c = 0

where a and b are not equal to zero and c is the intercept.

The slope intercept form of equation of line is given by:

y=mx+c

where m is the slope of line and c is the y-intercept

Slope determines the steepness of a given line formed by joining two points in an XY coordinate plane.

The slope of the line when two points are given say, P(x1, y1) and Q(x2, y2), is given by:

Slope, m= (y2-y1)/(x2-x1)

Solved Example

If (0,-1) and (1,2) are coordinates of two points then find the slope and write the equation of the line.

Slope, m = (y2-y1)/(x2-x1)

m = (2-(-1))/(1-0) = 3

Equation of the line: y = mx+c

when x = 0, y = -1

therefore, c = -1

Hence, equation of line will be, y = 3x – 1

Leave a Comment

Your email address will not be published. Required fields are marked *