Permutation & Combination Calculator
Calculate nPr (arrangements) and nCr (selections) for combinatorial problems.
Math
Permutation & Combination Calculator
Generated on April 24, 2026
?What is the Permutation & Combination Calculator?
A permutation and combination calculator computes the number of ways to arrange or select r items from a set of n. Permutations (nPr) count ordered arrangements — first, second, third place on a podium — while combinations (nCr) count unordered selections — which 3 people are on a committee. These are the foundational building blocks of probability, combinatorics, and discrete mathematics, and they appear everywhere: lottery odds, card-game probabilities, password strength, statistical sampling, and genetics.
The Formula
Permutations count ordered arrangements: the first spot has n choices, the second has n − 1, and so on for r spots — giving n × (n − 1) × (n − 2) × … × (n − r + 1) = n! / (n − r)!. Combinations divide by r! because we are no longer counting orderings within the chosen group. That is why nCr is always smaller than nPr (except when r = 0 or r = 1, where they are equal).
Practical Examples
Ten sprinters racing for gold, silver, and bronze: 10P3 = 720 ordered outcomes (different medals mean different outcomes).
Picking 3 people out of 10 for a committee: 10C3 = 120 combinations (committee members are unordered).
Lottery drawing 6 numbers from 49: 49C6 = 13,983,816 possible tickets — one reason winning is so unlikely.
A 4-digit PIN with no repeated digits: 10P4 = 5,040 possibilities — stronger than it sounds, but still brute-forceable.
Seating 8 dinner guests in a row: 8P8 = 8! = 40,320 different arrangements.
Poker hand: 5 cards drawn from 52: 52C5 = 2,598,960 possible hands — the denominator for all basic poker probability calculations.
Frequently Asked Questions
Explore More Tools
GPA Calculator
Calculate your Grade Point Average on the 4.0 scale from your courses.
Grade Calculator
Calculate your final grade from weighted categories like tests, homework, and exams.
Student Result Card Calculator
Subject-wise marks, grades, and a printable school result card — ideal for small schools and parents.