Factorial of 250
250! = 3232856260909107732320814552024368470994843717673780666747942427112823747555111209488817915371028199450928507353189432926730931712808990822791030279071281921676527240189264733218041186261006832925365133678939089569935713530175040513178760077247933065402339006164825552248819436572586057399222641254832982204849137721776650641276858807153128978777672951913990844377478702589172973255150283241787320658188482062478582659808848825548800000000000000000000000000000000000000000000000000000000000000
493 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
250! = 250 × 249 × … × 2 × 1 = 3232856260909107732320814552024368470994…
Facts about 250!
| Digits | 493 |
|---|---|
| Trailing zeros | 62 (one for every factor 5 × 2) |
| Stirling estimate | ≈ Infinity |
| 250! ÷ 249! | 250 |
Nearby factorials
| 248! | 519334339101864695955150… (488 digits) |
| 249! | 129314250436364309292832… (491 digits) |
| 251! | 811446921488186040812524… (495 digits) |
| 252! | 204484624215022882284756… (498 digits) |
What are factorials used for?
Counting arrangements: 250! is the number of different orders in which 250 distinct items can be lined up. Factorials also appear in probability, combinations and series.
Counting with 250!
There are 3.2328 × 10^492 different ways to arrange 250 different books on a shelf: 250 choices for the first place, 249 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 250 runners, there are 250 × 249 × 248 = 15,438,000 possible podiums. If the order does not matter, divide by 3! = 6 to get 2,573,000 ways to choose a group of three. Choosing a pair from 250 people can be done in 31,125 ways.
In probability, if 250 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 3.2328 × 10^492. That is why shuffled decks and passwords with many symbols are so hard to guess.
How big is 250!?
250! has 493 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 1953, 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 250!
Every prime up to 250 divides 250!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 250! that gives 2^244 × 3^123 × 5^62 × 7^40 × 11^24 × 13^20 × 17^14 × 19^13 × 23^10 × 29^8 × … (53 primes in all). The 62 trailing zeros come from pairing the 62 factors of 5 with factors of 2.
Shuffles where nothing stays put
A related count is the number of derangements of 250 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 250! ÷ e, so about 36.8% of all 3.2328 × 10^492 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.
Computing 250! yourself
In Excel or Google Sheets, type =FACT(250). 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(250) returns the exact integer with all 493 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 250 factorial?
250! is the product of every whole number from 1 to 250.
How many digits does 250! have?
493. The number of digits of n! is the whole part of log10(n!) plus one.
How many zeros are at the end of 250!?
62. Count the factors of 5 in the numbers 1 to 250: there are always more factors of 2, so every 5 makes one trailing zero.
Is 250! divisible by 251?
No. 251 is prime and bigger than every factor of 250!, so it cannot divide it (Wilson's theorem says 250! leaves a remainder of 250 when divided by 251).
What is the last non-zero digit of 250!?
8. Strip the 62 trailing zeros and look at the digit that is left at the end.
What is 251! in terms of 250!?
251! = 251 × 250!. Each factorial is the previous one multiplied by the next whole number.