Home โ€บ Math & Education โ€บ Factorial Calculator

Factorial Calculator

Calculate the factorial (\(n!\)) of any positive integer, view the step-by-step multiplication formula, and understand properties.

โ€”
Factorial Value (6!)

๐Ÿ”’ Calculated locally in your browser โ€” calculations are computed client-side

Ad Space ยท AdSense code goes here later

What is a Factorial?

The factorial of a positive integer \(n\), denoted by \(n!\), is the product of all positive integers less than or equal to \(n\). E.g. the factorial of **5** is:

\(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\)

By mathematical definition and convention, the factorial of **0** is equal to **1** (\(0! = 1\)). Factorials grow extremely fast (for example, \(170!\) contains 307 digits). In standard JavaScript, values above \(170!\) will exceed double-precision floating-point limits and return as **Infinity**.

Related Tools