Factorial Calculator
Find n factorial for any integer up to 20.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
This tool computes n! (n factorial), the product of every whole number from 1 up to n — for example 5! = 5×4×3×2×1 = 120. It is capped at 20 because 21! already exceeds what a standard double-precision number can represent exactly.
Factorials show up constantly in combinatorics: counting how many ways a deck of cards can be arranged, how many ways a race can finish, or computing permutations and combinations for probability problems. Students, and anyone writing code that needs nCr or nPr, use this to check their work by hand.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)