Possible Combinations Calculator

Calculate all four types of counting: permutations/combinations with/without repetition. Decision guide, side-by-side comparison, visual size chart, and common examples.

Possible Combinations Calculator

Result
13,983,816
Combinations (no repetition): C(n,r) = n!/(r!(n-r)!)
Order Matters?
No
Only the selection matters
Repetition?
Not allowed
Each item used at most once
P(specific outcome)
7.1511e-8
1 / total
n
49
Pool size / number of types
r
6
Selection size / positions

Decision Guide

Which formula do I need?

  1. Does order matter? (e.g., 1st/2nd/3rd vs just a group)
  2. Can items be repeated? (e.g., PIN digits vs card hands)
No RepetitionWith Repetition
Order MattersP(n,r) = n!/(n−r)!n^r
Order Doesn\'t MatterC(n,r) = n!/(r!(n−r)!)C(n+r−1,r)

All Four Counts Compared

TypeFormulaCountOrdered?Repetition?
Permutations (with repetition)n^r13,841,287,201
Permutations (no repetition)P(n,r) = n!/(n-r)!10,068,347,520
Combinations (with repetition)C(n+r-1,r)25,827,165
Combinations (no repetition)C(n,r) = n!/(r!(n-r)!)13,983,816

Visual: Relative Sizes

Permutations
13,841,287,201
Permutations
10,068,347,520
Combinations
25,827,165
Combinations
13,983,816

Common Examples

ScenarioTypenrCount
Lottery 6/49C(n,r)49613,983,816
4-digit PINn^r10410,000
Poker handC(n,r)5252,598,960
Race podium 3 of 10P(n,r)103720
Ice cream 3 of 5C(n+r-1,r)5335
8-char passwordn^r628218,340,105,584,896
Planning notes, formulas, and examples

About the Possible Combinations Calculator

How many outcomes, arrangements, or selections are possible? The answer depends on two questions: does order matter, and is repetition allowed? Those two choices define the four standard counting formulas in introductory combinatorics.

This calculator brings the four cases together in one place: permutations without repetition, permutations with repetition, combinations without repetition, and combinations with repetition. Enter n (pool size) and r (selection size), then compare the formulas side by side if you are unsure which model fits your problem.

That makes the page useful for lottery odds, password spaces, seating orders, team selection, and quick classroom checks when the main challenge is identifying the right formula before doing the arithmetic.

When This Page Helps

The hardest part of many counting problems is not the calculation itself but recognizing which assumptions apply. Showing all four formulas together makes it easier to spot whether your scenario is really a combination, a permutation, or a with-repetition case before you carry the result into a probability or odds calculation.

How to Use the Inputs

  1. Ask: does order matter? (yes → permutation, no → combination)
  2. Ask: can items repeat? (yes → with repetition, no → without)
  3. Select the appropriate counting type.
  4. Enter n (total items/types) and r (items to choose/positions).
  5. Or click a preset for common scenarios.
  6. Review your result and compare with all four formulas.
  7. Use the decision guide and examples table for reference.
Formula used
Four fundamental counting formulas: Order matters, no repetition: P(n,r) = n!/(n−r)! Order matters, with repetition: n^r Order doesn't matter, no repetition: C(n,r) = n!/(r!(n−r)!) Order doesn't matter, with repetition: C(n+r−1, r) = (n+r−1)!/(r!(n−1)!)

Example Calculation

Result: C(52, 5) = 2,598,960

The number of possible 5-card poker hands from a 52-card deck is C(52,5) = 2,598,960. Order doesn't matter (receiving cards in different order is the same hand) and there's no repetition (each card is unique). For comparison, P(52,5) = 311,875,200 ordered deals and 52^5 = 380,204,032 with replacement.

Tips & Best Practices

  • If you're unsure which formula to use, start with the decision matrix: does order matter? Can items repeat?
  • The four formulas always satisfy: n^r ≥ P(n,r) ≥ C(n,r) and C(n+r−1,r) ≥ C(n,r).
  • P(n,r) = C(n,r) × r! — permutations are combinations times arrangement factor.
  • For passwords and PINs, use n^r (ordered with repetition).
  • For lottery draws, use C(n,r) (unordered without repetition).
  • When in doubt, enumerate a tiny example (n=3, r=2) to verify which formula matches.

The Four Counting Paradigms

Every counting problem in elementary combinatorics falls into one of four categories based on two binary choices: ordered vs unordered, and with vs without repetition. Understanding which paradigm applies is the crucial first step. The decision matrix in this calculator encodes this logic visually.

From Counting to Probability

Probability = favorable outcomes / total outcomes. Each counting formula directly yields the denominator. If you want the probability of a specific event (drawing a royal flush in poker), count favorable outcomes (4) and divide by total outcomes (C(52,5) = 2,598,960), giving P ≈ 1.54 × 10⁻⁶.

Advanced Counting Techniques

Beyond the four basic formulas, advanced counting uses: inclusion-exclusion (for overlapping constraints), the pigeonhole principle (existence proofs), generating functions (for complex recurrences), Burnside's lemma (for symmetry), and bijective proofs (mapping to known counts). These build on the four fundamentals covered here.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Ask two questions: (1) Does order matter? If choosing items A, B and B, A are different, order matters → permutation. (2) Can items be reused? If yes → with repetition. This gives you exactly one of the four formulas.