---
title: "Slope Calculator: Free Online Tool with Guide &#038; FAQs | ShoutingNow"
description: Calculate the slope, distance, and angle of a line from two points, or find a second point when you know one coordinate, the slope (or angle), and the segment…
url: "https://shoutingnow.com/tools/slope-calculator/"
image: "https://shoutingnow.com/wp-content/uploads/2026/07/shoutingnow-preview-scaled.webp"
---

# Slope Calculator

Calculate the slope, distance, and angle of a line from two points, or find a second point when you know one coordinate, the slope (or angle), and the segment length. The interactive chart updates with your inputs.

## How to use the Slope Calculator

1. Two points known: enter coordinates (x₁, y₁) and (x₂, y₂), then click Calculate. The tool returns slope m, segment length d, and angle of incline θ, with a labeled chart.
2. One point and slope known: switch to the second tab. Enter (x₁, y₁), distance d, and either slope m or angle θ (degrees). The calculator finds the second point along that direction.
3. Read the chart: after calculating, the right panel shows a coordinate diagram with Δx, Δy, distance d, and angle θ matching your values.
4. Save or clear: download a text summary with Save, or reset inputs with Clear to start over.

## What is slope?

**Slope**, or **gradient**, is just how steep a line is. It is the change in height divided by the change in horizontal distance, the classic *rise over run*. Written as **m**, it can come out positive (line climbs left to right), negative (line falls), zero (flat line), or undefined (vertical line).

	x
	y

	(x₁, y₁)
	(x₂, y₂)
	d
	Δx
	Δy
	θ

The relationship between slope and the angle of incline *θ* (measured from the positive x-axis) is:

Where *m* is slope and *θ* is the angle of incline in radians when using the tangent function; this calculator reports *θ* in degrees.

## Distance and angle formulas

Take two points and you get a horizontal change of Δx = x₂ − x₁ and a vertical change of Δy = y₂ − y₁. Those two legs form a right triangle, with the segment connecting the points as the hypotenuse, *d*:

When you know one point, a distance along the line, and slope or angle, the second point is:

Equivalently, with slope *m* and distance *d*: Δx = d / √(1 + m²) and Δy = m · Δx (for non-vertical lines).

## Worked example: two points

Find the slope, distance, and angle for (3, 4) and (6, 8):

- Slope: m = (8 − 4) / (6 − 3) = 4/3 ≈ 1.3333
- Distance: d = √((6−3)² + (8−4)²) = √(9 + 16) = 5
- Angle: θ = tan⁻¹(4/3) ≈ 53.13°

