Permutation and Combination Calculator

Count arrangements (permutations) and selections (combinations) of r items from n, with or without repetition.

FreeNo sign-upPrivate — runs in your browser
Combinations nCr (order does not matter)—
Permutations nPr (order matters)—
Combinations with repetition—
Permutations with repetition (nʳ)—
n! (n factorial)—

Working

    How to use the nPr and nCr Calculator

    1. Enter n and rn is how many items there are in total; r is how many you pick.
    2. Decide if order mattersIf ABC and CBA count as different (like a PIN or a race finish), use permutations. If they are the same group (like a lottery ticket or a team), use combinations.
    3. Read the answersAll four counts are shown, with and without repetition, plus n!. Very large results show the exact digits count and a scientific form.

    Example

    Choosing 3 people from 10 for a committee: 10C3 = 120 ways. Awarding gold, silver and bronze to 3 of 10 runners: 10P3 = 720 ways (10 × 9 × 8).

    A 4-digit PIN with digits 0–9 (repetition allowed) has 10⁴ = 10,000 possibilities. Picking 6 lottery numbers from 49 gives 13,983,816 combinations.

    Frequently asked questions

    What is the difference between a permutation and a combination?

    Order. In a permutation, the order matters: AB and BA are different. In a combination it does not: AB and BA are the same group. So there are always at least as many permutations as combinations.

    What are the formulas?

    nPr = n! ÷ (n − r)!. nCr = n! ÷ (r! × (n − r)!). With repetition allowed, permutations = nʳ and combinations = (n + r − 1)! ÷ (r! × (n − 1)!).

    What does “with repetition” mean?

    That the same item can be picked more than once, like digits in a PIN or scoops of the same ice-cream flavour.

    Popular posts from this blog

    Character Counter

    Speech to Text Online

    Keyboard Tester