A factorial, written n!, is the product of all positive integers from 1 up to n. For example, 5! (read "five factorial") equals 5 × 4 × 3 × 2 × 1 = 120. Factorials grow astonishingly fast — 10! is already 3,628,800, and 20! is a 19-digit number — which makes them notoriously difficult to compute by hand for anything beyond small values.
Factorials are the backbone of combinatorics, the branch of mathematics dealing with counting, arranging, and selecting objects. They are used to calculate permutations (the number of ways to arrange items in order) and combinations (the number of ways to choose items without regard to order), both of which show up constantly in probability, statistics, cryptography, and even everyday scenarios like figuring out how many ways a group of people can be seated or how many possible lottery number combinations exist.
Our factorial calculator computes n! for any non-negative integer instantly and exactly, avoiding the tedious repeated multiplication and the risk of arithmetic errors that come with large numbers. Enter a number, and get the precise factorial value along with related permutation and combination results, whether you're working through a statistics course, solving a probability problem, or just curious how large these numbers get.