
Content Curator
Stirling’s formula, also known as Stirling's approximation formula, is an approximation of relatively large numbers. Stirling formula is generally used to determine the approximate value of a factorial function (n!). There has been evidence of the Stirling formula being used for Gamma functions as well. Apart from that, it is also apparently used in applied mathematics for determining factorials of large numbers. In simple words,
Also Read: Application of Integrals
| Table of Content |
Key Takeaways: Stirling Formula, Stirling approximations, Integers, Factorials, Formula
What is Stirling’s Formula?
[Click Here for Sample Questions]
Before understanding what Stirling's Formula is, we need to understand the meaning of a factorial. A factorial is a continuous chain of multiplication of a given positive integer with the numbers coming below it. For example, the quantity of three factorials can be determined by the following way: (3!) = 3 X 2 X 1 = 6. The symbol that helps identify factorials is “n!”, wherein ‘n’ is the known integer.
As much as there is a factorial of small numbers, there is more of larger numbers too. The issue with larger numbers is their factorial can give an extremely lengthy answer, which is what makes it unlikely to be determined. As we reach 11!, the numbers hike and consequently give results in millions, making it difficult for an individual to determine its value by mere multiplication.
However, the issue of determining factorials of large numbers was minimized when James Stirling, a Scottish Mathematician, first introduced his now popular approximate formula. Stirling’s approximation formula gave a roughly accurate idea of the size of n!, with an error margin close to minimal. Stirling’s formula is now widely used by many to establish the factorial value of a positive integer without having to find the product by continuous multiplication.
Also Check: Permutations and Combinations
Determine Stirling’s Approximation Formula
[Click Here for Sample Questions]
Stirling’s formula or Stirling approximation is usually used to determine the approximate value of a factorial of a positive integer. Stirling’s formula came into effect after James Stirling found out that it took larger effort to determine the factorial value of comparatively bigger numbers, like for instance, “74!”.
Stirling's approximation formula helps establish the factorial of a number extremely close to the actual value. Usually, Stirling’s formula gives an error of roughly 2%, or even less oftentimes, based on the number given to determine.
Stirling’s approximation formula can be determined by the following equation:
Stirling’s formula = n! ≈ √2πn ( n/e)n (wherein ~ denotes that the ratio of two quantities moves to 1 as n →∞) or ln n! ≈ n ln n-n (wherein ln is the natural logarithm of the equation)
Different cases use different variations of Stirling’s formula. One of the derivations of Stirling’s approximation formula uses probability distribution function which in turn establishes normal distribution for larger numbers.
Read More: Probability
Things to Remember
- A factorial is the product of a positive integer, multiplied with the numbers coming after it. For instance, the factorial of the number 4! is 4 * 3 * 2 * 1, the product of which is typically equal to 24.
- The symbol that helps identify factorials is “n!”, wherein ‘n’ is the known integer.
- James Stirling, a Scottish Mathematician, first introduced the famous approximate formula after he found that determining the average value of a factorial, especially if it is a large number, becomes tedious.
- Stirling’s approximation formula gave a roughly accurate idea of the size of n!, with an error margin close to 2%, or even minimal.
- Stirling’s approximation formula can be determined by the following equation: Stirling’s formula = n! ≈ √2πn ( n/e)n or ln n! ≈ n ln n-n (wherein ln is the natural logarithm of the equation)
Sample Questions
Ques. Determine the factorial of 11 by following the approximation formula of Stirling’s formula. (3 marks)
Therefore, by using the formula, it can be said,
11! ≈ √2π 11 11 + ½ * e −11
Hence, 11! = √(2 × π × 11) (11/e)11
= 39615625.05
Thus, the approximate factorial value of 11 is 39615625.05.
Ques. Determine the factorial value of 5 by using the following equation of Stirling approximation formula. (2 marks)
Ans: The factorial value of 5 can be determined by the approximation equation of Stirling’s formula, which is given by: n! = √(2 × π × n) (n/e)n
5 factorial, or 5! = √(2 × π × 5) (5/e)5
= 118.019
Thus, the approximate factorial value of 5 is 118.019, with a margin error of about 1.66 per cent.
Ques. Determine the factorial value of 8 by using Stirling’s formula. (3 marks)
Thus, the values of (√(2 × π × n) (n/e)n) can substituted with real value by,
8! = √(2 × π × 8) (8/e)8
= 39902.40
Hence, the approximate value of 8! is 39902.40.
It has a margin error of roughly about 1.05 per cent.
Ques. What is the approximate value of 6!. What is its margin of error? (3 marks)
After substituting the values, we get,
The equation claims:
Thus, 6! = √(2 × π × 6) (6/e)6
6! = 710.08
The margin of error of 6! is 2.81%.
Hence, the approximate value of 6! Is 710.08.
Ques. What is the factorial value of 13!? Determine the value by using Stirling’s Formula. (2 marks)
After substituting the values, we get,
Thus, 13! = √(2 × π × 13) (13/e)13
13! = 6187239475.19
Hence, the approximate factorial value of 13! is roughly about 6187239475.19.
Ques. Determine Stirling’s Interpolation Formula. (4 marks)
Ans: We can determine Stirling’s Interpolation Formula by the following step by step procedure,

Wherein, as per what was determined prior, 
The above equation has been derived from Gauss’ first and second interpolation formulae.
Ques. Derive the factorial value of 10!. Determine using Stirling’s formula. (3 marks)
Thus, by replacing the values, we get,
10! = √(2 × π × n) (n/e)n
10! = √(2 × π × 10) (10/e)10
10! = 3598695.62
It has a margin error of roughly about 0.84 per cent.
Ques. Derive the factorial value of 7! By using the equation of Stirling’s formula. (3 marks)
Stirling’s Formula = n! ≈ √2π nn+½ e−n [or, √(2 × π × n) (n/e)n]
Thus, by replacing the values, we get,
Thus, by replacing the values, we get,
7! = √(2 × π × n) (n/e)n
7! = √(2 × π × 7) (7/e)7
7! = 4980.39583
It has a margin error of roughly about 1.20 per cent.
Also Read:






Comments