Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

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.

How to use Factorial Calculator online

  1. Type n. Enter a whole number from 0 to 1000.
  2. Read the factorial. The exact value, or its first digits and length, appears.
  3. See the digits. The number of digits and the trailing zeros are listed.
  4. 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?
It is 1, by convention, which keeps formulas for permutations and combinations consistent.
How many zeros does 100! end with?
It ends with 24 zeros, from 100 ÷ 5 plus 100 ÷ 25.
Why is the factorial used for arrangements?
There are n choices for the first place, n − 1 for the next and so on, which multiplies to n!.
How big can n be?
Up to 1000, and the result is exact.
Can I take the factorial of a fraction?
Not here. The gamma function extends the idea to non-integers, but this page deals with whole numbers.
Does the Factorial Calculator store my numbers?
Your numbers stay on this device. Turn the remember switch off and the Factorial Calculator forgets them.
Can I share a Factorial Calculator result?
Yes. Copy the page link, which holds your numbers, or copy the text of the 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.

More tools in Student & Math →

Search tools