Permutation and Combination Calculator

Calculate permutations and combinations for probability, statistics, and combinatorial problems. Perfect for students, researchers, and professionals working with discrete mathematics.

Calculator Input

Results

Permutation P(10,3)
720
Without repetition
Combination C(10,3)
120
Without repetition
Ratio (P/C):6
Probability (1/C):0.008333
Scientific Notation:720

Step-by-Step Calculation

P(10,3) = 10! / (10-3)!
P(10,3) = 10! / 7!
P(10,3) = 3.63e+6 / 5,040
P(10,3) = 720
C(10,3) = 10! / (3! × (10-3)!)
C(10,3) = 10! / (3! × 7!)
C(10,3) = 3.63e+6 / (6 × 5,040)
C(10,3) = 120

How to Use

Basic Steps

  1. Select the calculation type (permutation, combination, or both)
  2. Enter the total number of items (n)
  3. Enter the number of items to select (r) if applicable
  4. Choose whether repetition is allowed
  5. View the calculated results instantly

Input Guidelines

  • n must be a non-negative integer (0 ≤ n ≤ 170)
  • r must be less than or equal to n
  • Use quick examples for common scenarios
  • Large numbers may be displayed in scientific notation

Understanding Permutations and Combinations

Permutations

Definition: The number of ways to arrange r items from n total items where order matters.

Formula:

P(n,r) = n! / (n-r)!
With repetition: P(n,r) = n^r

Example: Arranging 3 people from 5 candidates for president, vice-president, and secretary positions.

Combinations

Definition: The number of ways to select r items from n total items where order doesn't matter.

Formula:

C(n,r) = n! / (r! × (n-r)!)
With repetition: C(n,r) = (n+r-1)! / (r! × (n-1)!)

Example: Selecting 3 people from 5 candidates for a committee where roles are equal.

Key Concepts

Factorial (n!)

The product of all positive integers from 1 to n. Used as the foundation for permutation and combination calculations.

Order Matters

Permutations consider order (ABC ≠ BAC), while combinations don't (ABC = BAC = CAB).

Repetition

With repetition allows selecting the same item multiple times. Without repetition means each item can only be selected once.

Example Calculations

Example 1: Lottery Numbers

Problem: How many ways can you choose 6 numbers from 49 for a lottery?

Solution: This is a combination problem (order doesn't matter)

C(49,6) = 49! / (6! × 43!) = 13,983,816

Answer: There are 13,983,816 possible combinations.

Example 2: Race Positions

Problem: In how many ways can 8 runners finish 1st, 2nd, and 3rd?

Solution: This is a permutation problem (order matters)

P(8,3) = 8! / (8-3)! = 8! / 5! = 336

Answer: There are 336 possible arrangements.

Frequently Asked Questions

When should I use permutations vs combinations?

Use permutations when the order of selection matters (like race positions, passwords, or seating arrangements). Use combinations when order doesn't matter (like selecting team members, lottery numbers, or choosing items from a menu).

What's the difference between with and without repetition?

Without repetition means each item can only be selected once (like choosing unique people for a committee). With repetition allows selecting the same item multiple times (like rolling dice or drawing cards with replacement).

Why are there limits on the input values?

Factorial calculations grow extremely quickly. Values above 170 would result in numbers too large for standard computation. For practical problems, these limits are usually sufficient.