1. Home
  2. Functions
  3. Statistical
  4. INTERCEPT

INTERCEPT function

Returns where the best fit straight line crosses the y axis.

Syntax

=INTERCEPT(known_ys, known_xs)

Arguments

ArgumentRequiredDescription
known_ysRequiredThe dependent values
known_xsRequiredThe independent values

How to use INTERCEPT

INTERCEPT takes 2 required arguments. Type =INTERCEPT( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=INTERCEPT({2,3,9,1,8}, {6,5,11,7,5})Result 0.048387097

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.