- Combinations
- 120
- Permutations
- 720
How it works

Selecting everyone can still involve ordering
Choosing all 5 people gives one combination, but placing those same people in 5 distinct positions gives 120 permutations. Selecting the same membership does not eliminate the different arrangements when position still matters.
Choose a pair or assign two different jobs
- People
- 5
- Positions
- 2

| Selection | Calculation | Count |
|---|---|---|
| A Ordered | 5 × 4 | 20 |
| B Unordered | 5 × 4 ÷ 2 | 10 |
Deciding whether order matters
Choosing 3 people from 5 for an unordered team gives 5! ÷ (3! × 2!) = 10 combinations. Assigning 3 different positions to people from the same group gives 5 × 4 × 3 = 60 permutations, because changing the order changes the assignment. Both calculations assume distinct people and no repeated selection. Decide whether positions matter before choosing the result; the number of outcomes alone does not establish that every outcome is equally likely.
Decide whether rearranging a selection changes the outcome
Choose n distinct available items and r items to select without replacement. A combination counts an unordered selection; a permutation counts an ordered arrangement. Finflo returns both so the distinction remains visible.
If choosing Alice, Ben and Chen is the same team regardless of listing order, use combinations. If those people fill different first, second and third positions, use permutations.
Count teams and ordered positions from five people
Selecting three people from five produces C(5,3)=5!/(3!2!)=10 teams. Assigning three ordered positions produces P(5,3)=5!/2!=60 arrangements. Each three-person team has 3!=6 orderings, explaining why 10×6=60.
| Task | Does order matter? | Count |
|---|---|---|
| A three-person team | No | 10 combinations |
| Three different ranked positions | Yes | 60 permutations |
| Orderings within each selected team | Yes | 3! = 6 |
Check replacement and repeated-item assumptions
These formulas assume that the same item cannot be selected again. If each of three positions can independently use any of five symbols, repetition is allowed and the count is 5³=125 instead. Identical objects also require accounting for repeated arrangements.
Do not use the permutation count for strings with repeated letters without adjusting for multiplicities. The simple n and r interface cannot infer whether two listed choices represent distinct items.
Interpret zero selections and numerical limits
There is one way to select nothing, so both C(n,0) and P(n,0) equal 1. Selecting all n items gives one unordered set but n! ordered arrangements. The selected count r cannot exceed n under the no-replacement model.
Inputs are bounded to keep factorial calculations finite. Large returned counts can exceed the range where every integer is represented exactly by ordinary numerical arithmetic; do not treat the final digit of a huge displayed count as a certified exact combinatorial integer.
Permutations & combinations: formula and assumptions
P(n,r) = n!/(n−r)!; C(n,r) = n!/[r!(n−r)!].
Objects are distinct, sampling is without replacement, and r cannot exceed n.
Worked example
Using the Permutations & combinations example:
- Total objects (n)
- 10
- Selected objects (r)
- 3
P(n,r) = n!/(n−r)!; C(n,r) = n!/[r!(n−r)!].
Example result
Combinations: 120
Permutations: 720
These are illustrative inputs. Change the values to explore a different scenario.
Formula references
References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.
Common questions
When should I use a permutation instead of a combination?
Use permutations when order matters. Use combinations when the same selected objects form one group regardless of their order.
Can the same object be selected more than once?
Not in this model. It assumes distinct objects sampled without replacement, so the selection size cannot exceed the available count.
Why is choosing zero items counted as one possibility?
There is exactly one empty selection. This convention gives C(n,0)=P(n,0)=1.
Why is the permutation count larger?
It distinguishes the r! possible orders within each unordered selection. Thus P(n,r)=C(n,r)×r!.
Does the formula handle identical objects?
The nPr and nCr formulas here treat the n available items as distinct. Arrangements with repeated indistinguishable objects need a different counting formula.
See our methodology and editorial policy.
