Factorial Calculator
Calculate factorials such as 5!, combine them with fractions and powers, and evaluate expressions in an online scientific calculator.
Factorial calculator for n! and scientific expressions
Use this factorial calculator to calculate n! and combine factorials with arithmetic, fractions, and powers.
Factorials are common in permutations, combinations, probability, and discrete math.
Features
- Factorial button for n! input.
- Factorials mixed with fractions and powers.
- Safe expression parsing without eval.
- Result copy and calculation history.
- Non-negative integer factorial behavior for predictable school math results.
Example expressions
5!\frac{6!}{3!}4!+3!\frac{10!}{8!}(2+3)!\frac{5!}{3!}
How to use this calculator
- Enter a non-negative integer or an expression that evaluates to one.
- Press the ! button or type ! after the number.
- Use fractions to compare factorial ratios such as 6!/3!.
Common input mistakes
- 3.5! is not treated as a normal factorial in this calculator.
- Negative factorials such as (-1)! are rejected.
- Large factorials grow very quickly and may exceed finite numeric range.
FAQ
How do I type a factorial?
Enter a number or expression and press the ! button.
What is 5 factorial?
5! equals 5 x 4 x 3 x 2 x 1, which is 120.
Can I divide factorials?
Yes. Put factorial expressions inside a fraction.
Can I calculate decimal factorials?
No. This calculator treats factorial as the standard non-negative integer operation.