
Published: 16 November 2026 ยท Updated: 16 November 2026
Find the slope of a line through two points, with the equation, intercepts, distance and angle of inclination. It starts with (2, 3) and (6, 11): slope 2, equation y = 2x โ 1. Free, no sign-up.
Slope is rise over run. Enter two points and read the slope as a fraction and a decimal, the line's equation, both intercepts, the distance between the points and the line's angle.
Researched by MixKhazana Team · Last updated 16 November 2026 · Data: standard coordinate-geometry formulas; Maths is Fun reference pages
Slope (also called gradient) measures how steep a line is: how much y changes for each unit x changes. A slope of 2 means the line climbs 2 units for every 1 unit it runs; a slope of โ1/2 means it falls 1 unit for every 2 it runs. Slope is the core idea behind linear equations, rates of change, and later calculus.
Find the slope and equation of the line through (2, 3) and (6, 11):
Try it above: the default points give exactly these numbers.
| Slope | Line | Meaning |
| m > 0 | Rising | y grows as x grows |
| m < 0 | Falling | y shrinks as x grows |
| m = 0 | Horizontal | y is constant: y = b |
| Undefined | Vertical | x is constant: x = a |
| |m| large | Steep | y changes fast with x |
Parallel lines have equal slopes: if one line has slope 2, every line parallel to it has slope 2. Perpendicular lines have slopes that are negative reciprocals: if one line has slope m, a line perpendicular to it has slope โ1/m. So a line with slope 2 is perpendicular to a line with slope โ1/2. The exceptions are horizontal and vertical lines, which are perpendicular to each other even though the vertical line has no slope at all.
Slope m = (y2 - y1) / (x2 - x1), the change in y divided by the change in x. It is rise over run: how much the line climbs for each unit it moves right.
Slope 0 means a horizontal line: y never changes, equation y = b. Undefined slope means a vertical line: x never changes, equation x = a, and the slope formula divides by zero, which is undefined.
Put the equation in slope-intercept form y = mx + b. The number multiplying x is the slope. In y = 3x + 2 the slope is 3; in 2x + 4y = 8, rearrange to y = -x/2 + 2, so the slope is -1/2.
Parallel lines have equal slopes. Perpendicular lines have slopes that are negative reciprocals: m and -1/m. A line of slope 2 is perpendicular to a line of slope -1/2.
Yes. Gradient is the usual word in UK and international schools; slope is the usual word in US schools. They mean exactly the same thing: rise over run.
The angle a line makes with the positive x-axis is arctan(slope). A slope of 1 gives 45 degrees, a slope of 0 gives 0 degrees, and a vertical line gives 90 degrees. Steeper lines have larger absolute slopes and larger angles.
Yes, and it often is. A slope of 3/4 means the line rises 3 units for every 4 it runs. This tool shows the slope as a simplified fraction whenever both coordinates are whole numbers.
Disclaimer: a study aid for school and college coordinate geometry. Results are exact for the coordinates entered.
Card photos: Sergey Meshkov / Pexels, Pexels licence ยท Joost J. Bakker / Wikimedia Commons, CC BY 2.0 ยท Lukas Blazek / Pexels, Pexels licence ยท cottonbro studio / Pexels, Pexels licence