Math calculator
Factorial Calculator
Calculate the factorial of a non-negative integer.
How this calculation works
n! = n × (n−1) × … × 1; 0! = 1 Use the calculator above to enter your values. Inputs are checked before a result is shown, and calculations run locally in your browser.
5! = 120
Frequently asked questions
How does the factorial calculator work?
n! = n × (n−1) × … × 1; 0! = 1
What is an example using the factorial calculator?
5! = 120
Can I enter decimal values?
Yes. Enter decimal values where appropriate. The calculator checks required inputs and displays a readable result.
Are results rounded?
Results are formatted for readability. Check the displayed formula and units when using the result.
Keep calculating
