Everyday Tools
Factorial Calculator
Calculate the factorial of a whole number, useful for permutations, combinations and probability problems.
Your results
6!720
Calculation breakdown
- Factorial
- n! = n × (n−1) × (n−2) × ... × 1, with 0! = 1
Worked example
6! = 6 × 5 × 4 × 3 × 2 × 1 = 720.
Assumptions
- 0! is defined as 1 by convention.
- Inputs above 170 are rejected since the result exceeds double-precision accuracy.
How this calculator works
This calculator multiplies a whole number by every positive whole number below it down to 1 to find its factorial, commonly used in permutation, combination and probability calculations. Results are capped for very large inputs to avoid unusable numbers.
Frequently asked questions
What is 0 factorial?
By mathematical convention, 0 factorial equals 1.
Can I find the factorial of a negative number?
No, factorials are only defined for non-negative whole numbers, so the calculator shows an error for negative inputs.
Why is there a maximum input limit?
Factorials grow extremely fast, so inputs above 170 produce numbers too large to display accurately in standard double-precision maths.
Related calculators
Exponent CalculatorRaise a base number to any power, including negative or fractional exponents, and see the result instantly.Logarithm CalculatorCalculate the logarithm of a number to any base, including common log (base 10) and natural log (base e).Square Root CalculatorFind the square root of a number, with a clear error message for negative inputs since real square roots don't exist for them.Nth Root CalculatorCalculate the nth root of a number, such as a cube root or fourth root, for any positive whole-number degree.Greatest Common Divisor CalculatorFind the greatest common divisor (GCD) and lowest common multiple (LCM) of two whole numbers using the Euclidean algorithm.