Combination Calculator (nCr)
Calculate exact unordered combinations C(n, r) = n! / (r!(n - r)!) using exact BigInt arithmetic.
Privacy Notice: Runs locally in your browser without uploading files to external servers or requiring an account.
Interactive Browser Workspace
Loading the interactive Combination Calculator (nCr) workspace. Enable JavaScript in your browser to run calculations and conversions locally.
How to Use Combination Calculator (nCr)
- Enter total pool size `n` and sample size `r` (`0 <= r <= n <= 1000`).
- Copy the exact full-digit BigInt value of `C(n, r)`.
Methodology & Accuracy
Computes the binomial coefficient iteratively in `BigInt` using `k = min(r, n - r)` to stay fast and exact.
Examples
- Choosing a 5-card hand from a 52-card deck gives `C(52, 5) = 2,598,960`.
Scope & Limitations
- Supports non-negative integers up to `n = 1000`.
Frequently Asked Questions
Why does C(n, r) equal C(n, n - r)?
Choosing `r` items to include is mathematically identical to choosing `n - r` items to leave out.
Related Tools
- Permutation Calculator (nPr) - Calculate exact ordered arrangements P(n, r) = n! / (n - r)! using arbitrary-precision BigInt arithmetic.
- Probability & Binomial Calculator - Compute independent two-event probabilities (P(A and B), P(A or B), complements) plus exact Binomial P(X = k) distributions.
- Scientific Calculator - Evaluate trigonometry, logarithms, exponents, factorials, roots, and parenthesized expressions with DEG/RAD mode and history tape.