Skip to content
Local

Study

Factorial Calculator

Get the exact value of n! for any whole number up to 20,000, with its digit count, trailing zeros and scientific notation.

Runs in your browser. Nothing leaves this device.

Open Factorial Calculator

Free, no account, no watermark and no daily limit.

Open Factorial Calculator

How to use Factorial Calculator

  1. 1Type a whole number n, like 25.
  2. 2Read n! in full, with how many digits it has and how many zeros it ends with.
  3. 3Copy the full number or its scientific notation.

Questions

What is a factorial?

n! is every whole number from 1 to n multiplied together. 5! = 5 × 4 × 3 × 2 × 1 = 120, and 0! is 1 by definition.

Is the answer exact?

Yes. It is worked out with whole-number arithmetic that has no size limit, so every digit is correct, even for 20,000! with 77,338 digits.

How are the trailing zeros counted?

Each zero comes from a 2 × 5 pair. There are always more 2s than 5s, so the count is n/5 + n/25 + n/125 and so on, rounding each down.

Is my number sent anywhere?

No. Everything is worked out in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc