Summary: This combination permutation calculator computes nCr, nPr and factorials with live steps, formulas and a chart. It accepts labeled numeric inputs, works offline through file:// and includes source-backed explanations for students, analysts and researchers.

Combination Permutation Calculator

Combination permutation calculator for nCr, nPr, repetition formulas and factorials using BigInt for large exact integers. The calculator works offline, updates instantly and includes a worked example, plain-text formula, MathML, references and structured data.

Default values are loaded. Click any field and edit it; results and chart update automatically.

Default example loadedn=52, r=5. Change any value above to test your own data.
Result: -

Combination Permutation Calculator Quick Reference

Input or settingResult or interpretationUse this when
52 choose 52,598,960counting outcomes
10P3720counting outcomes
0 factorial1counting outcomes

How to Use This Combination Permutation Calculator

  1. Choose one calculator from the dropdown, such as Standard Deviation Calculator or Linear Regression Calculator.
  2. Paste raw data into textarea fields or enter summary statistics in number fields.
  3. Review the headline result, supporting metrics, step-by-step solution and SVG visualization.
  4. Use the example button to compare against a known worked example from the reference table.
  5. Copy the result or export the visible output as CSV or PNG for notes and reports.
  6. Read the interpretation, pitfalls, glossary and references before making research decisions, especially when assumptions or tails affect the answer.

Combination Permutation Calculator Formula

Primary formulaP(n,r)=n!/(n-r)!; C(n,r)=n!/[r!(n-r)!]; with repetition: n^r or C(n+r-1,r)
Plain-English meaning

Permutations count ordered arrangements. Combinations count unordered selections.

Example

n=52, r=5

nCr=2,598,960; nPr=311,875,200

This page uses the shared statistics core for distribution functions, quantiles and exact integer counting where needed. The formula is shown in plain text so screen readers and search engines can parse it reliably.

result=counting arrangements and selections

Combination Permutation Calculator Worked Example

Use Load example in the calculator to reproduce this reference result.

{
  "tool": "Combination Permutation Calculator",
  "input": "n=52, r=5",
  "output": "nCr=2,598,960; nPr=311,875,200",
  "formula": "P(n,r)=n!/(n-r)!; C(n,r)=n!/[r!(n-r)!]; with repetition: n^r or C(n+r-1,r)"
}
CalculatorExample inputExpected output
Combination Permutation Calculatorn=52, r=5nCr=2,598,960; nPr=311,875,200

Interpretation Guide

What does p = 0.03 mean? If the null hypothesis and model assumptions were true, a result at least this extreme would occur about 3% of the time. The American Statistical Association cautions that a p-value alone does not measure effect size, practical importance or the probability that Hâ‚€ is true.3

For most classroom and professional reports, pair the calculator result with the question you are answering. A mean or median summarizes location, but spread explains consistency. A confidence interval estimates plausible values, while a hypothesis test evaluates compatibility with a null model. Regression and correlation describe association, so they should be reported with a chart and residual or outlier review. When a result is statistically significant, still ask whether the effect is large enough to matter in the real setting.

StatisticSmallMediumLargeUse
Cohen's d0.20.50.8t-test effect size
Cramér's V0.10.30.5chi-square association
|r|0.100.300.50correlation strength
R²0.010.090.25variance explained

Pro Tips and Common Pitfalls

Combination Permutation Calculator FAQ

When do I use permutation instead of combination?

Simple rule — does order matter? If yes, it's a permutation. If no, combination. Picking gold, silver, and bronze medallists from 8 runners is a permutation, because finishing first is different from finishing third. Choosing 3 students from 8 to form a study group is a combination, because the group itself is the same regardless of who you pick first. Whenever you see words like "arrange", "sequence", or "rank", reach for nPr. For words like "select", "choose", or "pick", go with nCr.

Does order matter in permutations and combinations?

