Cellgrids Cellgrids
Home › Excel formulas › Statistical › SLOPE

SLOPE Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

SLOPE is an Excel Statistical function. Returns the slope of a linear regression line.

SLOPE syntax

=SLOPE(known_ys, known_xs)

Arguments

When to use SLOPE

SLOPE is used in data analysis work to summarize or test patterns across a data set.

Practice SLOPE online, free

Open the live Excel-style spreadsheet and try SLOPE yourself. No Excel install or sign-up needed to start.

Practice SLOPE now →

More Statistical functions

Frequently asked questions

What does the SLOPE function do in Excel?

Returns the slope of a linear regression line.

What is the syntax of SLOPE in Excel?

The syntax is =SLOPE(known_ys, known_xs). known_ys: The known y-values; known_xs: The known x-values (optional).

Where can I practice SLOPE online for free?

Open the free live spreadsheet on Cellgrids and try SLOPE yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Statistical functions · Excel case studies · Excel tutorials · Excel shortcuts