Factorial Notation Calculator: n! With Full Expansion

Factorial Notation Calculator

Compute n! as the product n × (n−1) × ... × 2 × 1, view the full expansion string, digit count, and scientific notation, plus optional double factorial n!! support.

🎯Factorial Presets

📝Factorial Inputs

0! is defined as 1. Enter any non-negative integer.

Factorial result 120 value of n!
Digit count 3 number of digits
Scientific notation 1.20 × 10⁲ mantissa × power of ten
Expansion terms 5 factors multiplied

🔢Notation Snapshot

n!Factorial of n
0! = 1Empty product
n!!Double factorial
≤170Exact double limit

📋Factorials 0! Through 20!

nn! (exact)DigitsScientific
0111.00 × 10⁰
1111.00 × 10⁰
2212.00 × 10⁰
3616.00 × 10⁰
42422.40 × 10¹
512031.20 × 10²
672037.20 × 10²
75,04045.04 × 10³
840,32054.03 × 10⁴
9362,88063.63 × 10⁵
103,628,80073.63 × 10⁶
1139,916,80083.99 × 10⁷
12479,001,60094.79 × 10⁸
136,227,020,800106.23 × 10⁹
151,307,674,368,000131.31 × 10¹²
17355,687,428,096,000153.56 × 10¹⁴
202,432,902,008,176,640,000192.43 × 10¹⁸

🗂Factorial Comparison Grid

nn!DigitsScientificRatio n!/(n−1)!
1111.00 × 10⁰×1
512031.20 × 10²×5
103,628,80073.63 × 10⁶×10
136,227,020,800106.23 × 10⁹×13
202.43 × 10¹⁸192.43 × 10¹⁸×20
251.55 × 10²⁵261.55 × 10²⁵×25
503.04 × 10⁶⁴653.04 × 10⁶⁴×50
701.20 × 10¹⁰⁰1011.20 × 10¹⁰⁰×70
1009.33 × 10¹⁵⁷1589.33 × 10¹⁵⁷×100
1707.26 × 10³°⁶3077.26 × 10³°⁶×170

📐Notation Meaning

SymbolNameDefinitionExample
n!Factorialn × (n−1) × ... × 14! = 24
0!Zero factorialEmpty product equals 10! = 1
n!!Double factorialSkip every other factor6!! = 48
n! = n(n−1)!RecurrenceEach factorial builds on the last5! = 5 × 4!
× 10^kScientificMantissa times power of ten120 = 1.2 × 10²

🧮Where Factorials Are Used

UseFormulaRole of FactorialExample
Permutationsn! / (n−r)!Counts ordered arrangementsP(5,2) = 20
Combinationsn! / (r!(n−r)!)Counts unordered choicesC(5,2) = 10
Full orderingsn!Ways to arrange n items4! = 24 orders
Taylor seriesx^k / k!Divides each series terme = Σ 1/k!
ProbabilityvariesSits in binomial countsCoin flips

How The Factorial Is Computed

Definitionn! = n × (n−1) × (n−2) × ... × 2 × 1, the product of every whole number from n down to 1.
Base case0! = 1 and 1! = 1. The empty product of no factors is defined as 1 so the recurrence stays consistent.
Loop methodStart a running product at 1, then multiply by each k from 2 up to n. This computer uses that exact loop.
Double factorialn!! multiplies n × (n−2) × (n−4) × ... down to 1 or 2, skipping every other factor.
Digit countlog10(n!) = log10(1) + log10(2) + ... + log10(n). Digits = floor(log10(n!)) + 1.
Scientific formThe sum of logs gives the exponent; the fractional part gives the mantissa, so n! ≈ mantissa × 10^exponent.
Large nDouble precision keeps n! exact to about 18 digits and finite to 170!. Past that the log method still reports digits.

💡Factorial Notation Tips

Zero factorial tip: 0! is defined as 1, not 0. It represents the single empty arrangement, which keeps combination and permutation formulas working when r equals n.
Counting tip: Factorials appear in permutations and combinations because n! counts every ordered arrangement of n distinct items before you divide out repeats.

In math, there’s something called an exclamation point. It look straightforward, and does big things. It doesn’t shout! Instead, when used with a number, it multiplies every whole number less than or equal to it, all the way back to one. Enter a five, then the exclamation point, and what you ask for is five times four times three times two times one. That equals 120.

That’s not so big that you can hardly remember it. Try using twelve instead. Suddenlly, the answer is almost half a billion. That’s much bigger than your brain can realy grasp, at least intuitively.

What is a Factorial?

Multiplication Tables don’t have to be boring, they’re also factorials, which is all about exponential growth in numbers. This is because it simply multiplies them all together, but calculation is quite difficult so we’ve made this calculator for you to avoid keeping your own mistakes under control. Simply enter an integer and you’ll see all of the numbers multiplied together.

This will help demonstrate exactly how exponentially large answer becomes. You’ll get to witness each term added and when sum reaches end of what can be written down. Beyond that point, you start seeing scientific notation and counts of how many digits are present in the number. After 20th factorial, for example, the number has 19 digits. This is quite hard to write out, prone to typing errors, and a boring way to do it.

The scientific notation will compress it down to something more usable: $2.43 \times 10^{18}$ That’s much easier on the eye and lets us know just how big the number is, without drowning in zeros. Engineers use this to help approximate how many possible arrangement there are; students use this to double-check their work in combinatorics. It’s always good to know if you’ve got a result that will fit inside a normal variable or if you’re going to have to start using special precision libreries.

The interface will switch automatically to show numbers that is getting too large for normal display. It’s got support for the lesser-used double factorial as well. Double factorials are like factorials except that instead of stepping down by one each time, you skip every other number. The 7 double factorial is seven times five times three times one. There is no multiplication at all from six through two. That makes the end result much smaller then a regular factorial.

In some probability distributions and physics equations this is important because only odd/even numbers contributes to the product. Many people are surprised to learn that factorials increase more rapidy than exponential functions. While exponential functions multiply by some constant base, each factorial increases the multiplier at each step, adding even greater force to previous product. The result is that factorials grows faster.

That’s why we define zero factorial to be 1, not zero. This becomes the empty product, establishing a starting point from which all other calculations can work correctly within their recursive formula. Otherwise they would of instantly collapse to nothing after first step if zero were the answer.

All this gives us the opportunity to connect the abstract symbol to some sort of concrete understanding. For example, we can see that 10! (ten factorial) has seven digits, and 100! (one hundred factorial) has hundreds of digits, and so on, and you begin to understand how big space of possibilities must be. That’s why brute force cryptanalysis works. There are enough combinations that we could test each one in turn, but the amount grow so rapidly that it would take longer then a human lifespan to finish.

There are also technical limitations when it comes to calculating factorials. Unless you use special software or program, your standard computer system will only be able to hold an exact value up to roughly factorial 170. Anything beyond that, and your precision goes out of whack. You can see this marked very clearly on the calculator.

Mathematically, we know there’s infinite expansion, but computationally speaking, there’s a limit to what our tools can do. That isn’t to say that simply knowing how to calculate inside those lines is less valuable than knowing where they are. As long as number remains manageable, the symbol is still in play.

Factorial Notation Calculator: n! With Full Expansion