Slope Calculator
Calculate slope, gradient, angle, and line equation from two coordinate points. Features interactive graph visualization, step-by-step solutions, and multiple output formats.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (adโfree + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (adโfree)
About Slope Calculator
The Slope Calculator helps you find the slope (gradient) of a line passing through two points. Enter any two coordinate points, and this calculator instantly computes the slope in multiple formats (decimal, fraction, percentage, and angle), generates an interactive graph showing the rise and run, and provides a detailed step-by-step solution.
What is Slope?
Slope (also called gradient) measures the steepness and direction of a line. It represents the rate of change - how much the y-value changes for each unit change in the x-value. Slope is a fundamental concept in algebra, calculus, physics, engineering, and many real-world applications.
The Slope Formula
Where:
- m = slope of the line
- (xโ, yโ) = coordinates of the first point
- (xโ, yโ) = coordinates of the second point
- Rise = vertical change (yโ - yโ)
- Run = horizontal change (xโ - xโ)
Types of Slopes
Understanding slope types helps visualize how a line behaves on a coordinate plane:
How to Use This Calculator
- Enter Point 1: Input the x and y coordinates of your first point (xโ, yโ).
- Enter Point 2: Input the x and y coordinates of your second point (xโ, yโ).
- Set Precision: Choose how many decimal places you want in the results.
- Calculate: Click the calculate button to see the slope and all related values.
- Review Results: Examine the interactive graph, slope in multiple formats, and step-by-step calculation.
Understanding the Results
Slope Formats
- Decimal: The slope as a decimal number (e.g., 0.5, -2.333)
- Fraction: The slope as a simplified fraction (e.g., 1/2, -7/3)
- Percentage: The slope as a percentage grade (slope ร 100)
- Angle: The angle the line makes with the horizontal axis (in degrees)
Line Equations
- Slope-Intercept Form: y = mx + b, where m is slope and b is y-intercept
- Standard Form: Ax + By = C, a common algebraic representation
Additional Calculations
- Distance: The length of the line segment between the two points
- Midpoint: The point exactly halfway between the two input points
- Intercepts: Where the line crosses the x-axis and y-axis
Practical Applications of Slope
Construction and Architecture
Slope is crucial for designing ramps, roofs, and drainage systems. ADA guidelines specify maximum slopes for wheelchair ramps. Roof pitch is measured as rise over run.
Roads and Transportation
Highway grades are expressed as percentages (slope ร 100). A 6% grade means the road rises 6 feet for every 100 feet of horizontal distance.
Economics and Business
The slope of a demand curve shows how price changes affect quantity demanded. Marginal cost and marginal revenue are slopes of cost and revenue functions.
Physics and Engineering
Velocity is the slope of a position-time graph. Acceleration is the slope of a velocity-time graph. Electrical resistance can be found from the slope of a voltage-current graph.
Frequently Asked Questions
What is slope in mathematics?
Slope (also called gradient) is a measure of the steepness of a line. It represents the rate of change between two points, calculated as the ratio of vertical change (rise) to horizontal change (run). The formula is m = (yโ - yโ) / (xโ - xโ), where m is the slope and (xโ, yโ), (xโ, yโ) are two points on the line.
What does a positive slope mean?
A positive slope indicates that the line rises from left to right. As x increases, y also increases. The larger the positive slope value, the steeper the line rises. For example, a slope of 2 means the line rises 2 units for every 1 unit it moves to the right.
What does a negative slope mean?
A negative slope indicates that the line falls from left to right. As x increases, y decreases. The larger the absolute value of a negative slope, the steeper the line falls. For example, a slope of -3 means the line falls 3 units for every 1 unit it moves to the right.
When is slope undefined?
Slope is undefined when the line is vertical, meaning both points have the same x-coordinate. In this case, the run (horizontal change) is zero, and division by zero is undefined. A vertical line has the equation x = constant.
What is zero slope?
Zero slope means the line is horizontal - it neither rises nor falls. Both points have the same y-coordinate, so the rise is zero. A horizontal line has the equation y = constant, and its slope is always 0.
How do I convert slope to angle?
To convert slope to angle, use the arctangent function: angle = arctan(slope). The result is in radians; multiply by (180/ฯ) to get degrees. For example, a slope of 1 corresponds to 45 degrees, because arctan(1) = 45ยฐ.
Related Calculators
- Slope Intercept Form Calculator - Find the equation y = mx + b
- Distance Between Two Points Calculator - Calculate distance using coordinates
- Midpoint Calculator - Find the midpoint between two points
Reference
Reference this content, page, or tool as:
"Slope Calculator" at https://MiniWebtool.com/slope-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Jan 16, 2026
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.
Related MiniWebtools:
Geometry Calculators:
- Arc Length Calculator
- High-Precision Cartesian to Polar Coordinates Converter New
- Circle Calculator
- Distance Between Two Points Calculator
- Ellipse Circumference Calculator
- General Triangle Solver New
- Golden Rectangle Calculator
- Golden Section Calculator
- Hypotenuse Calculator Featured
- Midpoint Calculator
- Polar to Cartesian Converter New
- Pythagorean Theorem Calculator
- Rectangle Calculator
- Slope Calculator
- Slope Intercept Form Calculator
- Square Calculator