Skip to main content
Calkulon

How to Calculate Slope

What is Slope?

The slope of a line measures its steepness — how much y changes for each unit increase in x. Slope is fundamental to coordinate geometry, calculus, statistics (linear regression), and everyday applications like road gradients.

Formula

Slope m = (y₂ − y₁) / (x₂ − x₁)
m
(y₂ − y₁) / (x₂ − x₁) — (y₂ − y₁) / (x₂ − x₁)

Step-by-Step Guide

  1. 1Slope m = (y₂ − y₁) / (x₂ − x₁)
  2. 2Positive slope: line rises from left to right
  3. 3Negative slope: line falls from left to right
  4. 4Zero slope: horizontal line
  5. 5Undefined slope: vertical line (x₁ = x₂)

Worked Examples

Input
Points (0,0) and (3,6)
Result
Slope = 2
(6−0)/(3−0) = 2. For every 1 step right, go 2 up
Input
Points (1,5) and (4,2)
Result
Slope = −1
(2−5)/(4−1) = −3/3 = −1. Line falls at 45°

Frequently Asked Questions

What is Slope Calc?

The slope of a line measures its steepness — how much y changes for each unit increase in x. Slope is fundamental to coordinate geometry, calculus, statistics (linear regression), and everyday applications like road gradients

How accurate is the Slope Calc calculator?

The calculator uses the standard published formula for slope calc. Results are accurate to the precision of the inputs you provide. For financial, medical, or legal decisions, always verify with a qualified professional.

What units does the Slope Calc calculator use?

This calculator works with inches. You can enter values in the units shown — the calculator handles all conversions internally.

What formula does the Slope Calc calculator use?

The core formula is: Slope m = (y₂ − y₁) / (x₂ − x₁). Each step in the calculation is shown so you can verify the result manually.

Ready to calculate? Try the free Slope Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 Calkulon