Calculate slope (rise/run) from two points. Find angle of inclination, parallel and perpendicular slopes, line equations, distance, and midpoint with an interactive graph.
Rise over run is the most intuitive way to understand slope. Given two points on a line, the "rise" is the vertical change (Δy) and the "run" is the horizontal change (Δx). The slope m = rise/run = (y₂ − y₁)/(x₂ − x₁) tells you how steep the line is and whether it goes uphill or downhill.
This calculator goes far beyond just computing the slope. It also finds the angle of inclination, the perpendicular slope, the midpoint, the distance between the points, and writes the line equation in slope-intercept, point-slope, and standard form. An interactive graph visually shows the rise and run as dashed lines, making the concept crystal clear.
Whether you are learning basic algebra, studying coordinate geometry, or need a quick reference for engineering or physics problems involving gradients, this tool provides all the information you need from just two points. Check the example with realistic values before reporting.
Understanding slope is fundamental to algebra, geometry, physics, and engineering. The rise-over-run concept connects to rates of change in calculus, gradients in physics, grades in civil engineering, and pitch in construction. This calculator provides a comprehensive analysis of a line from just two points — saving time and ensuring accuracy.
The interactive graph makes it especially useful for visual learners and teachers who want to demonstrate the concept clearly.
Slope: m = rise/run = (y₂ − y₁)/(x₂ − x₁) Angle: θ = arctan(m) Distance: d = √((x₂−x₁)² + (y₂−y₁)²) Perpendicular slope: m⊥ = −1/m Slope-intercept: y = mx + b, where b = y₁ − mx₁
Result: m = 4/3 ≈ 1.3333
Rise = 6 − 2 = 4, Run = 4 − 1 = 3, so slope = 4/3 ≈ 1.333. The angle of inclination is arctan(4/3) ≈ 53.13°. The line equation is y = 1.333x + 0.667.
Slope is not just an abstract math concept. Road grades are expressed as percentages: a 6% grade means a rise of 6 feet for every 100 feet of horizontal distance (run). Roof pitch is described as a ratio like 4:12, meaning 4 inches of rise per 12 inches of run. Wheelchair ramps must have a slope no steeper than 1:12 by ADA standards. Understanding rise over run helps you navigate these real-world applications.
Once you know the slope m and a point (x₁, y₁), you can write the line equation in several forms. Slope-intercept form y = mx + b is the most familiar. Point-slope form y − y₁ = m(x − x₁) is useful when you do not know the y-intercept. Standard form Ax + By = C is preferred in many textbook contexts. All three describe the same line and can be converted from one to another.
In calculus, slope generalizes to the derivative. The slope of a line through two points on a curve is the "average rate of change" over that interval. As the two points get closer together, this ratio approaches the instantaneous rate of change — the derivative. Understanding rise over run is therefore the first step toward understanding derivatives and differential calculus.
Rise is the vertical change (Δy = y₂ − y₁) and run is the horizontal change (Δx = x₂ − x₁). Their ratio gives the slope of the line passing through two points.
If run = 0, the two points are vertically aligned and the slope is undefined. The line is vertical, described by x = constant.
The perpendicular slope is the negative reciprocal: m⊥ = −1/m. If the original slope is 2, the perpendicular slope is −1/2.
No. Swapping the two points changes the sign of both rise and run, but their ratio (slope) stays the same.
The angle between the line and the positive x-axis, measured counter-clockwise. It equals arctan(m) and ranges from −90° to 90°.
Parallel lines have the same slope. If line 1 has slope m, any line parallel to it also has slope m but a different y-intercept.