Double Factorial Calculator

Double factorial value3,840
9!! (opposite parity companion)945
Number of factors multiplied5
Ratio 10!! / 9!!4.0635
How this was calculated
  1. The double factorial n!! multiplies only every second number: for odd n the odd numbers down to 1, for even n the even numbers down to 2. Written out, 10!! = 10 x 8 x 6 x 4 x 2 = 3,840.
  2. It is not the factorial of a factorial - 10!! skips half the factors, which is why it grows much more slowly than 10! would.
  3. The opposite parity companion is 9!! = 945, and the ratio of the two is 4.0635; ratios like this are the raw material of the Wallis product for pi.
  4. Double factorials surface in the volumes of n-dimensional spheres, in Gaussian integrals of even and odd powers, and in counting perfect matchings of complete graphs.

A double factorial calculator multiplies every other number down from your starting value, not every number. That is the key difference from an ordinary factorial. For 10!!, the answer is 3,840, the product 10 x 8 x 6 x 4 x 2. For 15!!, the result is 2,027,025, a product of 8 odd factors. The pattern holds for smaller inputs too: 7!! = 105, while its opposite-parity companion 6!! = 48. A double factorial is not the factorial of a factorial; it skips every second factor, which is why 9!! = 945 and the ratio 10!! / 9!! is 4.0635. Enter a value and the calculator returns the double factorial along with the full chain of factors behind it.

This skip-every-other-factor method is the accepted standard because it matches the definition used throughout mathematics, so results line up with published tables and with related identities. Those ratios are not a curiosity: the ratio 15!! / 14!! is 3.1421, close to pi, and ratios of double factorials are the raw material of the Wallis product for pi. This page shows the formula, step-by-step workings, worked examples and sources, so you can check each result by hand rather than trusting a black box.

Worked examples

10!!

(10)

Double factorial value3,840
9!! (opposite parity companion)945
Number of factors multiplied5
Ratio 10!! / 9!!4.0635

15!!

(15)

Double factorial value2,027,025
14!! (opposite parity companion)645,120
Number of factors multiplied8
Ratio 15!! / 14!!3.1421

7!!

(7)

Double factorial value105
6!! (opposite parity companion)48
Number of factors multiplied4
Ratio 7!! / 6!!2.1875

How the double factorial is calculated

A double factorial is built by multiplying a number by every second integer below it, counting down to 2 or 1. For an even number n, n!! is the product n × (n − 2) × (n − 4) × … down to 2. For an odd number n, n!! is the product n × (n − 2) × (n − 4) × … down to 1. The pattern is the same in both cases; only the stopping point changes. A double factorial calculator applies that rule directly, so you do not have to track the descending steps by hand.

The even case is easiest to see in full. Take 10!!: it is the product 10 x 8 x 6 x 4 x 2, which equals 3,840. Notice that 10, 8, 6, 4 and 2 are every other integer from 10 down, so five factors appear. The odd case works the same way with odd factors. For 7!!, the factors are 7, 5, 3 and 1, giving 105. Its opposite-parity companion, 6!!, equals 48. Larger inputs follow the identical rule: 15!! = 2,027,025 is a product of 8 odd factors, and 9!! = 945.

The key point that separates n!! from other notations is that a double factorial is not the factorial of a factorial. It skips every second factor rather than multiplying every integer. So 10!! is not (10!)! and is not 10! either; 10! would multiply all ten integers from 10 down to 1, while 10!! uses only the five even ones. The double exclamation mark is a shorthand for that alternating product, not a repeated factorial operation.

Ratios of double factorials are worth knowing because they show how these products behave relative to each other. The ratio 10!! / 9!! is 4.0635, and the ratio 15!! / 14!! is 3.1421, which is close to pi. In fact, ratios of double factorials are the raw material of the Wallis product for pi. That connection is one reason double factorials appear in probability, combinatorics and calculus, beyond being a neat counting exercise.

To use a double factorial calculator, enter a nonnegative integer and let it handle the descending product. Checking a couple of small cases first, like 7!! = 105 or 10!! = 3,840, helps confirm you understand which factors are included before you move to larger values such as 15!!.

  • Even n: multiply n, n − 2, n − 4, … down to 2. Example: 10!! = 10 x 8 x 6 x 4 x 2 = 3,840.
  • Odd n: multiply n, n − 2, n − 4, … down to 1. Example: 7!! = 7 x 5 x 3 x 1 = 105.
  • Not the same as n! or (n!)!: a double factorial skips every second factor instead of multiplying every integer.
  • Ratio check: 10!! / 9!! = 4.0635, and 15!! / 14!! = 3.1421, close to pi.
