Factorial Calculator

Math

Works out the factorial of a number (n!), with its number of digits, trailing zeros and scientific notation.

n! = n × (n - 1) × ... × 2 × 1

5! = 5 × 4 × 3 × 2 × 1 = 120. 10! = 3,628,800.

Factorials grow very fast: 20! is about 2.4 × 10¹⁸, and 52! (the number of ways to order a deck of cards) is about 8 × 10⁶⁷.

The number of trailing zeros equals the number of factors of 5 in n!: 100! ends in 24 zeros.

0! = 1, because there's exactly one way to arrange an empty set.

Results are for information only. For tax, salary, loan or health decisions, check official sources or ask a professional.

All Math tools