Slope Calculator

Slope Calculator Easily calculate the slope, grade, and angle of any line
whether you’re working with two points,
a rise/run ratio, or a full slope equation. Perfect for students, engineers, and architects.

Slope Calculator – Multiple Modes

Formulas: m = (y₂−y₁)/(x₂−x₁) • grade% = m×100 • angle (deg) = arctan(m)×180/π • line: y = m x + b, where b = y₁ − m x₁.

📏 Slope Calculator – Find Line, Grade, and Angle Instantly

The Slope Calculator lets you calculate the incline or decline of a line in seconds.
It supports three main modes:

  • Two Points – Calculate slope, angle, and distance using (x₁, y₁) and (x₂, y₂).
  • Point + Slope – Find the full line equation given a point and slope.
  • Rise / Run / Grade – Determine percent slope, ratio (1:100), and degree angle.

Output values include slope (m), grade (%), angle (°), and run distance.
Ideal for students, architects, and construction engineers who need fast, accurate results.

🧮 How to Calculate Slope – Formula & Concept

Use this quick guide (perfect for a slope formula calculator or slope equation calculator) to find line slope, percent grade, and angle. The core definition of slope m is the rise over run between two points.

m = (y₂ − y₁) / (x₂ − x₁)
  • Grade (%) = m × 100
  • Angle (°) = arctan(m) × (180/π)

Example (also used in slope intercept form): If points are (2, 3) and (10, 7) then m = (7−3)/(10−2) = 4/8 = 0.5 → Grade = 50% → Angle ≈ 26.565° and the line is y = 0.5x + 2.

⚙️ Slope Calculator Modes – Multiple Input Options

The Slope Calculator includes three calculation modes to handle every use case — from basic line equations to advanced slope grade calculations and rise/run conversions. Each mode offers a unique way to compute slope, angle, and distance depending on your input type.

  • 1. Two Points Mode: Enter (x₁, y₁) and (x₂, y₂) to calculate the slope m, percent grade, and angle between two coordinates. Perfect for geometry and line graph problems.
  • 2. Point + Slope Mode: Input one point and a known slope value to instantly find the full line equation y = mx + b.
  • 3. Rise / Run / Grade Mode: Calculate slope using physical measurements such as “rise over run” (e.g., 1:100 ratio or 25% grade). This mode is ideal for engineering and construction fields.

Whether you need a slope grade calculator, rise run slope calculator, or 1:100 slope calculator — this tool adapts automatically to give precise mathematical and geometric results.

🏗️ Slope Calculator for Architecture and Construction

The Slope Calculator is an essential tool for architects, engineers, and builders. It ensures precision in design slopes, helping you maintain safety, drainage, and aesthetic balance in every project. Whether you need a slope calculator for construction, a roof slope calculator, or a pipe slope calculator — this tool delivers accurate measurements instantly.

  • Roof Slope: Calculate roof pitch or rise-over-run to ensure proper water drainage and visual symmetry.
  • Pipe Flow: Determine the minimum slope required for effective gravity flow and prevent water stagnation.
  • Floor & Pathway Grading: Design walkways, ramps, and floors with accurate slope ratios for accessibility and safety compliance.

💡 Example: A 2% slope means the surface rises 2 cm for every 100 cm of horizontal run — ideal for gentle drainage systems or smooth ramps.

📐 Slope Intercept & Point Slope Form

The Slope Calculator automatically derives both Slope Intercept Form and Point Slope Form equations, allowing you to understand a line’s geometry instantly — perfect for students, engineers, or math enthusiasts.

Slope Intercept Form: y = mx + b
Point Slope Form: y − y₁ = m(x − x₁)

In Slope Intercept Form, m represents the slope and b is the y-intercept — the point where the line crosses the y-axis. Meanwhile, Point Slope Form defines a line using any known point (x₁, y₁) and its slope. The Slope Intercept Form Calculator and Point Slope Form Calculator within this tool instantly display both results side by side for easy comparison.

❓ Slope Calculator – Frequently Asked Questions

1. What is the slope formula?
The slope formula is m = (y₂ − y₁) / (x₂ − x₁). It measures how steep a line is between two points.

2. How do I calculate percent slope?
To find percent slope, multiply the slope by 100. For example, a slope of 0.05 equals a 5% grade.

3. What’s the difference between slope and grade?
Slope is the ratio of rise to run, while grade expresses that slope as a percentage — commonly used in engineering and road design.

4. Can I calculate slope for roofs or pipes?
Yes! This free slope calculator works for roof angles, pipe gradients, and land grading projects. Simply enter the rise and run or two points to get accurate results.

5. Is this Slope Calculator free to use?
Absolutely. Our percent slope calculator and slope grade calculator are 100% free, offering instant, accurate results with no sign-up required.


Pro Tips – Master Each Mode

  • Point + Slope Mode: Choose the m input type between Slope (m), Grade (%), or Angle (deg). The calculator instantly converts all values and displays the full line equation y = m x + b with the intercept b computed precisely.
  • Rise / Run / Grade Mode: Enter any two values (e.g., Rise & Run or Grade % & Run) — the tool automatically derives the rest. Example: Rise = 3, Run = 12Grade = 25 %, Angle ≈ 14.036 °.
  • Quick Cross-Check: For a 25 % grade, expect Angle ≈ 14.036 ° and m = 0.25 — matching tan (θ) for full consistency.

Conclusion + Next Steps

Whether you’re calculating a line from two points, using a known slope, or working with grade and angle values for roofs or pipes — the Slope Calculator provides instant, consistent outputs (m, %, °, and line equation) in a single click.

Explore more free engineering and geometry tools at PixelsCalculator to streamline your daily workflow.


← Back to PixelsCalculator Home

*This free Slope Calculator is provided for educational and engineering reference purposes.

For more detailed engineering standards and slope design references, visit the
the official NIST Guidelines.