Double Factorial Calculator

Multiply n by every second integer down to 1 or 2 to get the double factorial, with parity shown.

Math and PercentUpdated 2026-11-182 min read
Double Factorial Calculator
A whole number from 0 to 200.
Double factorial n!!
...
Value at n minus 1...
Chain parity...

What it does

The double factorial of n, written n with two exclamation marks, multiplies n by every second integer below it. For 8 the chain is 8 times 6 times 4 times 2, which is 384. For 7 it is 7 times 5 times 3 times 1, which is 105. The two cases form separate even and odd chains.

The notation is read as n double factorial, not as a factorial applied twice. Applying the ordinary factorial twice gives a completely different and much larger number, so the double marks are a distinct symbol.

Double factorials appear in formulas for volumes of spheres in even and odd dimensions, in counts of perfect matchings, and in the evaluation of certain integrals. They also simplify the expression of half integer factorials.

This page computes the product from n downward in steps of two, using exact integer arithmetic. It also reports the value at n minus one, which belongs to the opposite parity chain, and labels which chain was used.

The input limit is 200. The result can be very large, but the tool prints every digit without scientific notation.

How to use

  1. Enter a whole number n from 0 to 200.
  2. Read n double factorial in the main result box.
  3. Check the parity label to see which chain was used.
  4. The value beside it comes from the opposite parity chain at n minus one.
  5. The default n = 8 reproduces the worked example.
  6. Try n = 7 to confirm the odd chain result 105.

Formula

n!! = 1 for n = 0 or 1; n!! = n x (n - 2)!! for n > 1
n
The starting integer.
n!!
The double factorial of n.
n - 2
The next entry in the chain, two lower than n.

For even n the product ends at 2, and for odd n it ends at 1. The convention 0!! = 1 makes the recurrence work at the bottom of the even chain. Double factorials relate to ordinary factorials through 2k double factorial equals 2 to the k times k factorial, while the odd chain connects to binomial coefficients.

Worked example

Example: 8 double factorial

The page opens with n = 8.

  1. Check the parity: 8 is even, so the chain ends at 2.
  2. Start the product at 8.
  3. Multiply by 6 to get 48.
  4. Multiply by 4 to get 192.
  5. Multiply by 2 to get 384.
  6. The tool reports 384, parity Even, and the value at 7 of 105.
  7. Check the odd chain separately: 7 x 5 x 3 x 1 = 105.

Reference table

Double factorials for small n
nn!!Chainn - 1 value
01Evenn/a
11Odd1
48Even3
515Odd8
7105Odd48
8384Even105
9945Odd384

Limits

  • Inputs above 200 are rejected to keep the printed integer manageable.
  • Even and odd chains are separate and do not divide into each other.
  • The value at n minus one comes from the other parity chain.
  • The tool computes the product, not any related integral or volume.

Common mistakes

  • Reading n!! as the factorial of n factorial.
  • Ending the even chain at 1 instead of 2.
  • Taking 0!! to be zero instead of one.
  • Assuming n!! divides n! for every n without checking.
  • Mixing an even chain value with an odd chain index.

Try it yourself

Quick checks. Answers sit tucked under each question.

What is 8!!?

8 x 6 x 4 x 2 = 384.

What is 7!!?

7 x 5 x 3 x 1 = 105.

What is 0!!?

0!! = 1 by convention.

Questions

Is n!! the same as (n!)!?

No. The double marks are a separate operation with a step of two.

What is 0!!?

It is 1, which makes the recurrence consistent at the start of the even chain.

How are even and odd chains related?

They are independent products ending at 2 and 1 respectively.

Where are double factorials used?

In sphere volumes, matchings and integrals with half integer powers.

Are values exact?

Yes. Only integer multiplication is used.

What is the largest input?

Two hundred.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.