Permutation and Combination Calculator
nPr and nCr with the factorials shown, and the rule for choosing between them.
Factorials with the multiplication written out.
A whole number from 0 to 170.
How many you choose, for the permutation and combination counts.
Factorial Calculator computes n!, the product of every whole number from one up to n, and writes the multiplication out for small values so the definition is visible rather than assumed. Ten factorial is 3,628,800, which is the number of different orders ten things can be arranged in.
Factorials grow faster than any exponential function, and seeing it is the point of the digit count. Ten factorial has seven digits; twenty factorial has nineteen; a hundred factorial has a hundred and fifty-eight. That growth is why so many counting problems become intractable quickly, and why 170 is the last factorial a double-precision number can hold.
Zero factorial is one, which looks like a trick and is not. There is exactly one way to arrange an empty collection, and defining it as one is what makes the formulas for permutations and combinations work at their boundaries. Both of those counts are shown here when you give an r value.
The page shows its working, not just its answer. Where there is a formula it is printed with your own numbers substituted in, so you can check the result rather than take it on trust -- which is the difference between a calculator you can use for something that matters and one you cannot.
Everything runs inside your browser. What you type is never uploaded, never logged and never stored, and the calculator keeps working if your connection drops after the page has loaded.
Looking for something this does not cover? FreeToolsZone.org is more free browser-based tools, organised by job, and it is worth a look if factorial calculator is only part of what you are working on.
The factorial calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:
Because there is exactly one way to arrange nothing, and because it is the value that makes the permutation and combination formulas correct at their limits.
Not with a factorial. The gamma function extends the idea to non-integers, and gives 0.5! as about 0.886, but that is a different function.
171! is larger than the biggest number a double-precision float can represent, so beyond 170 the answer would be infinity rather than a value.
If the factorial calculator is not quite what you need, these other free tools solve closely related problems, and there are 25 more in math calculators.
nPr and nCr with the factorials shown, and the rule for choosing between them.
Probability of events happening together, either one, or not at all.
Binomial probabilities, exact and cumulative.
Powers, including negative and fractional exponents.
Evaluate full expressions with trigonometry, logarithms, powers and constants.
Checked and rebuilt on 2026-10-14. The method this calculator uses is described in the section above, and corrections go through the contact page.