Slope Calculator
מצא את השיפוע, y-חיתוך ומשוואה של הקו דרך שתי נקודות.
תוצאות עדכון כפי שאתה להקליד.
אודות המחשבון הזה
The slope of a line measures its steepness — the rise over the run between two points. This calculator takes two points and returns the slope, the y-intercept, the equation of the line in slope-intercept form, the angle of incline, and the distance between the points, with a plot of the line.
The slope is m = (y₂ − y₁) / (x₂ − x₁), the change in y divided by the change in x. From (0, 0) to (3, 6) that is 6 ÷ 3 = 2, so the line rises two units for every one across. The y-intercept b comes from b = y₁ − m·x₁ (here 0), giving the equation y = 2x, and the angle of incline is arctan(2) ≈ 63.4°. A positive slope rises left to right, a negative slope falls, and a slope of 0 is horizontal. A vertical line has no change in x, so its slope is undefined and its equation is x = constant.
Slope shows up as grade on a road, pitch on a roof, rate of change in a graph, and the coefficient in a linear equation. It is the single number that tells you how fast one quantity changes with another.
שאלות לעתים קרובות
איך מחשבים שיפוע משתי נקודות?
Slope = (y₂ − y₁) / (x₂ − x₁), the change in y divided by the change in x. From (0,0) to (3,6) the slope is 6/3 = 2.
מדוע שיפוע קו אנכי אינו מוגדר?
לקו האנכי אין שינוי ב X, אז נוסחת השיפוע מתחלקת באפס. המשוואה שלו היא x = קבוע במקום Y = mx + b.
מהו החיתוך y?
זה המקום שבו הקו חוצה את ציר y, b ב Y = mx + b, נמצא מb = Y1x1. עבור הקו דרך (0, 0) ו (3, 6) זה 0.
מהי זווית השיפוע?
It is the angle the line makes with the horizontal, equal to the arctangent of the slope. A slope of 2 gives about 63.4°.
מה משמע שיפוע חיובי או שלילי?
שיפוע חיובי עולה משמאל לימין, מדרון שלילי נופל, שיפוע של 0 הוא אופקי, ולקו אנכי יש שיפוע לא מוגדר.
המחשבון מראה גם את המרחק?
כן, יחד עם השיפוע זה נותן את המרחק ישר בין שתי הנקודות שנכנסת אליהן.
API — use this calculator from code
Call this calculator as a free JSON endpoint — no key required. Send the field values below as query parameters or JSON. כל מה שאתה משמיט משתמש באותה ברירת מחדל הדף הזה מלא מראש; פרמטר לא ידוע הוא 400, אף פעם לא אפס שקט. קרא את כל מסמכי API →
נקודת סיום
GET https://calculator.free/api/v1/slope/
curl
curl "https://calculator.free/api/v1/slope/?x1=0&y1=0&x2=3&y2=6"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/slope/?" + new URLSearchParams({
"x1": "0",
"y1": "0",
"x2": "3",
"y2": "6"
}));
const data = await r.json();
console.log(data.results);
התוצאות הן הערכות להדרכה כללית בלבד, לא ייעוץ כספי, רפואי או מס.