Factorial calculator

Product of positive integers through n.

Inputs

Your result120

Formula and calculation method

Multiply the integers from 1 through the input. Zero factorial is 1.

Worked example

InputExample 1Example 2
Integer (0–170)57
Result1205,040

How to use the result

Only whole numbers from 0 to 170 are supported; 0! equals 1. Large factorials are displayed with floating-point precision, not as exact arbitrary-length integers.

Why can the result become large so quickly?

An integer factorial multiplies every whole number from 1 through that integer, with 0! defined as 1. Large results exceed exact integer precision in standard floating-point arithmetic, so treat displayed large values as estimates.

Average calculatorLogarithm calculatorMinecraft stacks calculatorDrop probability calculator