Add the known points of a line, and this online tool will calculate the slope for you.
Related
Use this Slope Calculator to find the slope (m) or gradient between two points A(x₁, y₁) and B(x₂, y₂) on the Cartesian plane. You can also calculate:
The slope or gradient of a line is a number that describes both the direction and steepness of the line. It is commonly denoted by m and is often referred to as “rise over run.”
.png)
Calculate the slope using the formula:
m = (y₂ - y₁) / (x₂ - x₁) = tan(θ)
Where:
There are four types of slopes based on the relationship between x and y:
| Positive | Negative | Zero | Undefined |
|---|---|---|---|
| Line rises from left to right | Line falls from left to right | Horizontal line (zero rise) | Vertical line (undefined slope) |
Use the formula:
m = (y₂ - y₁) / (x₂ - x₁)
You can also use the line equation forms for quick calculations:
Find the slope, distance, and angle of inclination for points (2, 1) and (4, 7).
Solution:
Slope:
m = (7 - 1) / (4 - 2) = 6 / 2 = 3
Distance Between Points:
d = √((4 - 2)² + (7 - 1)²) = √(4 + 36) = √40
Angle of Inclination:
tan(θ) = (y₂ - y₁) / (x₂ - x₁) = 6 / 2 = 3
θ = arctan(3) ≈ 71.56°
Use the tangent of the angle: m = tan(θ)
This Slope Calculator helps students and professionals quickly determine the slope, distance, and angle between two points, making calculations faster and more accurate.
Related
Links
Home Conversion Calculator About Calculator Online Blog Hire Us Knowledge Base Sitemap Sitemap TwoEmail us at
Contact Us© Copyrights 2026 by Calculator-Online.net