How to calculate a factorial exactly
Enter a whole number and the tool multiplies every integer from 2 up to it, using BigInt arithmetic so that no precision is lost at any size. The result appears immediately and can be copied with one click.
The reason to use an arbitrary-precision tool rather than a calculator app is that factorials outgrow ordinary number types almost immediately. 19 factorial is already beyond exact representation in a double, and 171 factorial is beyond representation at all.
- Enter a whole number from 0 up to 2,000.
- Read the result, which is exact to the last digit no matter how long it is.
- Use Copy result to put the full value on the clipboard rather than trying to select thousands of digits.
- If you entered a number above 2,000, be aware that it was silently reduced to 2,000.
- For 0 factorial, expect 1: the empty product is defined as 1.