Factorial Calculator
Enter a whole number to calculate its factorial (n!).
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
The factorial of a whole number n, written n!, is the product of every positive integer from 1 up to n (0! is defined as 1 by convention), so 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast — 10! is already over 3.6 million, and 170! is roughly the largest factorial a standard double-precision number can represent before overflowing.
Factorials are the building block of combinatorics: they’re used directly in the formulas for permutations, nPr = n! ÷ (n − r)!, and combinations, nCr = n! ÷ (r! × (n − r)!), which in turn underpin probability calculations for things like card hands, lottery odds, and password or combination-lock possibilities. Students meet factorials early in algebra and statistics courses, and they also appear in calculus in Taylor series expansions.
This calculator takes a whole number from 0 to 170 and returns its factorial.
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)