Home · Math · Algebra · Factorial Calculator
Factorial Calculator
The factorial of a whole number n: the product of all positive integers up to n, written n!.
What this calculator does
The factorial of a whole number n: the product of all positive integers up to n, written n!. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
By convention 0! = 1. Factorials grow extremely fast — 21! already exceeds 5 × 10^19 — and underpin permutations and combinations.
Worked example
With the example inputs this page opens with (number n 10), the result is 3,628,800 — n!. Change any figure and the result updates with the same formula.
Quick reference
| Number n | n! |
|---|---|
| 5 | 120 |
| 8 | 40,320 |
| 10 | 3,628,800 |
| 12.5 | 1,710,542,068 |
| 15 | 1,307,674,368,000 |
| 20 | 2,432,902,008,176,640,000 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Factorial Calculator work?
The factorial of a whole number n: the product of all positive integers up to n, written n!. Number n → n!, (n − 1)!, (n + 1)!. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Factorial Calculator need?
Number n → n!, (n − 1)!, (n + 1)!. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Factorial Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.