Factorial Calculator
Compute exact n!, double factorial n!! and subfactorial !n for whole numbers, plus Gamma and Beta function values for decimals, with digit count, trailing zeros and scientific notation.
- Free
- No sign-up
- Works on any device
About Factorial Calculator
This page multiplies out n! exactly for any whole number up to 10,000, so 20! shows all 19 digits (2,432,902,008,176,640,000) instead of a rounded 2.43e18. It also gives the double factorial n!!, the subfactorial !n that counts derangements, and the Gamma and Beta functions for decimals and half-integers, where Γ(1/2) = √π. Extra rows show the digit count, trailing zeros and a comparison with Stirling's approximation.
How to use Factorial Calculator
- Pick the calculation: factorial, double factorial, subfactorial, Gamma or Beta.
- Type the whole number n, or a decimal x, plus the second value b for the Beta function.
- Read the exact result with its digit count and trailing zeros, and copy or download all digits when the number is long.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
What is the difference between n! and n!!?
n! multiplies every whole number from 1 to n, while n!! multiplies only every second number, so 8!! = 8 × 6 × 4 × 2 = 384 and 7!! = 105.
How do you calculate the factorial of a decimal like 0.5?
Decimals use the Gamma function with x! = Γ(x + 1). For 0.5 that gives Γ(1.5) = 0.886226925453, which is half of the square root of π.
Why does 0! equal 1?
There is exactly one way to arrange zero items, the empty arrangement. Defining 0! = 1 keeps formulas such as C(n, 0) = n!/(0! n!) = 1 and the relation Γ(1) = 0! consistent.
Is Factorial Calculator free?
Yes. Factorial Calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.