Factorial Calculator

Fast and accurate factorial calculator. Just enter a number n to find n! (the product of all integers from 1 to n).

!

What is a Factorial?

The factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example: 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials are fundamental in combinatorics, probability, and algebra.

Factorial Formula

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

Multiplying a sequence of descending natural numbers.

Special Case

0! = 1

By definition, the factorial of zero is one.

Examples

Finding 4!

4! = 4 × 3 × 2 × 1 = 24

Finding 6!

6! = 6 × 5 × 4 × 3 × 2 × 1 = 720

Frequently Asked Questions

Why is 0! equal to 1?

There is exactly one way to arrange zero items (the empty set), so 0! = 1. This also makes many mathematical formulas (like combinations) work consistently.

Can factorials be negative?

Standard factorials are defined only for non-negative integers. For negative numbers and fractions, mathematicians use the Gamma Function.