Math

Factorial Calculator

Calculate the factorial n! of a whole number.

Your numbers

Your results

n!
n!
—
log₁₀(n!)
—

Factorial Calculator by TheCalcTools

How the Factorial Calculator works

Enter a whole number from 0 to 170.

The calculator multiplies every whole number from 1 up to n.

Beyond 170 the result is too large for standard double-precision numbers.

The formula

n! = n × (n − 1) × … × 2 × 10! = 1

Worked example

Using the default values shown in the calculator:

n10
  1. 10! = 10 × 9 × 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1.
  2. 10! = 3,628,800.

Result:

n!3,628,800
log₁₀(n!)6.5598

Frequently asked questions

Why is 0! equal to 1?

There is exactly one way to arrange zero items: do nothing. It also keeps formulas such as combinations consistent.

Where are factorials used?

In counting arrangements (permutations), combinations, probability and series expansions.

Sources and further reading

More in Math · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.