Education

Factorial Calculator

Calculate n factorial using exact integer arithmetic.

Calculations run in this browser. Values are not submitted to the server.

Formula and assumptions

n! is the product of all positive integers up to n, with 0! = 1. Input is limited to 5000.

Example values are shown in the input placeholders. Results use browser number precision unless the tool uses exact integer arithmetic. Check units and assumptions before using a result.

Browse all tools