How it worksnCr = n! ÷ (r!(n−r)!) when order doesn't matter; nPr = n! ÷ (n−r)! when it does.Frequently asked questions