Permutation & Combination Calculator — Step-by-Step Solutions
The Permutation & Combination Calculator computes the number of ways to arrange or select items from a set. It calculates permutations (order matters) and combinations (order does not matter) along with factorials.
Enter n (total items) and r (items chosen) to get instant results with step-by-step working. The calculator handles large numbers and shows the formulas used for each calculation.
Your calculations will appear here
How to Use the Permutation & Combination Calculator
- Select the calculation mode: Permutation (nPr), Combination (nCr), or Factorial (n!).
- Enter n, the total number of items in the set.
- Enter r, the number of items being chosen (not needed for factorial mode).
- Review the result along with the step-by-step formula application and intermediate calculations.
Formula and Theory
A permutation counts the number of ways to arrange r items from a set of n items where order matters. The formula is P(n, r) = n! / (n - r)!. For example, arranging 3 people out of 10 into first, second, and third place gives P(10, 3) = 10 * 9 * 8 = 720 distinct arrangements.
A combination counts the number of ways to select r items from a set of n items where order does not matter. The formula is C(n, r) = n! / (r! * (n - r)!). Selecting 3 people out of 10 for a committee (where positions are identical) gives C(10, 3) = 120.
The factorial n! is the product of all positive integers from 1 to n. It grows extremely rapidly: 10! = 3,628,800 and 20! exceeds 2.4 * 10^18. By convention, 0! = 1. Factorials are the building blocks of both permutation and combination formulas.
Worked Examples
Example 1: Permutation: arranging podium finishers
Problem: In a race with 8 runners, how many different ways can gold, silver, and bronze be awarded?
Solution: P(8, 3) = 8! / (8-3)! = 8! / 5! = 8 * 7 * 6 = 336.
Answer: 336 arrangements
Example 2: Combination: forming a committee
Problem: How many ways can you choose 4 members from a club of 15?
Solution: C(15, 4) = 15! / (4! * 11!) = (15 * 14 * 13 * 12) / (4 * 3 * 2 * 1) = 1365.
Answer: 1,365 ways
Example 3: Factorial calculation
Problem: Calculate 7!
Solution: 7! = 7 * 6 * 5 * 4 * 3 * 2 * 1 = 5040.
Answer: 5,040
Example 4: Real-world: lottery odds
Problem: A lottery draws 6 numbers from 49. How many possible combinations exist?
Solution: C(49, 6) = 49! / (6! * 43!) = (49 * 48 * 47 * 46 * 45 * 44) / 720 = 13,983,816.
Answer: 13,983,816 possible combinations
Frequently Asked Questions
What is the difference between a permutation and a combination?
When should I use permutations?
When should I use combinations?
Why is 0! equal to 1?
Can permutations and combinations handle large numbers?
Related Statistics Calculators
Probability Calculator
Calculate probability of events, complements, unions, and intersections. Free online probability calculator for statistics.
Standard Deviation Calculator
Calculate standard deviation, variance, mean, and more for any dataset. Supports population and sample statistics. Free online tool.
Z-Score Calculator
Calculate z-scores, find values from z-scores, and determine probabilities. Free online z-score calculator with bell curve visualisation.
Binomial Calculator
Calculate binomial probabilities, cumulative distributions, and expected values. Free online binomial distribution calculator with bar chart.
Normal Distribution Calculator
Calculate probabilities for normal distributions. Find areas under the bell curve, percentiles, and inverse values. Free online tool.
Correlation Calculator
Calculate Pearson correlation coefficient, R-squared, and regression line. Free online correlation calculator with scatter plot.