Permutation and Combination Calculator
Calculate permutations and combinations, with and without repetition, for probability and counting problems.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Permutation and Combination Calculator does
Use this permutation and combination calculator to calculate permutations and combinations, with and without repetition, for probability and counting problems. Fill in all 2 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for calculating lottery odds. There are more free online tools on FreeToolStation.org.
How to use it
- Enter the total number of items and how many you are choosing.
- Use combinations when order does not matter, permutations when it does.
- The repetition rows apply when an item can be chosen more than once.
- The odds row expresses the combination count as a probability.
When to use it
- Calculating lottery odds.
- Counting possible passwords or PINs of a given length.
- Working out how many teams can be formed from a group.
Common mistakes to avoid
- Using permutations for a lottery — the draw order does not matter, so combinations are correct.
- Forgetting repetition when characters can repeat, as in most password problems.
Frequently asked questions
Lottery odds: which figure do I use?
Combinations without repetition. For a 6-from-49 draw that is 13,983,816 possible tickets, so one ticket has a 1 in 13,983,816 chance of matching all six.
How many 4-digit PINs are there?
10,000. Digits can repeat and order matters, so it is permutations with repetition: 10⁴. Set n to 10 and r to 4 to see it.