Try these values in the [Slope Calculator](https://shoutingnow.com/tools/slope-calculator/) above to see the chart update.

## Sign and direction of slope

- m > 0: line increases, going upward from left to right.
- m < 0: line decreases, going downward from left to right.
- m = 0: horizontal line (no rise).
- Vertical line: x₂ = x₁; slope is undefined because the denominator is zero.

## Use cases

- Algebra & geometry homework: verify slope-intercept problems and distance-between-points exercises.
- Road and ramp grade: express elevation change as a percent grade (slope × 100) for accessibility and civil engineering sketches.
- Physics vectors: decompose displacement into horizontal and vertical components using Δx, Δy, and θ.
- Data visualization: estimate the trend line steepness between two plotted data points.
- Construction layout: find a stake location a fixed distance along a known grade from a survey point.

## Common mistakes and solutions

- Swapping rise and run: slope is (y₂ − y₁) / (x₂ − x₁), not the reverse. If your answer looks like the reciprocal, check point order.
- Vertical line reported as “infinite slope”: when x₁ = x₂, slope is undefined. Use the angle mode (90°) or recognize a vertical segment.
- Mixing degrees and radians: this tool uses degrees for θ. If you use tan⁻¹ in a calculator, confirm the angle mode.
- Distance vs. coordinate difference: Δx is only the horizontal leg; segment length d is the straight-line distance √(Δx² + Δy²).
- Sign of slope with angle: a negative slope corresponds to an angle in the second or fourth quadrant. The chart uses the actual direction from point 1 to point 2.

## Related tools and guides

- Percentage Calculator: percent change and fraction-of problems
- Percent Off Calculator: stacked discounts and sale math
- Conversion Calculator: length and unit conversions for real-world rise/run
- EZ Grader Calculator: grade percentages for tests and assignments
- How to Calculate Percentage: percentage formulas with examples
- TI-84 Plus Calculator Online: graphing and trig on a student calculator
- Math & Calculators blog category: more tools and study guides

## Frequently Asked Questions

### How do I calculate the slope between two points?
Subtract the y-coordinates and divide by the difference in x-coordinates: m = (y₂ − y₁) / (x₂ − x₁). Enter both points in the **Two Points** tab on the [Slope Calculator](https://shoutingnow.com/tools/slope-calculator/) and click Calculate for slope, distance, and angle.

### What is the formula for slope?
Slope m = (y₂ − y₁) / (x₂ − x₁), also written as rise over run (Δy / Δx). It equals tan(θ) where θ is the angle of incline from the horizontal. Vertical lines have undefined slope because Δx = 0.

### How do I find the distance between two coordinates?
Use the distance formula d = √((x₂ − x₁)² + (y₂ − y₁)²), which comes from the Pythagorean theorem on the right triangle formed by Δx and Δy. The calculator returns *d* automatically when you enter two points.

### How do I find a second point when I know slope and distance?
Switch to **One Point and Slope**, enter (x₁, y₁), distance *d*, and slope *m* or angle *θ*. The tool computes x₂ = x₁ + d·cos(θ) and y₂ = y₁ + d·sin(θ) along the line direction.

### What does a negative slope mean?
A negative slope means the line falls as x increases. It goes downward from left to right. A positive slope rises; zero slope is horizontal. The sign does not affect distance, only direction and steepness.

### What is the angle of incline θ?
θ is the angle between the positive x-axis and the line segment, measured counterclockwise. For slope m, θ = tan⁻¹(m) in degrees. Steeper lines have larger |m| and larger |θ| (up to 90° for vertical).

### Why is slope undefined for a vertical line?
Vertical lines have Δx = 0, so m = Δy / 0 is undefined. You can still find distance d = |y₂ − y₁| and angle θ = 90° (or −90°). Enter different x-coordinates or use the one-point mode with θ = 90°.

### Can I use this for road grade or ramp slope?
Yes. Road grade is often reported as a percent: grade % = m × 100. For example, m = 0.05 is a 5% grade. Enter elevation change as Δy and horizontal run as Δx using consistent units (feet or meters).

### Does the chart show my exact coordinates?
Yes. After you click Calculate, the diagram plots (x₁, y₁) and (x₂, y₂) with labels for Δx, Δy, distance *d*, and angle *θ*, scaled to fit the coordinate range of your inputs.

### Is this slope calculator free and private?
Yes. All calculations run in your browser on ShoutingNow. No account, download, or upload is required. Use **Save** to download a local text copy of your results.

```json
[{"@context":"https://schema.org","@type":"Organization","name":"ShoutingNow","url":"https://shoutingnow.com/","logo":{"@type":"ImageObject","url":"https://shoutingnow.com/wp-content/themes/shoutingnow-theme/assets/images/logo.png"},"sameAs":["https://x.com/makani20","https://www.linkedin.com/in/makani20/","https://post-see.com"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"support@shoutingnow.com","url":"https://shoutingnow.com/contact/"},"slogan":"Learn. Build. Grow."},{"@context":"https://schema.org","@type":"WebPage","name":"Slope Calculator","description":"Calculate the slope, distance, and angle of a line from two points, or find a second point when you know one coordinate, the slope (or angle), and the segment…","url":"https://shoutingnow.com/tools/slope-calculator/","inLanguage":"en-US"},{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Slope Calculator","description":"Calculate the slope, distance, and angle of a line from two points, or find a second point when you know one coordinate, the slope (or angle), and the segment…","applicationCategory":"UtilitiesApplication","operatingSystem":"Web","url":"https://shoutingnow.com/tools/slope-calculator/","isAccessibleForFree":true,"offers":{"@type":"Offer","price":0,"priceCurrency":"USD","availability":"https://schema.org/InStock","url":"https://shoutingnow.com/tools/slope-calculator/"},"provider":{"@type":"Organization","name":"ShoutingNow","url":"https://shoutingnow.com/","logo":{"@type":"ImageObject","url":"https://shoutingnow.com/wp-content/themes/shoutingnow-theme/assets/images/logo.png"},"sameAs":["https://x.com/makani20","https://www.linkedin.com/in/makani20/","https://post-see.com"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"support@shoutingnow.com","url":"https://shoutingnow.com/contact/"}}},{"@context":"https://schema.org","@type":"HowTo","name":"How to use Slope Calculator","description":"Calculate the slope, distance, and angle of a line from two points, or find a second point when you know one coordinate, the slope (or angle), and the segment…","url":"https://shoutingnow.com/tools/slope-calculator/","inLanguage":"en-US","step":[{"@type":"HowToStep","name":"Two points known:","text":"Two points known: enter coordinates (x₁, y₁) and (x₂, y₂), then click Calculate. The tool returns slope m, segment length d, and angle of incline θ, with a labeled chart."},{"@type":"HowToStep","name":"One point and slope known:","text":"One point and slope known: switch to the second tab. Enter (x₁, y₁), distance d, and either slope m or angle θ (degrees). The calculator finds the second point along that direction."},{"@type":"HowToStep","name":"Read the chart:","text":"Read the chart: after calculating, the right panel shows a coordinate diagram with Δx, Δy, distance d, and angle θ matching your values."},{"@type":"HowToStep","name":"Save or clear:","text":"Save or clear: download a text summary with Save, or reset inputs with Clear to start over."}]},{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How do I calculate the slope between two points?","acceptedAnswer":{"@type":"Answer","text":"Subtract the y-coordinates and divide by the difference in x-coordinates: m = (y₂ − y₁) / (x₂ − x₁). Enter both points in the Two Points tab on the Slope Calculator and click Calculate for slope, distance, and angle."}},{"@type":"Question","name":"What is the formula for slope?","acceptedAnswer":{"@type":"Answer","text":"Slope m = (y₂ − y₁) / (x₂ − x₁), also written as rise over run (Δy / Δx). It equals tan(θ) where θ is the angle of incline from the horizontal. Vertical lines have undefined slope because Δx = 0."}},{"@type":"Question","name":"How do I find the distance between two coordinates?","acceptedAnswer":{"@type":"Answer","text":"Use the distance formula d = √((x₂ − x₁)² + (y₂ − y₁)²), which comes from the Pythagorean theorem on the right triangle formed by Δx and Δy. The calculator returns d automatically when you enter two points."}},{"@type":"Question","name":"How do I find a second point when I know slope and distance?","acceptedAnswer":{"@type":"Answer","text":"Switch to One Point and Slope, enter (x₁, y₁), distance d, and slope m or angle θ. The tool computes x₂ = x₁ + d·cos(θ) and y₂ = y₁ + d·sin(θ) along the line direction."}},{"@type":"Question","name":"What does a negative slope mean?","acceptedAnswer":{"@type":"Answer","text":"A negative slope means the line falls as x increases. It goes downward from left to right. A positive slope rises; zero slope is horizontal. The sign does not affect distance, only direction and steepness."}},{"@type":"Question","name":"What is the angle of incline θ?","acceptedAnswer":{"@type":"Answer","text":"θ is the angle between the positive x-axis and the line segment, measured counterclockwise. For slope m, θ = tan⁻¹(m) in degrees. Steeper lines have larger |m| and larger |θ| (up to 90° for vertical)."}},{"@type":"Question","name":"Why is slope undefined for a vertical line?","acceptedAnswer":{"@type":"Answer","text":"Vertical lines have Δx = 0, so m = Δy / 0 is undefined. You can still find distance d = |y₂ − y₁| and angle θ = 90° (or −90°). Enter different x-coordinates or use the one-point mode with θ = 90°."}},{"@type":"Question","name":"Can I use this for road grade or ramp slope?","acceptedAnswer":{"@type":"Answer","text":"Yes. Road grade is often reported as a percent: grade % = m × 100. For example, m = 0.05 is a 5% grade. Enter elevation change as Δy and horizontal run as Δx using consistent units (feet or meters)."}},{"@type":"Question","name":"Does the chart show my exact coordinates?","acceptedAnswer":{"@type":"Answer","text":"Yes. After you click Calculate, the diagram plots (x₁, y₁) and (x₂, y₂) with labels for Δx, Δy, distance d, and angle θ, scaled to fit the coordinate range of your inputs."}},{"@type":"Question","name":"Is this slope calculator free and private?","acceptedAnswer":{"@type":"Answer","text":"Yes. All calculations run in your browser on ShoutingNow. No account, download, or upload is required. Use Save to download a local text copy of your results."}}]},{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"ShoutingNow","item":"https://shoutingnow.com/"},{"@type":"ListItem","position":2,"name":"Tools","item":"https://shoutingnow.com/tools/"},{"@type":"ListItem","position":3,"name":"Slope Calculator","item":"https://shoutingnow.com/tools/slope-calculator/"}]}]
```