Factorial of 325
325! = 74392417455820825437353449422105616638396717520380590731738414664170076047025418576647378675822937897054750306676289876155848679816329339933484229837744038579316146480420035168940232917224664376150369382451020933164230292622957073738126020152523218882320676726344979257687876563254167677401926546374562086915658699269826300119029558789735204443614385882152487400485317376300573220787727150660947912446615706931707574094166741527814381490079293895208733376861020373826490924313035525308093783171472696247763886024687394104351267644863982227540748624190929892712840958930646070438153721506685989683200000000000000000000000000000000000000000000000000000000000000000000000000000000
677 digits
Sumwise · Maintained by Theo Abbott (pen name) · automated checks · Data: exact arithmetic; unit definitions from NIST SP 811 · Updated · How the checks work
How it is calculated
325! = 325 × 324 × … × 2 × 1 = 7439241745582082543735344942210561663839…
Facts about 325!
| Digits | 677 |
|---|---|
| Trailing zeros | 80 (one for every factor 5 × 2) |
| Stirling estimate | ≈ Infinity |
| 325! ÷ 324! | 325 |
Nearby factorials
| 323! | 706480697586142691712758… (672 digits) |
| 324! | 228899746017910232114933… (675 digits) |
| 326! | 242519280905975890925772… (680 digits) |
| 327! | 793038048562541163327275… (682 digits) |
What are factorials used for?
Counting arrangements: 325! is the number of different orders in which 325 distinct items can be lined up. Factorials also appear in probability, combinations and series.
Counting with 325!
There are 7.4392 × 10^676 different ways to arrange 325 different books on a shelf: 325 choices for the first place, 324 for the second, and so on down to one choice for the last. If you only fill the first three places, as with gold, silver and bronze among 325 runners, there are 325 × 324 × 323 = 34,011,900 possible podiums. If the order does not matter, divide by 3! = 6 to get 5,668,650 ways to choose a group of three. Choosing a pair from 325 people can be done in 52,650 ways.
In probability, if 325 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 7.4392 × 10^676. That is why shuffled decks and passwords with many symbols are so hard to guess.
How big is 325!?
325! has 677 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 2700, a multiple of 9, as they are for every factorial from 6! on. Stirling's formula, √(2πn) × (n/e)^n, gives a close estimate without multiplying everything out, and gets more accurate as n grows.
Prime factors of 325!
Every prime up to 325 divides 325!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 325! that gives 2^321 × 3^161 × 5^80 × 7^52 × 11^31 × 13^26 × 17^20 × 19^17 × 23^14 × 29^11 × … (66 primes in all). The 80 trailing zeros come from pairing the 80 factors of 5 with factors of 2.
Shuffles where nothing stays put
A related count is the number of derangements of 325 items: orders in which no item ends up in its original place, as in a Secret Santa where nobody draws their own name. The count is the whole number nearest to 325! ÷ e, so about 36.8% of all 7.4392 × 10^676 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.
Computing 325! yourself
In Excel or Google Sheets, type =FACT(325). Spreadsheets keep only 15 significant digits, so from 18! on the result is rounded, and FACT stops at 170!, the largest factorial that fits in a standard floating-point number. In Python, math.factorial(325) returns the exact integer with all 677 digits, because Python integers have no size limit. The gamma function extends factorials to fractions: Γ(n + 1) = n!, so (1/2)! = √π ÷ 2 ≈ 0.8862.
Why is 0! equal to 1?
There is exactly one way to arrange nothing, and the rule n! = n × (n − 1)! only works for n = 1 if 0! = 1. Defining it this way keeps formulas for combinations and series correct at the edges.
How answers are calculated and checked: methodology.
Questions
What is 325 factorial?
325! is the product of every whole number from 1 to 325.
How many digits does 325! have?
677. The number of digits of n! is the whole part of log10(n!) plus one.
How many zeros are at the end of 325!?
80. Count the factors of 5 in the numbers 1 to 325: there are always more factors of 2, so every 5 makes one trailing zero.
Is 325! divisible by 326?
Yes. 326 is not prime, so its factors already appear among the numbers 1 to 325.
What is the last non-zero digit of 325!?
2. Strip the 80 trailing zeros and look at the digit that is left at the end.
What is 326! in terms of 325!?
326! = 326 × 325!. Each factorial is the previous one multiplied by the next whole number.