Enter n for n!
Value of n10!

Range: 0 to 170. Beyond 170, the result overflows double-precision floating point.

3628800
10! = 3628800
Step-by-Step
0
Start: 0! = 1 (by definition)
1
2! = 2 × 1 = 2
2
3! = 3 × 2 = 6
3
4! = 4 × 6 = 24
4
5! = 5 × 24 = 120
5
6! = 6 × 120 = 720
6
7! = 7 × 720 = 5040
7
8! = 8 × 5040 = 40320
8
9! = 9 × 40320 = 362880
9
10! = 10 × 362880 = 3628800
📐
Factorial Properties
Definition
n! = n × (n−1) × … × 2 × 1
Base case
0! = 1 (by convention)
Recursive
n! = n × (n−1)!
Permutations
n! = arrangements of n items
Combinations
C(n,r) = n! / (r! × (n−r)!)
Stirling approx
n! ≈ √(2πn) × (n/e)ⁿ
📊
Result Summary
n
10
🔢
n! (truncated)
3628800
📏
Number of Digits
7
📋
Factorial Reference Table
nn!Digits
0!11
1!11
2!21
3!61
4!242
5!1203
6!7203
7!50404
8!403205
9!3628806
10!36288007
12!4790016009
15!130767436800013
20!243290…640000 (19 digits)19
25!155112…000000 (26 digits)26
50!304140…000000 (65 digits)65
100!933262…000000 (158 digits)158

How Many Ways Can 8 People Sit at a Dinner Table?

Eight people, eight chairs, one table. The first person can sit in any of 8 seats. The second person can sit in any of 7 remaining seats. The third in 6, and so on. Total arrangements: 8 × 7 × 6 × 5 × 4 × 3 × 2 × 1 = 40,320. That is 8!, read as "eight factorial." The same logic applies to shuffling a deck of cards (52! ≈ 8 × 10⁶⁷ arrangements — more than the number of atoms in the observable universe), arranging exam question orders, or counting the number of possible routes a delivery driver can take through 10 stops. Factorials are what happens when arrangement and order matter simultaneously.

This free factorial calculator handles exact integer results from 0! to 170! using JavaScript BigInt — no rounding, no approximation. For n ≤ 12, the full step-by-step multiplication chain is shown so you can follow along. The reference table lists key factorial values alongside their digit counts.

The Growth Rate Is Harder to Grasp Than It Looks

Exponential growth gets talked about constantly — but factorial growth is in a different category entirely. An exponential function like 2ⁿ doubles every step. Factorials grow faster than any exponential. Compare: 2¹⁰ = 1,024. But 10! = 3,628,800. By n = 20, the gap is catastrophic — 2²⁰ ≈ 1 million, while 20! ≈ 2.4 × 10¹⁸. At n = 52 (a deck of cards), 52! has 68 digits. At n = 100, the result has 158 digits. At n = 170 (the calculator's maximum), 170! has 307 digits.

For large n where the exact value is not needed, Stirling's approximation — n! ≈ √(2πn) × (n/e)ⁿ — gives a remarkably accurate estimate. The relative error drops below 1% by n = 10 and continues shrinking. It appears in statistical mechanics, quantum physics, and thermodynamics wherever counting arrangements of large particle systems is required. Use the Scientific Calculator to evaluate the Stirling formula for any n.

Factorials in Taylor Series — Why They Appear in Every Expansion

One place factorials appear that surprises students is in Taylor series. The expansion eˣ = 1 + x + x²/2! + x³/3! + x⁴/4! + … has factorials in every denominator. The same is true for sin(x) = x − x³/3! + x⁵/5! − … and cos(x) = 1 − x²/2! + x⁴/4! − … The factorials are not arbitrary — they come from repeated differentiation. The nth derivative of eˣ is eˣ, evaluated at 0 is 1. Dividing by n! normalises the coefficient so the series converges properly. Without the factorial denominators, the series would grow unboundedly.

In combinatorics, C(n, r) = n! / (r! × (n−r)!) counts selections where order does not matter — choosing 3 students from 30 for a project team, for instance. For those calculations directly, the Permutation & Combination Calculator computes nCr and nPr without needing to evaluate the full factorials separately. Everything on this page runs entirely in your browser — no data leaves your device.

Verified by ToollyX Team · Last updated June 2026

Frequently Asked Questions