Skip to content
TextArray
100% local

Factorial calculator

Compute factorials instantly, from 0! to 500! with exact results using BigInt.

Output

Factorial calculator

A factorial is the product of all positive integers up to a given number: 5! = 5 × 4 × 3 × 2 × 1 = 120. This calculator computes factorials instantly from 0 to 500, showing you the exact result one number at a time. No approximation, no loss of precision — every digit is calculated correctly using BigInt arithmetic.

Use it for combinatorics problems, probability calculations, or whenever you need to find how many ways there are to arrange items. For example, 10! tells you how many different ways you can arrange 10 objects in a line. The tally shows you how many digits are in the result, which grows dramatically as the number increases: 100! has 158 digits, and 500! has 1135 digits.

Everything runs entirely in your browser — no network requests, no server computation, just pure client-side math. The result is displayed as plain text so you can copy it, download it, or paste it elsewhere. Enter any whole number from 0 to 500 and the calculator handles it instantly.

Factorials appear in formulas for permutations, combinations, and probability: choose n from a set and the number of ways grows factorially. This tool makes those calculations quick and exact, whether you are checking homework, solving a statistics problem, or exploring number patterns.

FAQ

What is a factorial?
A factorial (written n!) is the product of all positive integers from 1 to n. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition, 0! = 1.
Why do factorials get so large so fast?
Each time you add 1 to n, you multiply the previous result by that new number. So 10! = 10 × 9!, meaning the growth is exponential. By 100!, you have 158 digits.
Why does this tool go up to 500?
The result of 500! is exact but has 1135 digits. Beyond 500 the numbers grow too large for practical display, so the tool caps at 500.
Is my input uploaded anywhere?
No. Everything runs in your browser and your input never leaves your device.