Factorial and Double Factorial Table & Graph Calculator

Factorial and Double Factorial Table & Graph Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

x!=Γ(x+1)=∏k=1xkx=xmin⁡(Δ)xmax⁡{x!} = \Gamma(x+1) = \prod_{k=1}^{x} k \qquad x = {{x_{\min}}} \,({\Delta})\, {{x_{\max}}}
Usage stats

Advertisement

Results

Table of x!
13 rows
x x!
0.00000 1.00000
1.00000 1.00000
2.00000 2.00000
3.00000 6.00000
4.00000 24.0000
5.00000 120.000
6.00000 720.000
7.00000 5040.00
8.00000 40320.0
9.00000 362880
10.0000 3.62880e+06
11.0000 3.99168e+07
12.0000 4.79002e+08

Report an error on this page

What this calculator does

This tool builds a table — and a line graph — of one of four related quantities over a range of x values: the factorial x!, its natural logarithm ln(x!), the double factorial x!!, or its natural logarithm ln(x!!). It is pure mathematics and applies identically everywhere; no units or country rules are involved.

How to use it

Pick a function from the dropdown, then enter the start of the range (Range x from), the end (Range x to), and the Increment (step). Rows are generated for x = from, from+step, from+2·step, … up to and including the upper bound. The increment must be greater than zero, and a maximum of 101 rows is produced to keep tables manageable.

Smooth Gamma function curve passing through integer factorial points
The Gamma function extends the factorial to a smooth continuous curve.

The formula explained

The factorial is the product 1·2·3·…·x with \(0! = 1\). To allow large values and continuous graphing it is evaluated as the gamma function, $$x! = \Gamma(x+1),$$ and the logarithm uses the log-gamma function $$\ln(x!) = \ln\Gamma(x+1)$$ so huge numbers never overflow. The double factorial multiplies every second term: \(6!! = 6\cdot 4\cdot 2 = 48\), while \(5!! = 5\cdot 3\cdot 1 = 15\). The base cases are \(0!! = 1\), \(1!! = 1\) and \((-1)!! = 1\). Negative integers make the factorial undefined (gamma has poles there), so those rows report "undefined".

Advertisement

Worked example

Choosing x! with range 0 to 6 and step 1 gives seven rows: \(0!=1\), \(1!=1\), \(2!=2\), \(3!=6\), \(4!=24\), \(5!=120\), \(6!=720\). Switching to ln(x!) at \(x=6\) gives \(\ln(720) \approx 6.5793\), and ln(x!!) at \(x=5\) gives \(\ln(15) \approx 2.7081\).

Two factorial multiplication chains compared
Factorial multiplies every integer down to 1, while double factorial skips every other integer.

FAQ

Can x be a fraction? Yes. Non-integer arguments use the gamma-based continuous forms, so the curve is smooth.

Why does a row say "infinity"? Factorials grow extremely fast (\(70! \approx 1.2\times 10^{100}\)); when a value exceeds double precision it is flagged as infinity — use the ln variant instead, which stays finite.

Why is there a 101-row cap? To prevent runaway tables; narrow the range or increase the step to fit.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators