calqulio.
◎ English · Global

Factorial Calculator

Multiply consecutive positive integers up to n. Large outputs are floating-point approximations; 0! is defined as 1.

Enter your values

Enter a numeric value. Use a whole number. Use a non-negative value. Allowed range: 0–170.

Use a decimal point, without thousands separators.

Example result
Result
120

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

Multiply consecutive positive integers up to n. Large outputs are floating-point approximations; 0! is defined as 1.

Inputs and units
Factorial Calculator · Inputs and units
InputExample valueWhat to enter
Integer n5Enter a numeric value. Use a whole number. Use a non-negative value. Allowed range: 0–170.
n! = 1 × 2 × … × n; 0! = 1

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Integer n
5

Complete example results

Result
120

Reading the result

Use quantities on the same basis. The starting value in percentage change, the denominator in a ratio and the length unit in geometry determine the meaning of the answer. Check the formula conditions alongside the example.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Methods & accuracy

What would you like to calculate?

Browse all calculators