Skip to content

Factorial Calculator

Calculate exact factorials, permutations and combinations, and follow the multiplication behind every result.

Calculation inputs

Whole number from 0 to 1,000.
Used for P(n,r) and C(n,r); 0 ≤ r ≤ n.

Precision & interpretation

All three outputs use integer arithmetic. Very long results have a compact heading and an expandable exact value; copying and downloading retain the full result.

Calculation results

Factorial n!362880010! · exact integer
Permutations P(n,r)720
Combinations C(n,r)120
Digits in n!7
Step-by-step solution
  1. Choose the formula

    n! = 1 × 2 × … × n; 0! = 1
  2. Substitute your inputs

    10! = 1 × 2 × 3 × 4 × 5 × 6 × 7 × 8 × 9 × 10
  3. Calculate in order

    P = 10!7!; C = P3!
  4. Write the result

    10! = 3628800; P = 720; C = 120

Factor multiplication

Factor 11Factor 22Factor 33Factor 44Factor 55Factor 66Factor 77Factor 88Factor 99Factor 1010

Multiply every factor; the empty product is 1.

Exact arbitrary-size integer arithmetic. The compact heading does not round the full result.

Exact value & calculation details
3628800
QuantityValue
n!3628800
r!6
(n−r)!5040
P(n,r)720
C(n,r)120

Understand the calculation

Concept & meaning

A factorial counts ordered arrangements of distinct objects. Multiplying from 1 through n gives n!, with 0! defined as 1.

Formula & special cases

Permutations count ordered selections without replacement. Combinations count unordered selections, so each arrangement of the selected r objects is divided out.

Precision & limitations

All three outputs use integer arithmetic. Very long results have a compact heading and an expandable exact value; copying and downloading retain the full result.

n!=1×2×⋯×n

Worked example from your inputs

10! · exact integer = 3628800

Sources & References

NIST official logoNIST DLMF · FactorialsFactorial notation and its gamma-function relationshipRead the referenceNIST official logoNIST DLMF · Combinatorial notationBinomial coefficients and falling factorialsRead the reference

References explain the mathematics; they do not imply institutional endorsement.