Slope Calculator 2026 — Calculate Rise Over Run & Line Equations
Calculate the exact slope (m) between two coordinates (x₁, y₁) and (x₂, y₂). Find rise over run, angle of inclination, distance, and equation y = mx + b. Free tool.
What is a Slope Calculator?
A slope calculator measures the steepness, grade, or incline of a line or surface. By analyzing two coordinate points (x₁, y₁) and (x₂, y₂) on a Cartesian plane, it computes the exact rate of change, known mathematically as slope (m) or rise over run. Whether you are solving algebraic equations in school, designing architectural grades, or laying out drainage systems in construction, calculating slope accurately ensures structural integrity, safety, and precision.
Who Uses a Slope Calculator and Why?
Students and Teachers
Algebra, geometry, finding slope between coordinate points, y-intercepts, and graphing linear equations. Students rely on instant verification to check homework problems, while teachers use the step-by-step breakdown to demonstrate mathematical concepts clearly in the classroom.
Civil and Structural Engineers
Designing roads, highways, bridges, and retaining walls, ensuring inclines stay within safe percentage grade limits. Engineers calculate precise gradients to prevent structural shifting, manage drainage runoff, and adhere to civil transit codes.
Construction Workers and Contractors
Roof pitches, framing angles, and drainage slopes for flat roofs. Contractors verify roof pitch ratios (such as 4:12) and grading slopes to ensure rainwater flows away from building foundations and prevents pooling.
Landscapers and Surveyors
Measuring land elevation, grade percentages, and water runoff paths. Surveyors grade terrain for terraced gardens, landscaping projects, and erosion control to ensure optimal property drainage and aesthetic grading.
Accessibility Designers
Verifying wheelchair ramps meet legal standards like the ADA maximum ratio of 1:12. Accessibility compliance experts calculate exact incline ratios and percentages to ensure ramps provide safe, independent mobility for wheelchair users.
How to Use This Slope Calculator
Follow these 3 simple steps to calculate slope, rise over run, and linear equations instantly:
Enter x₁ and y₁
Input your starting coordinate values into the Point 1 fields for X₁ and Y₁.
Enter x₂ and y₂
Input your ending coordinate values into the Point 2 fields for X₂ and Y₂.
Get slope, angle, and equation
View instantaneous results for slope (m), rise over run fraction, angle of inclination, distance, and line equation y = mx + b.
Slope Formula (Rise Over Run)
The slope formula measures the vertical change (rise) divided by the horizontal change (run) between two points on a line. Rise (y₂ − y₁) is the vertical distance moving up or down, while run (x₂ − x₁) is the horizontal distance moving left or right. A positive slope rises from left to right, a negative slope falls, a zero slope is completely flat, and an undefined slope is perfectly vertical.
Real-World Applications of Slope
Slope is vital for safety and engineering across industries. In civil engineering, road slopes and highway banking prevent hydroplaning and manage stormwater runoff. In roofing and construction, proper pitch angles ensure snow and rain drain off buildings without leaking. In accessibility design, wheelchair ramps must adhere to strict incline ratios to guarantee safety and legal compliance.
Frequently Asked Questions (FAQs)
Q1.What does a slope of 0 mean?
A slope of 0 means the line is completely horizontal, with zero vertical change (rise) across any horizontal distance (run). On a graph, the y-value remains constant for all x-values, forming a flat line parallel to the x-axis, representing constant zero rate of change.
Q2.How do you calculate a 2% slope?
A 2% slope means a rise of 2 units for every 100 units of horizontal run. To calculate it, multiply the horizontal distance by 0.02. For example, over a 50-foot run, the vertical elevation change is 50 times 0.02, which equals 1 foot of vertical drop.
Q3.What is the ADA standard slope for a wheelchair ramp?
The Americans with Disabilities Act (ADA) establishes a maximum allowable slope ratio of 1:12 for wheelchair ramps. This means for every 1 inch of vertical rise, the ramp must extend at least 12 inches of horizontal run, ensuring safe and accessible incline steepness for users.
Q4.What is the difference between slope and grade?
Slope and grade measure the exact same steepness but are expressed differently. Slope is typically shown as a ratio, fraction, or decimal (like 0.10), whereas grade is represented as a percentage (like 10%). Both are calculated by dividing vertical rise by horizontal run and multiplying by 100.
Q5.How do you find the y-intercept from two points?
To find the y-intercept (b) from two coordinate points, first calculate the slope (m) using rise over run. Then, substitute the slope and one coordinate point into the slope-intercept equation y = mx + b, and solve algebraically for b by isolating it on one side.
Related Calculators
Explore interconnected coordinate geometry, incline, pitch, and percentage calculators.
Slope Calculator
Calculate slope (m), rise over run fraction, angle of inclination, distance, and line equation y = mx + b.
Launch ToolSlope & Y-Intercept Calculator
Solve for slope (m) and y-intercept (b) in y = mx + b form, point-slope form, and standard form.
Launch ToolRoof Slope Calculator
Convert pitch (X:12) to degrees, grade percentage, and sloped roof area multipliers for construction.
Launch ToolGolf Slope Calculator
Calculate WHS Course Handicap from Handicap Index, Slope Rating, Course Rating, and Par.
Launch ToolDistance Calculator
Find the exact Euclidean distance between two 2D coordinate points (x₁, y₁) and (x₂, y₂).
Launch ToolMidpoint Calculator
Compute the exact midpoint coordinates ((x₁+x₂)/2, (y₁+y₂)/2) between any two points on a plane.
Launch ToolPercentage Calculator
Calculate grade percentages, percentage change, discounts, markups, and ratio conversions.
Launch Tool