Factorial Calculator

Calculate the factorial of any integer with step-by-step multiplication.

  1. Home
  2. Utilities
  3. Factorial Calculator

Factorial (n!)

--
--

Permutations (nPr) & Combinations (nCr)

nPr (Permutations)
--
nCr (Combinations)
--

How to Use

  1. Calculate factorial — Enter a non-negative integer (max 5000) and click Calculate.
  2. View steps — See the step-by-step multiplication for smaller numbers.
  3. Permutations & Combinations — Enter n and r values to calculate nPr and nCr instantly.

Frequently Asked Questions

What is a factorial?

The factorial of a non-negative integer n, denoted n!, is the product of all positive integers less than or equal to n. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120.

What is 0! ?

By convention, 0! = 1. This is defined as an empty product and is used in many mathematical formulas including combinations.

What is the difference between nPr and nCr?

nPr (permutations) counts ordered arrangements where order matters. nCr (combinations) counts unordered selections where order does not matter. nPr = n!/(n-r)!, nCr = n!/(r!(n-r)!).