# Slope Calculator

Find the slope of a line from two coordinates, calculate line equations, and visualize results on an interactive graph instantly.

---

- **Canonical URL:** https://dothecalculation.com/calculators/slope-calculator
- **Category:** Math calculators
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology

---

## Slope Calculator — Find Slope, Angle, and Gradient Instantly

Question: What is the slope between points (1,1) and (2,2)? Answer: Slope (m) = 1, Angle (θ) = 45°. Want to find the slope between two points? You're in the right place.

- Find steepness, angle & gradient
- Step-by-step work shown
- 100% free & instant results

## What is Slope? Understanding the Basics

Slope measures the steepness and direction of a line. Think of it like this: How much does a line go up (rise) compared to how far it goes across (run)?

The standard formula for slope is:

$$m = \frac{y_2 - y_1}{x_2 - x_1}$$

Where:

• \(m\) = slope

• \(y_2 - y_1\) = vertical change (rise)

• \(x_2 - x_1\) = horizontal change (run)

You might also hear slope referred to as gradient, steepness, or incline. All of these terms describe the same thing — how steep a line is.

Using a slope gradient calculator makes this process instant and error-free. Just enter your two points, and you'll get the answer in seconds.

## How to Use This Slope Calculator — Step by Step

Using our steepness calculator is simple. Here's how:

• **Step 1:** Choose your input method: Option A: Enter two points \((x_1, y_1)\) and \((x_2, y_2)\); Option B: Enter one point and the slope value.

• **Step 2:** Click the "Calculate" button.

• **Step 3:** You'll instantly see the slope value (\(m\)), the angle of incline (\(\theta\)) in degrees, and the distance between the two points.

• **Step 4:** Review the step-by-step work shown below the calculator.

That's it! You don't need to remember the formula — our calculator does the math for you, while showing you exactly how it got the answer.

## Slope Gradient Calculator — Understanding Different Values

Your slope value tells you the direction and steepness of the line. Here's what different slope values mean:

• **Positive slope (m > 0):** Line goes up from left to right. *Real-Life Example: Walking uphill on a trail.*

• **Negative slope (m > 0):** Line goes down from left to right. *Real-Life Example: Skiing downhill.*

• **Zero slope (m = 0):** Horizontal line, no steepness. *Real-Life Example: Driving on a flat road.*

• **Undefined slope:** Vertical line (division by zero). *Real-Life Example: Looking up a wall.*

A slope gradient calculator helps you quickly identify which type of slope you're dealing with. Whether you're working with positive, negative, zero, or undefined slopes, you'll get clear, accurate results every time.

## Incline Calculator — Finding the Angle

Want to know the angle of your slope? Our incline calculator converts slope into an angle using this formula:

$$\theta = \arctan(m)$$

For example:

• If your slope \(m = 1\), the angle \(\theta = 45^\circ\)

• If your slope \(m = 0.5\), the angle \(\theta = 26.57^\circ\)

• If your slope \(m = 2\), the angle \(\theta = 63.43^\circ\)

Our slope inclination calculator shows you both the slope value and the angle of incline, so you can see the relationship between the two.

**Real-Life Examples of Incline:**

• **Roof pitch:** A 6/12 roof has a slope of 0.5 and an angle of 26.57°.

• **Wheelchair ramp:** ADA guidelines recommend a max slope of 8.33% (about 4.76°).

• **Hiking trail:** A steep trail might have a 30° incline — that's a challenging climb!

## Slope Grade Calculator — Real-World Applications

A slope grade calculator is especially useful for construction, architecture, and civil engineering. Slope grade is usually expressed as a percentage:

$$\text{Grade (\%)} = \frac{\text{Rise}}{\text{Run}} \times 100$$

**Examples of slope grades:**

• **ADA wheelchair ramp:** Max 8.33% Grade (Rise of 1 foot per 12 feet of run).

• **Highway road:** 5-7% Grade (Easy driving, safe for all vehicles).

