c+CalcLantern

Factorial

Compute an exact factorial, including 0!.

How this works

Multiplies integers 1 through n using exact integer arithmetic; 0! = 1.

Example

Using the example inputs, n factorial is 720.

Nonnegative integer
6
n factorial
720

Scope and assumptions

Uses your inputs only; results are rounded for display.

OpenStax mathematics

Related calculators

Permutations

Poisson probability

Combinations

Binomial probability

Percentage

BUILT FOR CLARITY

Useful tools. Honest answers.

An original collection of calculators for everyday estimates and learning.

Calculations run in your browser. This site does not send your inputs to a server or serve advertising. Optional analytics runs only after you allow it. Results are estimates within each tool’s stated scope, not professional advice.

Financial, health and building-related tools have specific limitations. Check important decisions with a qualified professional. No live currency rates, tax tables or current price feeds are connected.