Factorial Calculator

Calculate n! (n factorial) for any non-negative integer, instantly.

n!
Result-
Expansion-
Advertisement
Advertisement

What Is a Factorial?

The factorial of a number n (written n!) is the product of every positive integer from 1 up to n. Factorials show up constantly in probability, combinatorics, and statistics.

Formula

n! = n × (n-1) × (n-2) × ... × 2 × 1, with 0! defined as 1.

How to Use This Calculator

Example

7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5,040.

Frequently Asked Questions

What is a factorial?

The factorial of a number n (written n!) is the product of all positive integers from 1 up to n — for example, 5! = 5×4×3×2×1 = 120.

What is 0 factorial?

0! is defined as 1, a mathematical convention that makes many combinatorics formulas work consistently.

What are factorials used for?

They're fundamental in combinatorics for counting permutations and combinations, and appear throughout probability, statistics, and calculus (like in Taylor series).

Suggest a Calculator

👋 We noticed you might be using an ad blocker. This site is free thanks to ads — consider allowing them here to support us. Thanks!