MathKit

Factorial Calculator

The factorial n! multiplies all integers from 1 to n. Useful in probability and combinatorics.

Calculator

Factorial Calculator

Result

—

Formula

n! = n × (n−1) × … × 1

Step-by-step

  1. 1

    Enter n

    Any integer 0 or more.

  2. 2

    Read the result

    Note: 0! is defined as 1.

Worked example

Example input: n: 5

Result: 120

Related tools

Useful links