# Factorial Operator

The factorial operator is represented using the exclamation mark. The operator is unary, meaning that it only operates on one expression. The operator is useful when calculating combinations and permutations.

The factorial operator is used when calculating combinations and permutations. It is found in the formulas below:

Permutations of Set | Formula

The number of permutations of n distinct items is given by n factorial. A permutation is a unique ordering or arangment of the set of items.

Combination | Formula

The combination formula describes the possible combinations of r elements out of a group of n elements where order does not matter.

Permutation | Formula

The permutation formula describes the possible permutations of r elements out of a group of n elements where order does matter.