# Line Slope Calculator

The concept of a line was originally introduced by Euclid of Alexandria, the Greek mathematician, who defined lines to be “breadthless length”. Lines can be composed of multiple line segments. A line segment is a portion of a line with two fixed endings, that contains every point in between the two.

To determine the slope of a straight line, you can use the slope of a line equation seen in the formula box below.

m = (y2 – y1) / (x2 – x1)

This equation is based around using any two given points on the line. The points are represented in standard x,y graphing format. Alternatively, if you don’t want to calculate this number yourself, you can use the free slope of a straight line calculator at the bottom of this page to help you solve your equation.