What a factorial counts, and why it outgrows every calculator
The factorial of a whole number n, written n!, is every whole number from 1 to n multiplied together. 5! is 1 × 2 × 3 × 4 × 5, which is 120. It answers a simple question: in how many different orders can n different things be lined up? Five books on a shelf can go in 120 orders. The first place has 5 choices, the next has 4, and so on down to 1.
Factorials grow faster than powers. 10! is 3,628,800. 20! is about 2.4 quintillion, the largest factorial that fits in a 64-bit whole number. 25! is 15,511,210,043,330,985,984,000,000, which has 26 digits. A deck of 52 cards can be shuffled into 52! orders, a number with 68 digits. That is far more than the number of seconds since the universe began, so a well-shuffled deck is almost certainly in an order no deck has ever been in before.
Ordinary calculators lose this race early. They store numbers as floating point, with about 16 significant digits and a ceiling near 1.8 × 10^308. 25! comes back as 1.551121004 × 10^25, with its last 16 digits rounded away, and 171! overflows completely. This calculator multiplies in exact whole-number arithmetic instead, so 25! keeps all 26 digits and 1,000! keeps all 2,568. Every digit you copy from it is correct.
Two other figures come with the result. The digit count tells you the size at a glance. The trailing zero count answers a classic puzzle: how many zeros does 100! end in? Each zero needs a factor of 10, which is a 2 and a 5. There are always more 2s than 5s, so you count the 5s. 100 has 20 multiples of 5, and 4 of them, 25, 50, 75 and 100, bring a second 5. That makes 24 zeros, and the calculator agrees.
Some limits are worth knowing. The calculator accepts whole numbers from 0 to 10,000. Larger factorials are possible to compute but have tens of thousands of digits, take longer, and are rarely needed written out in full. It does not compute the gamma function, which extends factorials to decimals and is what a spreadsheet uses for a non-whole input. Scientific notation is rounded to 10 significant digits, but the exact value above it is never rounded.