Slope Calculator
Math CalculatorsSlope, intercept, distance and midpoint from two points
Slope Calculator: Slope, intercept, distance and midpoint from two points. Slope m = (y₂ − y₁)/(x₂ − x₁) · intercept b = y₁ − m·x₁.
Slope m
3
y = 3x − 1 · angle 71.6°
Parallel slope
3
Perpendicular slope
-0.333
Steps
- 1Δx = x₂ − x₁ = 3 − 1 = 2;Δy = y₂ − y₁ = 8 − 2 = 6
- 2m = Δy ÷ Δx = 6 ÷ 2 = 3
- 3Intercept: b = y₁ − m·x₁ = 2 − 3×1 = -1
- 4Angle = arctan(m) = 71.57°
- 5d = √(Δx² + Δy²) = 6.325
Slope quick reference
| m | Angle | Meaning |
|---|---|---|
| 0 | 0° | Horizontal line |
| 1/3 | 18.4° | Gentle rise (wheelchair ramp ≤ 1/12) |
| 1 | 45° | 45° diagonal |
| √3 ≈ 1.73 | 60° | Steep |
| undefined | 90° | Vertical line |
💡 Slope = rise/run = Δy/Δx. Positive rises left→right, negative falls. Grade % = slope × 100 — a 10% road grade rises 10m per 100m horizontal. Perpendicular slopes are negative reciprocals (m₁·m₂ = −1).
Was this tool helpful?
How to Use
- Enter values or expressions: type directly into the Slope Calculator — keyboard friendly.
- Instant results: everything computes live as you type, no button needed.
- Follow the steps: the result panel shows full working and formula substitution.
- Copy or recompute: one-click copy; change any input to recalculate instantly.
Key Points
- Slope Calculator is a free online math tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Slope, intercept, distance and midpoint from two points.
- Results come with formulas and reference tables so you can verify every number.
Formula & How It Works
Line through two points
FAQ
How do I use the Slope Calculator?
Are the results accurate?
Is it free? Do I need to sign up?
Does it work on mobile?
Is my data saved?
Related Tools
Basic Calculator
Add, subtract, multiply, divide with full keyboard supportHOTScientific Calculator
Trig, log, exponent, factorial · DEG/RAD modesHOTPercentage Calculator
Percent of, percentage share, and percent changeFraction Calculator
Add, subtract, multiply, divide fractions with simplificationHOTNumber Base Converter
Convert between binary, octal, decimal and hexadecimalPermutation & Combination Calculator
Permutations A(n,m) and combinations C(n,m)Random Number Generator
Custom range, integers or decimals, batch generationPrime Number Tools
Primality test, prime factorization and prime listsRelated Guides
Source & Updates
Standard mathematical formulas. All logic verified. Last updated: 2025-07
Last updated:
Formulas and content on this page are reviewed by the YiJianSuan team. For reference only — official sources prevail.
Maintained and periodically reviewed by the YiJianSuan editorial team — review process in ourEditorial Policy.
Cite this page: YiJianSuan. Slope Calculator[EB/OL]. https://www.yijiansuan.com/en/c/math/slope
Results provided by this tool are for reference only and do not constitute professional advice.