CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Stirling's approximation

approximation for factorials

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionAug 31, 2026
Entity authorityQ470877
Source-derived summary

In mathematics, Stirling's approximation (or Stirling's formula) is an asymptotic approximation for factorials. It is a good approximation, leading to accurate results even for small values of

n

{\displaystyle n}

. It is named after James Stirling, though a related but less precise result was first stated by Abraham de Moivre.

One way of stating the approximation involves the logarithm of the factorial:

ln

n

!

=

n

ln

n

n

+

O

(

ln

n

)

,

{\displaystyle \ln n!=n\ln n-n+O(\ln n),}

where the big O notation means that, for all sufficiently large values of

n

{\displaystyle n}

, the difference between

ln

n

!

{\displaystyle \ln n!}

and

n

ln

n

n

{\displaystyle n\ln n-n}

will be at most proportional to the logarithm of

n

{\displaystyle n}

. In computer science applications such as the worst-case lower bound for comparison sorting, it is convenient to instead use the binary logarithm, giving the equivalent form

log

2

n

!

=

n

log

2

n

n

log

2

e

+

O

(

log

2

n

)

.

{\displaystyle \log _{2}n!=n\log _{2}n-n\log _{2}e+O(\log _{2}n).}

The error term in either base can be expressed more precisely as

1

2

log

(

2

π

n

)

+

O

(

1

n

)

{\displaystyle {\tfrac {1}{2}}\log(2\pi n)+O({\tfrac {1}{n}})}

, corresponding to an approximate formula for the factorial itself,

n

!

2

π

n

(

n

e

)

n

.

Editorial summary

This brief starts where responsible research should: with the source description of “Stirling's approximation” as approximation for factorials. Everything that follows is an evidence route, not borrowed authority.

Editorial reviewA concise reference frame for defining the subject, testing terminology and identifying the institution closest to the evidence. The current 249-word lead offers orientation but no explicit four-digit date, so chronology should not be assumed. The selected authority fields contribute no independent date. The account is most persuasive where Stirling's, approximation and factorials can be independently traced.
Editorial analysis

Why this record matters

The subject matters to the general reference register because the source frames it as approximation for factorials. Its deeper value depends on whether names, dates, institutions and citations support that framing.

Evidence profile

The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Aug 31, 2026. The linked authority identifier is Q470877.

Critical limits

Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Stirling's approximation”, its source revision and the description used here.
  2. Expand the search: follow Stirling's approximation primary sources, Stirling's approximation archive and Stirling's research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Stirling's approximation”?
  2. Which cited source is closest to the event, object or claim?
  3. What terminology or title could unlock a more precise catalogue search?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Stirling's approximation” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.