We use cookies to remember your preferences and, with your consent, to serve personalized ads via Google AdSense and collect anonymous analytics. Learn more
Calculate factorials and permutations/combinations
Formula
Factorial: n! = n × (n−1) × (n−2) × ... × 2 × 1, where 0! = 1
Permutation: P(n, r) = n! / (n−r)! — ordered arrangements of r items from n
Combination: C(n, r) = P(n, r) / r! — unordered selections of r items from n