Yes, that's the whole distinction. In permutations, ABC and BAC are counted as two different outcomes. In combinations, ABC and BAC are the same — they contain the same three letters, just rearranged. So nPr counts arrangements while nCr counts groups. A handy way to remember: combinations are like a salad bowl (mix doesn't matter), permutations are like a recipe (order changes the dish). You'll always get nPr ≥ nCr for the same n and r, because each combination produces r! permutations.

How do I calculate nCr for large numbers?

Don't compute the full factorials — they explode quickly. Instead, use nCr = n! / [r! (n−r)!] and cancel terms first. For C(100, 3), write it as (100 × 99 × 98) / (3 × 2 × 1) = 161700. You only need r terms in the numerator and r! in the denominator. Cancelling early keeps the numbers manageable. Also, nCr = nC(n−r), so C(100, 97) is the same as C(100, 3) — always pick the smaller r to make life easier.

How do I calculate nPr with repetition?

When repetition is allowed, every position can be filled by any of the n items independently, so the count becomes nr — that's n multiplied by itself r times. A 4-character password using 26 lowercase letters allows 264 = 456,976 possibilities. A 4-digit PIN with digits 0–9 gives 104 = 10,000. Without repetition, the formula shrinks to nPr = n!/(n−r)!, because each choice reduces the pool. So for ordered slots with replacement, think of it as r independent decisions, each with n options.

What is the formula for combinations with repetition?

The formula is C(n + r − 1, r), often called the "stars and bars" method. Suppose you're picking 3 scoops of ice cream from 5 flavours and repeats are allowed. That's C(5 + 3 − 1, 3) = C(7, 3) = 35 ways. The trick: imagine 3 stars (your scoops) and 4 bars separating the 5 flavour categories. Counting arrangements of these symbols gives the answer. This applies whenever you're selecting items with replacement and order doesn't matter — like choosing toppings or filling a multi-set.

How many 4 digit PINs can be made with digits 0-9?

It depends on whether you allow repeated digits. With repetition (the usual ATM case), each of the 4 slots has 10 choices, giving 104 = 10,000 possible PINs from 0000 to 9999. Without repetition, you'd use P(10, 4) = 10 × 9 × 8 × 7 = 5,040 — fewer options because once a digit's used, it's off the table. Most real PIN systems allow repeats, which is why people can pick 1111 (and please don't, that's the worst PIN you can choose).

How many ways can I choose a committee from a group?

This is a combination problem because the order in which you pick people doesn't change who's on the committee. A 5-person committee from 12 candidates gives C(12, 5) = 792 possible groups. The formula is C(n, r) = n! / [r!(n−r)!]. If the committee has distinct roles — say chair, secretary, treasurer — then order matters and it becomes a permutation: P(12, 3) = 1,320. So the question to ask first is whether all members are interchangeable or each has a labelled position.

What is the difference between nPr and nCr?

nPr counts ordered arrangements; nCr counts unordered selections. The formulas are nPr = n!/(n−r)! and nCr = n!/[r!(n−r)!]. Notice nCr divides nPr by r! — that extra division removes the duplicate orderings. Picking 2 letters from {A, B, C}: permutations give AB, BA, AC, CA, BC, CB (six outcomes); combinations give just AB, AC, BC (three). So nPr is always larger than or equal to nCr for the same inputs, and they're equal only when r = 0 or r = 1.

Combination Permutation Calculator Glossary

Combination
An unordered selection, such as choosing 5 cards from 52.
Permutation
An ordered arrangement where position matters.
Factorial
The product n times n-1 down to 1, with 0 factorial equal to 1.
Repetition
Whether the same item may be chosen more than once.
nCr
Standard notation for combinations.
nPr
Standard notation for permutations.

References and Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, descriptive statistics, uncertainty and modeling formulas.
  2. OpenStax Introductory Statistics, definitions for inference, probability and summary statistics.
  3. ASA Statement on p-values, Wasserstein and Lazar, 2016.
  4. R stats package documentation, t.test, cor, quantile and distribution conventions.