انتقل إلى المحتوى
CalculatorsFinder
حاسبات الرياضيات

Slope Calculator

Find the slope, line equation, distance, midpoint and angle between two points.

  • نتائج فورية
  • خطوة بخطوة
  • خاص: يعمل داخل متصفحك

أدخل أرقامك

النتيجة

Slope (m)

1.3333333333

Line equation
y = 1.33333333x + 0.66666667
Rise (Δy) and run (Δx)
4 and 3
Distance between points
5
Midpoint
(2.5, 4)
Angle with the x-axis
53.130102°
الحساب خطوة بخطوة
  1. Δy = 6 − 2 = 4
  2. Δx = 4 − 1 = 3
  3. m = Δy ÷ Δx = 1.3333333333

الشرح أدناه متاح بالإنجليزية فقط حاليًا. تعمل الحاسبة نفسها بالطريقة ذاتها في كل اللغات.

حول: Slope Calculator

The slope of a line measures how steeply it rises or falls: the change in y for every one unit change in x. Enter two points and this calculator returns the slope, the line's equation, the distance and midpoint between the points, and the angle the line makes with the x-axis.

Slope appears in algebra, physics (speed on a graph), construction (roof pitch and ramps) and data analysis (rate of change).

الصيغة وكيف تعمل

m = (y₂ − y₁) ÷ (x₂ − x₁)

y = m·x + b, b = y₁ − m·x₁

angle = arctan(m)

A positive slope rises left to right, a negative slope falls, zero is horizontal, and a vertical line (equal x values) has an undefined slope.

مثال محلول

Points (1, 2) and (4, 6)

Rise = 6 − 2 = 4 and run = 4 − 1 = 3, so the slope is 4 ÷ 3 ≈ 1.3333. The line is y = 1.3333x + 0.6667 and the points are 5 units apart.

نصيحة: اضغط “جرّب المثال” في الحاسبة أعلاه لتحميل هذه الأرقام.

فهم نتيجتك

A slope of 2 means y goes up 2 for every 1 step right. A slope of −0.5 means y falls half a unit per step.

Grade (percent slope) is slope × 100, so a slope of 0.08 is an 8% grade.

أخطاء شائعة يجب تجنبها

  • Swapping the order of subtraction for only one of the two differences, which flips the sign.
  • Dividing run by rise instead of rise by run.
  • Forgetting that a vertical line has no defined slope.

الأسئلة الشائعة

How do I find the slope between two points?

Subtract the y values, subtract the x values in the same order and divide: (y₂ − y₁) ÷ (x₂ − x₁).

What is the slope of a horizontal line?

Zero, because y does not change.

What is the slope of a vertical line?

It is undefined, since the run is zero and you cannot divide by zero.