Factorial Calculator

Calculate the factorial of a number (n!).

0170

Factorial

3628800

Digits

7

Trailing Zeros

2

Double Factorial

3840

Subfactorial

1334961

Sum of Digits

27

Formula

10! = 10 Γ— 9 Γ— 8 Γ— 7 Γ— 6 Γ— ... Γ— 1 = 3628800

About

Calculate factorials and related properties. Includes double factorial, subfactorial (derangements), trailing zeros, and digit analysis.

Frequently Asked Questions

What is a factorial?

A factorial of a non-negative integer n, written as n!, is the product of all positive integers less than or equal to n. For example, 5! = 5 x 4 x 3 x 2 x 1 = 120.

What is 0 factorial?

0! equals 1. This is defined by convention because there is exactly one way to arrange zero objects, and it ensures formulas in combinatorics work correctly.

Where are factorials used?

Factorials are used in permutations, combinations, probability, and series expansions in calculus. They are fundamental to counting problems in mathematics.

Why can't you calculate factorial of negative numbers?

The factorial function is only defined for non-negative integers. Negative numbers do not have a factorial because the multiplication sequence has no natural stopping point.

Related Calculators

More in Number Theory Β· Math calculators Β· All calculators A–Z