Math & Statistics
Double Factorial & Subfactorial Calculator
Compute the double factorial (n!!) and subfactorial (derangements, !n) of a number.
Your inputs
Change any value to update the result instantly.
Double factorial n!!
105
Subfactorial !n (derangements)
1,854
Regular factorial n!
5,040
Formula and working
n!! = n(n−2)(n−4)... · !n = n!·Σ(−1)ᵏ/k!
- 1
Substitute your values
n = 7
- 2
Apply the formula
n!! = n(n−2)(n−4)... · !n = n!·Σ(−1)ᵏ/k! = 105
Frequently asked questions
Important limitation
This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.
Report a mistake or request an improvement
Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.
Related calculators
Combinations (nCr) Calculator
Calculate the number of unordered combinations of r items from n.
Fibonacci Sequence Calculator
Generate Fibonacci numbers up to the nth term.
Pascal's Triangle Calculator
Generate a row of Pascal's triangle and its entries.
Permutations (nPr) Calculator
Calculate the number of ordered permutations of r items from n.
Progressions Calculator
Find the nth term and sum of arithmetic, geometric or harmonic progressions.
3D Distance Calculator
Find the straight-line distance between two points in 3D space.