A double factorial skips every second factor: 10!! = 3,840 (five even factors), while 7!! = 105 (four odd factors). It is not (10!)! or 10!.

The opposite-parity companion

A double factorial never stands entirely alone. For every n!! there is a companion at (n-1)!!, the double factorial of the next integer down, and that companion always has the opposite parity: if n is even, (n-1) is odd, and if n is odd, (n-1) is even. Putting the two side by side is one of the quickest ways to see how a double factorial calculator works and why the skip-every-second-factor rule matters.

Take the smallest of our examples. We know 7!! = 105, while its opposite-parity companion 6!! = 48. The odd number 7 contributes the odd factors 7 x 5 x 3 x 1, and the even number 6 contributes 6 x 4 x 2. Now move up to 9!! = 945. Its companion is 8!!, and the ratio 10!! / 9!! is 4.0635 — a pairing that crosses the parity line, with the even 10!! = 3,840, the product 10 x 8 x 6 x 4 x 2, sitting over the odd 9!! = 945. At the larger end, 15!! = 2,027,025, a product of 8 odd factors, and the ratio 15!! / 14!! is 3.1421, close to pi.

That last figure is not a coincidence. Ratios of double factorials are the raw material of the Wallis product for pi, so the opposite-parity companion is more than a curiosity — it is the quantity that makes those ratios possible. Each pair gives you one even product and one odd product of nearly the same length, and dividing one by the other produces a number that settles toward pi as n grows.

The lesson for anyone using a double factorial calculator is to keep the parity straight. A double factorial is not the factorial of a factorial: it skips every second factor, so 10!! is not 10! times anything — it is simply 10 x 8 x 6 x 4 x 2. Check the companion too: if your n is even, (n-1)!! will be the odd product, and if n is odd, (n-1)!! will be the even one. Computing both and comparing them is a fast sanity check on any result.

  • 7!! = 105; companion 6!! = 48
  • 9!! = 945; the ratio 10!! / 9!! is 4.0635
  • 15!! = 2,027,025 (8 odd factors); the ratio 15!! / 14!! is 3.1421, close to pi
Ratios of double factorials are the raw material of the Wallis product for pi — which is why the opposite-parity companion deserves a second look.

Double factorials and the Wallis product

The Wallis product is one of the oldest infinite products for pi, and its ingredients are exactly the ratios this double factorial calculator computes. The idea is to compare products of even numbers with products of odd numbers. A double factorial is not the factorial of a factorial: it skips every second factor. So 10!! = 3,840, the product 10 x 8 x 6 x 4 x 2, while 15!! = 2,027,025, a product of 8 odd factors. Pairing an even double factorial with the odd double factorial just above it gives a ratio that creeps toward pi as the numbers grow.

Small cases show the mechanism at work. Take 7!! = 105, while its opposite-parity companion 6!! = 48. Their ratio, 105 / 48, is about 2.19, still far from pi. Move up and the ratio tightens: 9!! = 945, and the ratio 10!! / 9!! is 4.0635. By the mid-teens the agreement is striking: the ratio 15!! / 14!! is 3.1421, close to pi. Ratios of double factorials are the raw material of the Wallis product for pi, and each successive pair of terms in that product is built from exactly this kind of even-over-odd or odd-over-even comparison.

Why does the ratio settle down? Each new factor in a double factorial is only slightly larger than the matching factor on the other side of the parity line, so the ratio's movement shrinks as the factors grow. The Wallis product strings these comparisons together, and the partial products converge to pi. A double factorial calculator makes the experiment easy: enter a number, read the double factorial, then divide by the double factorial of the neighboring integer and watch the result move toward 3.14159... The convergence is slow but visible, which is why the Wallis product is valued more as a historical and conceptual bridge than as a fast way to compute digits.