• **Mountain road:** 10-15% Grade (Steep — trucks use lower gears).

• **Ski slope (black diamond):** 40%+ Grade (Very steep, expert only).

Using a calculate slope grade tool helps you quickly convert between ratio, percentage, and angle measurements — perfect for builders, architects, and DIY enthusiasts.

## Step-by-Step Example (Complete Walkthrough)

Let's find the slope, angle, and distance between two points: (3,4) and (6,8).

• **Step 1: Identify your coordinates:** \((x_1, y_1) = (3, 4)\) and \((x_2, y_2) = (6, 8)\).

• **Step 2: Apply the slope formula:** \(m = (8 - 4) / (6 - 3) = 4 / 3 \approx 1.33\).

• **Step 3: Calculate the angle of incline:** \(\theta = \arctan(1.33) \approx 53.13^\circ\).

• **Step 4: Calculate the distance between points:** \(d = \sqrt{(6 - 3)^2 + (8 - 4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5\) units.

**Final Answer:** Slope \(m = 4/3 \approx 1.33\), Angle of incline \(\theta = 53.13^\circ\), Distance \(d = 5\) units.

## Practice Problems — Find the Slope

Test your understanding! Find the slope for these point pairs. Answers are below:

1. Find slope between (2, 3) and (5, 7) &rarr; **Answer:** \(m = 4/3\) (positive slope — going up)

2. Find slope between (-1, 2) and (3, -2) &rarr; **Answer:** \(m = -1\) (negative slope — going down)

3. Find slope between (0, 0) and (4, 4) &rarr; **Answer:** \(m = 1\) (positive slope — 45° angle)

4. Find slope between (5, 1) and (5, 8) &rarr; **Answer:** Undefined (vertical line — x-values are the same)

5. Find slope between (2, 6) and (10, 6) &rarr; **Answer:** \(m = 0\) (horizontal line — no steepness)

## Related Calculators You Might Need

Once you've mastered slope calculations, you might find these calculators helpful too:

• [Long Division Calculator](/calculators/long-division-calculator) — Need help with the division part of slope formula? Check our long division calculator for step-by-step help.

• [Fraction Calculator](/calculators/fraction-calculator) — Once you find your slope, you might want to simplify it to lowest terms using our fraction tool.

• [Midpoint Calculator](/calculators/midpoint-calculator) — Working with two points? Find the midpoint between them using our free tool.

• [Slope in Business and Economics](/blog/math/slope-in-business-and-economics-guide) — see this same formula at work as stock beta, variable cost per unit, and demand curve pricing.

• [Regression & Correlation Calculator](/calculators/regression-analysis-calculator) — fit a slope to a larger dataset instead of just two points.

• [Slope Meets Calculus](/blog/math/slope-secant-tangent-derivative-guide) — see how this same slope formula becomes the derivative once you move from a straight line to a curve.

• [Derivative & Limit Solver](/calculators/derivative-solver) — find the exact slope of a curve at any point, plus the tangent line equation.

## Frequently asked questions

### What is a slope calculator?

A slope calculator finds the steepness of a line between two points using the rise over run formula. It also calculates the angle of incline and the distance between points.

### How do you calculate slope step by step?

Subtract y₂ - y₁ (vertical change), subtract x₂ - x₁ (horizontal change), then divide the first by the second. That's your slope!

### What does a slope of 0 mean?

A slope of 0 means the line is perfectly horizontal — no steepness at all. Think of driving on a completely flat road.

### What is an undefined slope?

An undefined slope occurs when x₂ - x₁ = 0 (division by zero). This means the line is perfectly vertical — like looking straight up a wall.

### How is slope used in real life?

Slope is used everywhere — roof pitch, road grades, wheelchair ramps, ski slopes, hiking trails, construction, architecture, and even in economics (supply/demand curves).

### Is this slope calculator free?

Yes! Our slope calculator is completely free with no registration required. Use it as many times as you want.

## Related concepts

- **Slope-Intercept Form** — The standard linear equation y = mx + b representing a line.
- **Distance Formula** — Derived from the Pythagorean theorem to find the straight-line distance between two points.
- **Midpoint** — Find the exact center point between two coordinates using our [Midpoint Calculator](/calculators/midpoint-calculator).

## Related guides

- [How to Calculate Slope Incline: A Complete Guide for Students & Professionals](https://dothecalculation.com/blog/math/how-to-calculate-slope-step-by-step-guide) — Master the slope formula (rise over run), convert between ratio, percentage, decimal, and angle formats, and apply slope incline to roads, ramps, roofs, and drainage with worked examples.
- [How to Find Slope: 3 Methods for Points, Graphs & Equations (Plus the 4 Types of Slope)](https://dothecalculation.com/blog/math/how-to-find-slope-points-graph-equation-guide) — Find the slope of a line three different ways — from two coordinate points, by counting on a graph, or by reading it straight from an equation — and learn to identify positive, negative, zero, and undefined slope on sight.
- [How to Calculate Slope Percentage in Excel and Google Sheets](https://dothecalculation.com/blog/math/slope-percentage-excel-google-sheets-guide) — A dedicated slope calculator is fine for a one-off check, but the moment you have a list of rise/run pairs, survey ratios, or a batch of grade checks to run, a spreadsheet does it faster. Here are the exact formulas — including the one most people misuse.
- [Slope in Business and Economics: How Rise Over Run Drives Real Decisions](https://dothecalculation.com/blog/math/slope-in-business-and-economics-guide) — Slope isn't just algebra homework — it's the beta behind a stock's risk, the variable cost baked into a spreadsheet trendline, and the pitch of a demand curve. See how rise-over-run shows up in business, economics, and Excel, with worked examples and the Excel SLOPE() function.
- [Slope Meets Calculus: Secant Lines, Tangent Lines, and the Derivative Explained](https://dothecalculation.com/blog/math/slope-secant-tangent-derivative-guide) — A straight line has one slope everywhere. A curve doesn't — so how do you find "the slope" of a parabola at a single point? This guide bridges the slope formula you already know into secant lines, tangent lines, the difference quotient, and the derivative, with a fully worked numerical example.

## Related calculators

- [System of Linear & Nonlinear Equations Solver](https://dothecalculation.com/calculators/system-of-equations-calculator) — Solve a system of two linear equations via Cramer’s Rule, or a line-and-parabola nonlinear system via substitution, with clear steps and an intersection graph.
- [Derivative & Limit Solver](https://dothecalculation.com/calculators/derivative-solver) — Compute first and second derivatives of algebraic functions, find limits, and solve tangent line equations with clear steps.
- [Quadratic Equation & Parabola Solver](https://dothecalculation.com/calculators/quadratic-solver) — Solve quadratic equations (ax² + bx + c = 0) with step-by-step discriminant calculations, real or complex roots, and a parabola graph shown instantly.
- [Linear Regression & Correlation Calculator](https://dothecalculation.com/calculators/regression-analysis-calculator) — Perform linear regression analysis, solve slope-intercept equations, and compute Pearson correlation coefficient r instantly.
- [AI Activation Functions & Derivatives Calculator](https://dothecalculation.com/calculators/activation-functions-calculator) — Calculate and visualize neural network activation functions like Sigmoid, ReLU, and Softmax along with their derivatives instantly.
- [Bisection & Newton-Raphson Root Finder](https://dothecalculation.com/calculators/bisection-method-calculator) — Find roots of nonlinear equations using interval bisection and Newton-Raphson iterative methods with this free numerical solver.

---

_This calculator is designed for academic, scientific, and planning purposes. Numerical limits, rounding parameters, or input precision rules should be verified manually before deploying calculations in engineering layouts or peer-reviewed papers._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/slope-calculator). Quote freely with attribution and a link to this page._
