
Find the rate of change in a linear relationship between two numeric lists.
SLOPE returns the slope of the linear regression line through two sets of data points. In plain language, it tells you how much the Y values change when the X values increase by 1 unit.
This is why SLOPE is often paired with business questions that sound like, "How much more sales do we get for each extra dollar spent?" or "How much do errors drop for each extra hour of training?" It gives you the rate, not just the fact that a relationship exists.
Shows how much Y changes on average for each 1-unit increase in X.
Returns a positive or negative number that represents the rate of change.
=SLOPE(known_y's, known_x's)
The order matters here. Put the dependent values first in known_y's, then put the independent values in known_x's. If you reverse them, the result answers a different question.
| Function | Main use | Best when |
|---|---|---|
SLOPE |
Rate of change | You want to know how much Y changes for each 1-unit change in X. |
CORREL |
Relationship strength | You want to know how strongly two lists move together. |
INTERCEPT |
Starting point | You want the predicted Y value when X is 0. |
FORECAST.LINEAR |
Prediction | You want to estimate a future or missing value from a linear trend. |
SLOPE and CORREL are easy to mix up. CORREL tells you how strongly two lists are related, while SLOPE tells you the size of the change along the fitted line.
This function is useful when a per-unit rate is more important than the raw totals. If the slope is 2.5, that means the fitted line increases by 2.5 units in Y for every 1 unit increase in X. If the slope is negative, Y tends to fall as X rises.
Microsoft notes that text, logical values, and blank cells inside referenced ranges are ignored, while zero values are included. If the known Y and known X ranges are empty or have different numbers of data points, Excel returns #N/A. When the calculation cannot determine a slope, Excel can also return #DIV/0!.
This formula shows how much sales change for each extra unit of spend.
=SLOPE(D1:D3,B1:B3) // Returns the sales change per 1 unit of spend.
Find the slope between sales in B1:B10 and spend in A1:A10. Formula: =SLOPE(B1:B10,A1:A10).
A negative result means the Y values fall as the X values rise.
=SLOPE(D1:D3,B1:B3) // Returns a negative slope when more training lines up with fewer errors.
Find the slope of identical arrays, (10,20) and (10,20). Formula: =SLOPE({10,20},{10,20}).
This is a practical way to summarize how quickly bills rise as the weather gets hotter.
=SLOPE(D1:D3,B1:B3) // Returns the bill increase per degree.
Check how much sales in B1:B3 change for each degree in A1:A3. Formula: =SLOPE(B1:B3,A1:A3).
This example turns a simple trend into a rate you can explain to someone else without showing the full dataset.
=SLOPE(D1:D3,B1:B3) // Returns the user increase per spend unit.
Measure how error counts change as training hours increase. Formula: =SLOPE(B1:B10,A1:A10).
SLOPE returns the rate of change of a linear regression line.Tell your friends about this post