Skip to content
Google Sheets

FACT function in Google Sheets

Returns the factorial of a number.

=FACT(value)

FACT syntax and parameters

One argument, one required.

  • valuenumberRequired

    The number or reference to a number whose factorial will be calculated and returned.

FACT examples

Formulas you'll actually reuse.

  1. Ways to order B2 items — 5! is 120:

    =FACT(B2)

    Result120

  2. Combinations by hand (COMBIN does this directly):

    =FACT(10) / (FACT(3) * FACT(7))

    Result120

FACT in Excel

Same name — your formula ports as-is.

Try FACT in the playground

Edit the example — nothing to install.

Preloaded with the FACT formula from Example 1 — change anything and watch it respond.

Loading the editor…