Factorial calculator

n! is the product of all positive integers from 1 to n. Example: 5! = 5×4×3×2×1 = 120.

n!
0
Double factorial (n!!)
0
Digit count
0
Approx (scientific)
0
log₁₀(n!)
0
Expansion

Reference

  • Factorial: n! = n × (n − 1) × (n − 2) × … × 1, with 0! = 1 by definition
  • Double factorial: n!! = n × (n − 2) × (n − 4) × … down to 2 (even n) or 1 (odd n)
  • Stirling's approximation: n! ≈ √(2πn) · (n/e)n