At a Glance
- Category
- Probability
- Best For
- Students and puzzle or card-game enthusiasts counting arrangements
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Computes the number of ordered and unordered selections of r objects from n.
Probability students, teachers and game designers.
Counting hands, committees, passwords or seating orders.
Counting problems explode quickly; the formulas give exact answers.
Key Features & Capabilities
Permutations and combinations
Ordered and unordered counts together.
Factorial
n! for n up to 20 shown exactly.
Input checks
Rejects invalid inputs unless n ≥ r ≥ 0.
How to Use This Tool
Enter n
Type the total number of objects. Tip: Use a whole number.
Enter r
Type how many you choose. Tip: r cannot exceed n.
Decide on order
Use permutations if order matters and combinations if it does not. Tip: Hands of cards use combinations.
Read the counts
Large results are shown in full. Tip: Compare nPr and nCr: nPr = nCr × r!.
Worked Real-World Example
A five-card poker hand
How many five-card hands can be dealt from a standard 52-card deck, and how many ordered deals are there?
How It Works (Math & Calculation Logic)
nPr = n! ÷ (n − r)!. nCr = n! ÷ (r!(n − r)!). n and r are rounded down to whole numbers. n! is shown for n up to 20.
How to Interpret Your Results
Counts grow very fast: 52 choose 5 is about 2.6 million; 52 choose 26 is over 4 × 10^14.
nCr = nC(n − r).
Pick permutations only when the order of selection matters.
Frequently Asked Questions
What is the difference between a permutation and a combination?
How many 5-card poker hands are there?
What is nCr?
What if r is larger than n?
Where can I read more about factorials?
Complementary QuickForma Utilities
Probability Calculator
Calculate single-event, joint intersection P(A and B), union P(A or B), and complement probabilities.
Binomial Probability Calculator
Calculate exact probability P(X = k), at least P(X >= k), and at most P(X <= k) for Binomial distributions.
Confidence Interval Calculator
Calculate margin of error E = Z * (sigma / sqrt(n)) and lower/upper bounds for confidence intervals.
Hypothesis Test Calculator
Calculate test statistic Z = (xbar - mu) / (s / sqrt(n)), two-tailed p-value, and significance decision.
Prime Factorization Calculator
Breaks a whole number into its prime factors in exponent form and lists all of its divisors.
Simple Linear Regression & R² Line of Best Fit
Calculates regression line equation ŷ = β₀ + β₁ x, correlation r, and coefficient of determination R².
Sample & Population Standard Deviation Solver
Solves sample (s) and population (σ) standard deviation with variance steps.
Factorial n! & Permutation Formula Solver
Online client-side Factorial n! & Permutation Formula Solver tool.
Poisson Event Probability & Rate Solver
Online client-side Poisson Event Probability & Rate Solver tool.
Bayesian Conditional Probability & Prior Solver
Online client-side Bayesian Conditional Probability & Prior Solver tool.