Learn what the exclamation point in math means, how n! grows exponentially, why 0! equals 1, and permutations in probability.
Calculate your numbers instantly in your browser. Fast, free, no signup.
When you encounter an exclamation point in a math formula — such as 5! or n! — it does not indicate excitement. It represents the factorial operation, one of the foundational building blocks of combinatorics, probability, algebra, and calculus.
For any positive integer n, the factorial (denoted n!) is the product of all positive integers less than or equal to n:
n! = n × (n - 1) × (n - 2) × ... × 3 × 2 × 1
Factorial growth dwarfs exponential functions. For instance, 52! represents the total number of ways a standard 52-card deck can be shuffled:
52! ≈ 8.0658 × 10^67
This number is so colossal that every time you thoroughly shuffle a deck of 52 cards, it is virtually certain that the resulting card arrangement has never existed before in human history.
Factorials calculate arrangement possibilities:
P(8, 3) = 8! / (8 - 3)! = 8 × 7 × 6 = 336 ways
C(52, 5) = 52! / [ 5! × (52 - 5)! ] = 2,598,960 hands
Perform advanced scientific operations, trigonometric functions, and factorial calculations using our Scientific Calculator.
The exclamation point (!) denotes the factorial function, meaning multiply the positive integer by every preceding positive integer down to 1.
0! = 1 by mathematical definition to preserve the recursive property n! = (n+1)! / (n+1), and because there is exactly one way to arrange an empty set (the empty permutation).
Technical Architect & Lead Developer • ToolsHub Pro
Abdul Nabi is a senior software engineer and technical architect specializing in client-side Web APIs, high-performance browser computing, cryptographic validation, and privacy-first digital utility platforms. All guides on ToolsHub Pro are peer-reviewed for mathematical rigor and developer accuracy.