跳到主內容

斜率計算機

數學計算機

透過兩點計算斜率、截距、距離與中點座標

答案速覽

Slope Calculator: Slope, intercept, distance and midpoint from two points. Slope m = (y₂ − y₁)/(x₂ − x₁) · intercept b = y₁ − m·x₁.

斜率 m

3

y = 3x − 1 · 傾角 71.6°

Δx2
Δy6
兩點距離6.325
坡度300.0% 很陡

平行線斜率

3

垂直線斜率

-0.333

計算過程

  1. 1Δx = x₂ − x₁ = 3 − 1 = 2;Δy = y₂ − y₁ = 8 − 2 = 6
  2. 2m = Δy ÷ Δx = 6 ÷ 2 = 3
  3. 3截距:b = y₁ − m·x₁ = 2 − 3×1 = -1
  4. 4傾角 = arctan(m) = 71.57°
  5. 5d = √(Δx² + Δy²) = 6.325

斜率速查

m傾角含義
00°水平線
1/318.4°緩坡(無障礙坡道 ≤1/12)
145°45° 對角線
√3 ≈ 1.7360°陡坡
不存在90°垂直線

💡 斜率 = 縱差/橫差 = Δy/Δx。正斜率左低右高,負斜率左高右低。公路「坡度 %」= 斜率 × 100——10% 坡度即水平 100 公尺爬升 10 公尺。兩線垂直 ⟺ 斜率互為負倒數(m₁·m₂ = −1)。

這個工具對你有幫助嗎?

怎麼用

  1. Enter values or expressions: type directly into the Slope Calculator — keyboard friendly.
  2. Instant results: everything computes live as you type, no button needed.
  3. Follow the steps: the result panel shows full working and formula substitution.
  4. Copy or recompute: one-click copy; change any input to recalculate instantly.

核心要點

  • 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.

原理與公式

Line through two points

Slope m = (y₂ − y₁)/(x₂ − x₁) · intercept b = y₁ − m·x₁
Distance = √[(x₂−x₁)² + (y₂−y₁)²] · midpoint = average of coordinates
Vertical line (x₁ = x₂): slope undefined; horizontal: m = 0

常見問題

How do I use the Slope Calculator?
Open the page and fill in the input fields — results update automatically. Slope, intercept, distance and midpoint from two points.
Are the results accurate?
Yes. All calculations use standard mathematical formulas and are verified for accuracy.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required — just open and use.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. All calculations run locally in your browser. Nothing is uploaded or stored.

相關工具

相關指南

來源與更新

Standard mathematical formulas. All logic verified. Last updated: 2025-07

最近更新:

本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。

內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.

引用本頁: YiJianSuan. 斜率計算機[EB/OL]. https://www.yijiansuan.com/zh-TW/c/math/slope

本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。