The same ratios appear in probability and combinatorics, where counting arrangements of even and odd objects produces double factorial terms. Seeing 15!! / 14!! = 3.1421 also guards against a common error: treating a double factorial as an ordinary factorial of a factorial. The two behave very differently, and only the skip-every-second-factor definition produces the Wallis ratios that approach pi.

  • 10!! = 3,840 (10 x 8 x 6 x 4 x 2); 15!! = 2,027,025 (8 odd factors)
  • 7!! = 105 and 6!! = 48
  • 9!! = 945; 10!! / 9!! = 4.0635
  • 15!! / 14!! = 3.1421, close to pi
  • A double factorial skips every second factor; it is not the factorial of a factorial
The ratio 15!! / 14!! = 3.1421 is close to pi. Ratios of double factorials are the raw material of the Wallis product for pi.

Where double factorials appear

Double factorials turn up in places where a product naturally skips every second number. A double factorial is not the factorial of a factorial: it skips every second factor. So 10!! = 3,840, the product 10 x 8 x 6 x 4 x 2, and 15!! = 2,027,025, a product of 8 odd factors. Keeping that definition in mind makes it easier to see why the same pattern of every-other-term multiplication shows up in geometry, in calculus, and in counting problems — and why a double factorial calculator is handy when those products get long.

In geometry, double factorials describe the volume of an n-sphere, the higher-dimensional analog of a ball. The formulas for these volumes carry double factorials in their coefficients, so the volume of a 10-dimensional or 15-dimensional sphere is written with terms like 10!! or 15!! rather than a plain factorial. The values are not small: 15!! = 2,027,025, a product of 8 odd factors, and that number appears in the coefficient for the corresponding dimension. Because the parity of the dimension decides whether the odd or even double factorial applies, the two cases are usually written as separate formulas.

In calculus, double factorials organize Gaussian integrals of powers of x. When you integrate x raised to an even or odd power against a Gaussian weight over the whole real line, the answer reduces to a double factorial of the appropriate parity, divided by a power of two and multiplied by a square root of pi. The parity matters: 7!! = 105, while its opposite-parity companion 6!! = 48, and those two values belong to different families of integrals. This is one of the most common reasons people reach for a double factorial calculator — the products grow quickly and the odd and even cases are easy to mix up.

Double factorials also count perfect matchings: the number of ways to pair up all members of a set of even size is given by a double factorial. The same every-other-factor structure that produces 9!! = 945 makes these pairing counts grow fast, and the ratio 10!! / 9!! is 4.0635, showing how sharply consecutive values diverge. Ratios of this kind are the raw material of the Wallis product for pi: the ratio 15!! / 14!! is 3.1421, close to pi. That connection is a good reminder of why the odd and even sequences are usually studied together.

Ratios of consecutive double factorials approach pi: 15!! / 14!! = 3.1421, the basis of the Wallis product.

FAQs

What is 10!!?

10!! equals 3,840. You get it by multiplying every second number down from 10: 10 x 8 x 6 x 4 x 2. Notice the odd numbers are skipped entirely, so the result is much smaller than 10! (which multiplies all ten numbers from 10 down to 1).

What is 15!!?

15!! equals 2,027,025. That is the product of the 8 odd numbers from 15 down to 1: 15 x 13 x 11 x 9 x 7 x 5 x 3 x 1. Because it skips every even factor, the answer is far smaller than the regular factorial of 15.

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

No. The double factorial skips every second factor, so 7!! is only 105 (7 x 5 x 3 x 1). Writing (n!)! means something very different: you first take the full factorial, then take the factorial of that result, which grows enormously faster.

What is 0!! and 1!!?

By convention both 0!! and 1!! are 1, following the idea of the empty product. This calculator starts at n = 2, so those special cases are handled by the standard convention rather than computed step by step.

Why does 15!! / 14!! look like pi?

The ratio 15!! / 14!! is 3.1421, which is close to pi. This is not a coincidence: ratios of double factorials build the Wallis product, a classic formula that approaches pi as you keep extending the pattern of factors.

How large can n be in this calculator?

You can enter n up to 29. Keeping the limit there means every value stays exact in the browser, with no rounding or overflow. Larger inputs would produce numbers too big to display precisely, so they are left out.

Sources

Related calculators

Factorial Calculator
Exact factorials up to 170! computed with arbitrary-precision integers — no scientific-notation rounding — with the digit count and trailing zeros (Legendre's formula) explained.
Permutations Calculator
Permutations P(n, r), combinations C(n, r), permutations with repetition and n factorial, with large results in compact form.
Harshad Number Checker
Tests whether a number is a Harshad (Niven) number - divisible by the sum of its digits - with the digit sum, the division and the next Harshad number.