# Combination and Permutation Calculator - C(n,r), P(n,r) and n!

> Free online combination and permutation calculator: exact C(n,r), P(n,r) and n! with big integers, plus repetition variants and the total number of subsets.

- URL: https://qilingtools.com/en/math/combination
- Category: Math Tools (https://qilingtools.com/en/math)
- Tags: [Math](https://qilingtools.com/en/tags/math), [Statistics](https://qilingtools.com/en/tags/statistics)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Compute C(n,r), P(n,r) and n! without running out of digits: results are exact big integers, shown in full alongside scientific notation, with combinations with repetition and the total number of subsets included.

## How to use

1. Choose combinations, permutations or factorial
2. Enter n and r
3. Read the exact value, or copy the scientific-notation form for very long results

## Features

- Exact big-integer arithmetic, no lost digits
- Combinations, permutations and factorials together
- Includes C(n+r-1,r), nʳ and 2ⁿ
- Formula plus a plain-language reading of the result

## FAQ

### What is the difference between a permutation and a combination?

Combinations ignore order (which items you pick), permutations count order too. They are related by P(n,r) = C(n,r) × r!.

### How is C(n,r) computed?

C(n,r) = n! / (r! × (n-r)!), evaluated as a running product with cancellation so intermediate values never blow up.

### How large can n be?

Up to 1000 for combinations and permutations and 2000 for factorials, all computed exactly.

### What is 0! ?

It is 1 by definition, which keeps identities such as C(n,0)=1 consistent.

## Related tools

- [Graphing Calculator](https://qilingtools.com/en/math/graph): Free online function graphing calculator: type sin(x), x^2 or 1/x and see the curve at once, with several functions, parametric and polar curves, PNG export.
- [Scientific Calculator](https://qilingtools.com/en/math/calculator): Free online scientific calculator: type 2*(3+4)^2, sin(pi/6) or log(8,2) and see the answer as you type, with degrees or radians and a history list.
- [Equation Solver](https://qilingtools.com/en/math/equation): Free online equation solver: enter coefficients for linear, quadratic (with discriminant, vertex and complex roots) and cubic equations, plus 2×2 systems.
- [Fraction Calculator](https://qilingtools.com/en/math/fraction): Free online fraction calculator: add, subtract, multiply and divide fractions with automatic reduction, plus fraction ↔ decimal with repeating digits.
- [Percentage Calculator](https://qilingtools.com/en/math/percentage): Free online percentage calculator: X% of Y, X as a percent of Y, increase and decrease, a value after a percentage change and the original behind it.
- [Prime Factorization](https://qilingtools.com/en/math/prime): Free online prime factorization: factor an integer with exponents, list every divisor and their sum, test primality with neighbouring primes, or list a range.
- [GCD and LCM](https://qilingtools.com/en/math/gcd-lcm): Free online GCD and LCM calculator: works with two or more integers, says whether they are coprime, shows each prime factorization and every Euclidean step.
- [Statistics Calculator](https://qilingtools.com/en/math/statistics): Free online statistics calculator: paste a data set for the mean, median, mode, range, quartiles, variance, standard deviation, standard error and outliers.
