Factorial Calculator
This calculator finds the factorial of a whole number from 0 to 1000 exactly. It shows the number of digits, the trailing zeros and the scientific notation, plus nearby factorials.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Factorial Calculator online
- Type n. Enter a whole number from 0 to 1000.
- Read the factorial. The exact value, or its first digits and length, appears.
- See the digits. The number of digits and the trailing zeros are listed.
- Compare. The table lists nearby factorials.
Why use this free Factorial Calculator
- Exact factorials
- Number of digits
- Trailing zeros
- Scientific notation
- Nearby factorials table
- Share by link
What a factorial is
The factorial of n, written n!, is the product of all whole numbers from 1 to n. So 5! is 5 × 4 × 3 × 2 × 1 = 120. By convention 0! is 1. Factorials count the ways to arrange n different items in a row, and they appear throughout probability and algebra.
Exact answers
Factorials grow very fast: 20! is already about 2.4 quintillion, beyond what ordinary calculators show exactly. This page uses whole-number arithmetic of any size, so every digit is right, even for 1000!, which has over 2500 digits.
A worked example
The factorial of 20 is 2432902008176640000, which has 19 digits and 4 trailing zeros. The table also lists the factorials of 18, 19, 21 and 22 so you can see how quickly the values grow.
Trailing zeros
The number of zeros at the end of n! is the number of times 5 divides into the factors, since each pair of 2 and 5 gives a 10. It equals the sum of n divided by 5, 25, 125 and so on, rounded down. For 20 that is 4.
Large values
For very long results the page shows the first digits, the number of digits and a scientific form. The tool stops at 1000, because beyond that the result is too long to be useful on a page.
Using the calculator
Change any box of the Factorial Calculator and the answers move straight away. Drag the what-if sliders to see how each number moves the answer.
Factorial Calculator: frequently asked questions
What is 0 factorial?
How many zeros does 100! end with?
Why is the factorial used for arrangements?
How big can n be?
Can I take the factorial of a fraction?
Does the Factorial Calculator store my numbers?
Can I share a Factorial Calculator result?
Related searches for Factorial Calculator
- Factorial Calculator online
- free Factorial Calculator
- Factorial Calculator online free
- Factorial Calculator for mobile
- Factorial Calculator without sign up
- factorial formula
- factorial calculator with table
- Factorial Calculator – Student & Math
Factorial Calculator is a free online tool on MAITBOX, in the Student & Math group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.