Skip to content
Google Sheets

COMBIN function in Google Sheets

Returns the number of ways to choose some number of objects from a pool of a given size of objects.

=COMBIN(n, k)

COMBIN syntax and parameters

Two arguments, two required.

  • nnumberRequired

    The size of the pool of objects to choose from.

  • knumberRequired

    The number of objects to choose.

COMBIN examples

Formulas you'll actually reuse.

  1. Head-to-head matches among B2 teams:

    =COMBIN(B2, 2)

    Result45

  2. Lottery odds — ways to pick 6 numbers out of 49:

    =COMBIN(49, 6)

    Result13983816

COMBIN in Excel

Same name — your formula ports as-is.

Try COMBIN in the playground

Edit the example — nothing to install.

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

Loading the editor…