📐

Combinations Calculator

Math Free Instant Private
Math

### Discrete Mathematics & Combinatorics Formulations Combinatorics analyzes finite discrete structures and count possibilities based on two rules: **Does order matter?** and **Can items be.

Reviewed by Miss Saima · MA Mathematics
Last updated:
Editorial Guidelines

⚙ Input Values

📊 Results

Combinations nCr (Order Does NOT Matter)
2,598,960
Permutations nPr (Order DOES Matter)
311,875,200
Combinations With Repetition CR(n, r)
3,819,816
Permutations With Repetition (n^r)
380,204,032
Total Permutations of All Items (n!)
> 3.04 × 10^64 ... (29 digits)
✦ Discrete Mathematics Diagnostic Summary
Combinatorics Analysis (Poker 5-Card Hand (52 Choose 5)): Combinations nCr (unordered subsets) = 2,598,960. Permutations nPr (ordered sequences) = 311,875,200. With Repetition: Combinations CR(n, r) = 3,819,816, Permutations (n^r) = 380,204,032. Combinatorial Standard: Combinations $\binom{n}{r} = \frac{n!}{r!(n-r)!}$ quantify unique subsets where arrangement order is irrelevant; multiplying by $r!$ yields permutations $nPr = \frac{n!}{(n-r)!}$.
Embed on Your Website

Copy and paste this code into your website.

<iframe src="https://calcusolve.com/calculator/combinations-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Combinations Calculator"></iframe>

📐 Formula

Formula Reference: Combinations Calculator
Input variables:
totalItemsN — Total Number of Items in Set (n)
itemsChosenR — Number of Items Chosen / Sampled (r)
Computed outputs:
combinationsWithoutRepetition — Combinations nCr (Order Does NOT Matter)
permutationsWithoutRepetition — Permutations nPr (Order DOES Matter)
combinationsWithRepetition — Combinations With Repetition CR(n, r)
permutationsWithRepetition — Permutations With Repetition (n^r)
factorialNString — Total Permutations of All Items (n!)
Mathematical relationships extracted from calculation logic:
k = r > n - r ? n - r : r
cr = bigNCR(n + r - 1, r)
nPowR = BigInt(n) ** BigInt(r)
Standard: NIST / ISO mathematical definitions

💡 Practical Example

✅

In a 6/49 national lottery, calculating $\binom{49}{6}$ yields 13,983,816 possible 6-number tickets, showing that a single ticket has exactly a 1 in 13.98 million chance of winning the jackpot.

📖 About Combinations Calculator

Discrete Mathematics & Combinatorics Formulations

Combinatorics analyzes finite discrete structures and count possibilities based on two rules: Does order matter? and Can items be repeated?

  • **
  • Combinations Without Repetition (nCr) — Order DOES NOT Matter**:

nCr = nr = (n!) / (r!(n-r)!)

  • **
  • Permutations Without Repetition (nPr) — Order DOES Matter**:

nPr = (n!) / ((n-r)!) = nCr × r!

  • **
  • Combinations With Repetition (CR) — Multi-Sets / Stars & Bars**:

CR(n, r) = n + r - 1r = (!) / (r!(n - 1)!)

  • **
  • Permutations With Repetition — Codes / Sequences**:

Permutations = n^r

How to Use This Calculator

Enter your Total Number of Items in Set (n) (e.g. 52), Number of Items Chosen / Sampled (r) (e.g. 5), and Combinatorial Case Benchmark — choose from Custom Set (n, r), Poker 5-Card Hand (52 Choose 5 → 2,598,960 Combinations), National Lottery (49 Choose 6 → 13,983,816 Combinations). Results update instantly as you type — adjust any value to compare scenarios.

The Formula

Formula Reference: Combinations Calculator

Input variables:

totalItemsN — Total Number of Items in Set (n)

itemsChosenR — Number of Items Chosen / Sampled (r)

Computed outputs:

combinationsWithoutRepetition — Combinations nCr (Order Does NOT Matter)

permutationsWithoutRepetition — Permutations nPr (Order DOES Matter)

combinationsWithRepetition — Combinations With Repetition CR(n, r)

permutationsWithRepetition — Permutations With Repetition (n^r)

factorialNString — Total Permutations of All Items (n!)

Mathematical relationships extracted from calculation logic:

k = r > n - r ? n - r : r

cr = bigNCR(n + r - 1, r)

nPowR = BigInt(n) BigInt(r)

Standard: NIST / ISO mathematical definitions

Worked Example

In a 6/49 national lottery, calculating 496 yields 13,983,816 possible 6-number tickets, showing that a single ticket has exactly a 1 in 13.98 million chance of winning the jackpot.

Understanding Your Result

Evaluate your result in the context of your specific use case and relevant industry standards or reference values. A single calculated result is a starting point — test two to three scenarios to understand how sensitive the outcome is to your key input assumptions. For high-stakes decisions, verify your result against a secondary source or subject-matter expert before acting.

💡 Mathematical Rigor & Applied Context

  • This calculator applies exact mathematical definitions following conventions established by NIST and international standards bodies.
  • Rounding errors accumulate across multi-step calculations. For precision-critical work, maintain extra significant figures through all intermediate steps.
  • Many mathematical concepts have multiple valid formulations — if a result seems unexpected, verify which convention or definition applies to your context.
  • Dimensional analysis (unit tracking) is the fastest way to catch formula errors. Every term in an equation must have consistent, compatible units.
  • Numerical methods used in digital calculators introduce floating-point precision limits (~15 significant digits for IEEE 754 double precision).
  • For statistical and probabilistic calculations, always specify whether you are working with population parameters or sample statistics — formulas differ.
  • Visualizing a problem geometrically or testing with known boundary values (zero, infinity, negative) reveals hidden errors faster than algebraic checking.
  • When in doubt, validate your result against a simplified hand calculation or a published worked example from a textbook or standards document.

Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.

❓ Frequently Asked Questions

What is the difference between combinations and permutations?

In combinations (nCr), the order of items does not matter (e.g. a fruit salad with apples and bananas is the same as bananas and apples). In permutations (nPr), order matters (e.g. a locker combination 1-2-3 is different from 3-2-1).

What does 'n choose r' mean in mathematics?

'n choose r' is the binomial coefficient nCr that calculates how many distinct subsets of r items can be selected from a larger set of n distinct items without regard to order.

How many 5-card hands are possible from a 52-card deck?

There are 52C5 = 52! / = 2,598,960 unique 5-card poker hands possible from a standard 52-card deck.

What is 0! (zero factorial)?

By mathematical definition, 0! = 1. This ensures consistency in combinatorial formulas like nCn = n! / = 1 (there is exactly 1 way to choose all n items from n).

What is the formula for combinations with repetition?

The formula isCr =! /!), often called the 'stars and bars' method in discrete combinatorics.

Try Other Calculators