1. Home
  2. Functions
  3. Math
  4. FACT

FACT function

Returns the factorial of a number (1*2*3*...*number).

Syntax

=FACT(number)

Arguments

ArgumentRequiredDescription
numberRequiredA number zero or greater (decimals are cut off)

How to use FACT

FACT takes 1 required argument. Type =FACT( 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.

=FACT(5)Result 120
=FACT(1.9)Result 1
=FACT(-1)Result #NUM!

Every formula, right in your browser

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