# Stirling's approximation of factorial

Online calculator computes Stirling's approximation of factorial of given positive integer (up to 170!)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/170/. Also, please do not modify any references to the original work (if any) contained in this content.

Factorial n! of a positive integer n is defined as:

The special case 0! is defined to have value 0! = 1

There are several approximation formulae, for example, Stirling's approximation, which is defined as:

For simplicity, only main member is computed

with the claim that

This calculator computes factorial, then its approximation using Stirling's formula. Also, it computes lower and upper bounds from inequality above.

Unfortunately, because it operates with floating-point numbers to compute approximation, it has to rely on Javascript numbers and is limited to 170!

For the UNLIMITED factorial, check out this unlimited factorial calculator

## Comments