Calculate exact factorials, permutations and combinations, and follow the multiplication behind every result.
Calculation inputs
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.
Exact arbitrary-size integer arithmetic. The compact heading does not round the full result.
Exact value & calculation details
3628800
Quantity
Value
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.