Factorial Calculator

Enter a non-negative integer to compute its factorial โ€” the product of all positive integers from 1 up to that number.

Factorial Calculator

Compute n! โ€” n factorial

n! = n ร— (nโˆ’1) ร— (nโˆ’2) ร— โ€ฆ ร— 2 ร— 1. By definition, 0! = 1.

Advertisement

What Is a Factorial?

n! (read 'n factorial') is the product of all positive integers from 1 up to n:

n! = n ร— (nโˆ’1) ร— (nโˆ’2) ร— โ€ฆ ร— 3 ร— 2 ร— 1

By definition, 0! = 1.

**Fast growth**: Factorials grow extremely quickly. 10! = 3,628,800 and 70! is already larger than a googol (10ยนโฐโฐ). This calculator handles factorials up to n = 100.

**Uses**: Counting permutations (n! ways to arrange n items), combinations, probability, series expansions (Taylor series), and combinatorics.

  • n! = n ร— (nโˆ’1) ร— โ€ฆ ร— 1
  • 0! = 1 by definition
  • Grows extremely fast
  • Used in permutations and combinations

Worked Example

Example: 5!

5! = 5 ร— 4 ร— 3 ร— 2 ร— 1 = 120

Example: 0!

0! = 1 (by definition)

Example: 10!

10! = 3,628,800

Frequently Asked Questions

Why is 0! = 1?

It's defined that way so that combinatorics formulas (like combinations) work consistently. It also represents 'one way to arrange zero items' โ€” do nothing.

Can factorials be negative?

No. Factorials are defined for non-negative integers only. (The gamma function extends the idea to non-integers, but that's a different tool.)

Looking for a different calculator?

CalculatorPlus has free tools across finance, construction, math, health and more โ€” each one showing the formula and a worked example.