Loading…

Factorials Combinations and Permutations

Statistics • Discrete Random Variables and Their Probability Distributions

View all topics

Factorials, Combinations, and Permutations

This calculator matches this flow: define n!, then compute nCx (combinations) and nPx (permutations). Use Enter to calculate. For small values, you can also list the selections to see why order matters.

Combinations ignore order; permutations require order.

Examples include (12 − 4)! and (5 − 5)!.

By definition, 0! = 1.

Ready

Visualization

Choose a mode and calculate to see a live illustration.
Paused

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does n! mean in counting problems?

n! is the product of all positive integers from n down to 1. It counts the number of ways to arrange n distinct items in a line.

How do I calculate combinations nCx?

Combinations count unordered selections without replacement. The formula is nCx = n! / (x! (n - x)!).

How do I calculate permutations nPx?

Permutations count ordered selections without replacement. The formula is nPx = n! / (n - x)!.

Why are permutations usually larger than combinations?

Each combination of x chosen items can be arranged in x! different orders. That is why nPx = nCx x x! when x >= 2.

What is the difference between combinations and permutations?

In combinations, order does not matter, so AB is the same as BA. In permutations, order matters, so AB and BA are counted as different outcomes.