Factorial of 423
423! = 88665615014319916975910258001125988498226075426545410927460438352203709193261742787279072673199636121448380178141174809331395015947632184245439231320766452240834593226922288173960920262855828560240272375311740705958411756177376398814068046700513869527457051034075001436109074697545615443738862745798196083469951900479102835607839662923445945545641890622690324511350675865236354225047924129819113653245761023631162472980948595497325993056714052118854200734502856722017843063590588412391587792333131601325150708799045543366223111832955430316561093421748368548856634650702752797682472828457872918038763424470233834482230569335924138574208932748438627283156993640164809224781370229618966403078695903944887293576043326070128872767416219674516689627486242314184213279974433662511502751545523027216235678582320825598845291999652741120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
929 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
423! = 423 × 422 × … × 2 × 1 = 8866561501431991697591025800112598849822…
Facts about 423!
| Digits | 929 |
|---|---|
| Trailing zeros | 103 (one for every factor 5 × 2) |
| Stirling estimate | ≈ Infinity |
| 423! ÷ 422! | 423 |
Nearby factorials
| 421! | 496709438418428047101555… (924 digits) |
| 422! | 209611383012576635876856… (927 digits) |
| 424! | 375942207660716447977859… (932 digits) |
| 425! | 159775438255804490390590… (935 digits) |
What are factorials used for?
Counting arrangements: 423! is the number of different orders in which 423 distinct items can be lined up. Factorials also appear in probability, combinations and series.
Counting with 423!
There are 8.8665 × 10^928 different ways to arrange 423 different books on a shelf: 423 choices for the first place, 422 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 423 runners, there are 423 × 422 × 421 = 75,151,026 possible podiums. If the order does not matter, divide by 3! = 6 to get 12,525,171 ways to choose a group of three. Choosing a pair from 423 people can be done in 89,253 ways.
In probability, if 423 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 8.8665 × 10^928. That is why shuffled decks and passwords with many symbols are so hard to guess.
How big is 423!?
423! has 929 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 3627, 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 423!
Every prime up to 423 divides 423!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 423! that gives 2^417 × 3^209 × 5^103 × 7^69 × 11^41 × 13^34 × 17^25 × 19^23 × 23^18 × 29^14 × … (82 primes in all). The 103 trailing zeros come from pairing the 103 factors of 5 with factors of 2.
Shuffles where nothing stays put
A related count is the number of derangements of 423 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 423! ÷ e, so about 36.8% of all 8.8665 × 10^928 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.
Computing 423! yourself
In Excel or Google Sheets, type =FACT(423). 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(423) returns the exact integer with all 929 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 423 factorial?
423! is the product of every whole number from 1 to 423.
How many digits does 423! have?
929. The number of digits of n! is the whole part of log10(n!) plus one.
How many zeros are at the end of 423!?
103. Count the factors of 5 in the numbers 1 to 423: there are always more factors of 2, so every 5 makes one trailing zero.
Is 423! divisible by 424?
Yes. 424 is not prime, so its factors already appear among the numbers 1 to 423.
What is the last non-zero digit of 423!?
2. Strip the 103 trailing zeros and look at the digit that is left at the end.
What is 424! in terms of 423!?
424! = 424 × 423!. Each factorial is the previous one multiplied by the next whole number.