Math

Slope Calculator - Rise Run Gradient Formula Online

Calculate slope, distance, angle, and midpoint from two coordinate points. Instant results with step-by-step breakdown.

How to use this calculator

👉 Fill in the boxes below and your answer appears instantly — no maths needed, we do it all for you! 🎉

👶

In plain English — what does this do?

🔢 This tool does the maths for you! Just type in your numbers, and it gives you the answer right away. No need to count on your fingers or use a pen and paper.

📌 Direct Answer & Summary

The slope calculator finds the slope (gradient), distance, angle of inclination, and midpoint between two coordinate points on a Cartesian plane. It applies the standard slope formula m = (y₂−y₁)/(x₂−x₁) along with the distance and midpoint formulas.

What is Slope Calculator - Rise Run Gradient Formula Online?

The slope calculator finds the slope (gradient), distance, angle of inclination, and midpoint between two coordinate points on a Cartesian plane. It applies the standard slope formula m = (y₂−y₁)/(x₂−x₁) along with the distance and midpoint formulas.

How to use it

  1. 1️⃣ Enter the x and y coordinates for the first point (x₁, y₁).
  2. 2️⃣ Enter the x and y coordinates for the second point (x₂, y₂).
  3. 3️⃣ Click Calculate to see all results instantly.
  4. 4️⃣ Results include slope, distance, angle in degrees, and midpoint coordinates.
  5. 5️⃣ A vertical line (x₁ = x₂) will show 'undefined' slope.

Formula

Slope m = (y₂−y₁)/(x₂−x₁). Distance = √((x₂−x₁)²+(y₂−y₁)²). Angle θ = arctan(m) in degrees. Midpoint = ((x₁+x₂)/2, (y₁+y₂)/2).

💡 See it in action — a real example

Points (1, 2) and (4, 6): Slope = (6−2)/(4−1) = 4/3 ≈ 1.333. Distance = √(9+16) = √25 = 5. Angle = arctan(1.333) ≈ 53.1°. Midpoint = (2.5, 4).

❓ Common questions

What does a negative slope mean?
A negative slope means the line goes downward from left to right. As x increases, y decreases. The steeper the negative value, the more steeply it descends.
What is an undefined slope?
A slope is undefined when x₁ = x₂ (a vertical line). Division by zero is undefined. A horizontal line has a slope of exactly 0.
What is the angle of inclination?
The angle of inclination is the angle the line makes with the positive x-axis, measured counterclockwise. It ranges from 0° (horizontal) to just under 90° (steep upward) or between 90° and 180° (downward).
What is the midpoint formula used for?
The midpoint formula finds the exact center between two points. It is used in geometry, computer graphics, and navigation to find average positions.
Can slope be greater than 1?
Yes. A slope greater than 1 means the line rises more than 1 unit vertically for every 1 unit horizontally. There is no upper or lower limit on slope values.
🧩

Embed Slope Calculator - Rise Run Gradient Formula Online

Copy & paste this snippet into your website HTML, blog post, or WordPress site to display this interactive calculator widget:

Widget Attribution Link: allcalcihub.com