Factorial Calculator

Calculate factorials (n!) with step-by-step calculations and explanations. Perfect for combinatorics, probability, statistics, and mathematical calculations.

Calculate Factorial (n!)

Quick Factorials:

Common Factorial Calculations

Click on these links to see instant calculations with common values:

Factorial Calculations

A factorial (denoted as n!) is the product of all positive integers from 1 to n. It's a fundamental concept in mathematics, particularly in combinatorics and probability.

Factorial Formula

The factorial of a non-negative integer n is defined as:

n! = n × (n-1) × (n-2) × ... × 2 × 1
Special cases: 0! = 1, 1! = 1
Example: 5! = 5 × 4 × 3 × 2 × 1 = 120

Common Factorial Values

n n! Calculation Use Case
010! = 1 (by definition)Empty set arrangements
363 × 2 × 1Arranging 3 items
51205 × 4 × 3 × 2 × 1Arranging 5 items
103,628,80010 × 9 × ... × 1Arranging 10 items
12479,001,60012 × 11 × ... × 1Calendar permutations
  • Combinatorics: Calculate permutations and combinations for arrangements
  • Probability: Determine outcomes in probability problems and statistics
  • Mathematics: Solve equations involving factorials and series
  • Computer Science: Algorithm analysis and recursive function calculations
  • Statistics: Calculate distributions and sampling arrangements

Frequently Asked Questions

What is a factorial?

A factorial (n!) is the product of all positive integers from 1 to n. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition, 0! = 1.

How do you calculate factorials?

To calculate n!, multiply all positive integers from 1 to n. For example: 4! = 4 × 3 × 2 × 1 = 24. Factorials grow very quickly as n increases.

What are factorials used for?

Factorials are used in combinatorics for calculating permutations and combinations, in probability theory, statistics, and various mathematical formulas and algorithms.

See Also