# SLOPE

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function calculates the slope of a linear regression.

## Syntax

SLOPE(*array\_dep*,*array\_ind*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *array\_dep* | Array of dependent values (y’s) |
| *array\_ind* | Array of independent values (x’s) |

The arrays must be the same size.

## Data Types

Accepts numeric data for both arguments. Returns numeric data.

## Examples

`SLOPE(A1:A4,B1:B4)`

## Version Available

This function is available in product version 1.0 or later.

## See Also

[SERIESSUM](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsRtoS/FunctionSERIESSUM) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)