SLOPE Function in Excel: How Fast a Trend Rises

⏱ 1 min readUpdated 28 September 2026

StatisticsLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

SLOPE returns the slope of the best-fit straight line — “sales grow by about ₹42,000 a month”.

Syntax

=SLOPE(known_ys, known_xs)
Argument What it means
known_ys The values to explain.
known_xs Usually month numbers or dates.

Examples

Example 1

=SLOPE(C2:C25, A2:A25)

Average monthly change over two years.

INTERCEPT · RSQ · TREND · FORECAST.LINEAR

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong