Pi Approximations
Convergents of the pi continued fractions are the simplest approximants to
. The first few
are given by 3, 22/7, 333/106, 355/113, 103993/33102, 104348/33215, ... (OEIS A002485 and A002486),
which are good to 0, 2, 4, 6, 9, 9, 9, 10, 11, 11, 12, 13, ... (OEIS A114526)
decimal digits, respectively.
Two approximations follow from the near-identity function
evaluated at
and
, giving
|
(1)
| |||
![]() |
(2)
|
which are good to 2 and 3 digits, respectively.
Kochanski's approximation is the root of
|
(3)
|
given by
|
(4)
|
which is good to 4 digits.
Another curious fact is the almost integer
|
(5)
|
which can also be written as
|
(6)
|
|
(7)
|
Here,
is Gelfond's
constant. Applying cosine a few more times gives
|
(8)
|
Another approximation involving
is given by
|
(9)
|
which is good to 2 decimal digits (A. Povolotsky, pers. comm., Mar. 6, 2008).
An apparently interesting near-identity is given by
|
(10)
|
which becomes less surprising when it is noted that 555555 is a repdigit, so the above is just a special case of the near-identity
![]() | ![]() |
(11)
| |
|
(12)
|
with
and
.
An approximation involving the golden ratio
is
|
(13)
| |||
|
(14)
| |||
|
(15)
| |||
|
(16)
|
which is good to 4 digits. A similar approximation due to S. Mircea-Mugurel (pers. comm., Oct. 30, 2002) is given by
|
(17)
|
which however is only good to two decimal places. Another approximation involving the golden ratio
is given by
|
(18)
|
which is good to 7 digits (K. Rashid, pers. comm.).
Some approximations due to Ramanujan include
|
(19)
| |||
|
(20)
| |||
|
(21)
| |||
|
(22)
| |||
|
(23)
| |||
|
(24)
| |||
|
(25)
| |||
![]() |
(26)
| ||
|
(27)
| |||
|
(28)
| |||
![]() |
(29)
|
which are accurate to 3, 4, 4, 8, 8, 9, 14, 15, 15, 18, 23, 31 digits, respectively (Ramanujan 1913-1914; Hardy 1952, p. 70; Wells 1986, p. 54; Berndt 1994, pp. 48-49 and 88-89). Equation (◇) and the similar
|
(30)
|
are also given by Borwein and Bailey (2003, p. 135). Ramanujan also gave
|
(31)
|
(Wells 1986, p. 54).
S. Irvine (pers. comm.) noted that (◇), giving an approximation to
good to 8 digits, can be written in a pandigital
form (i.e., using all digits 0-9 exactly once) as
![]() |
(32)
| ||
|
(33)
| |||
|
(34)
|
(S. Plouffe, pers. comm.; cf. Wells 1986, p. 54). E. Pegg (pers. comm.) found the pandigital approximation
|
(35)
|
which approximates
to 9 digits. Another pandigital
formula is given by
|
(36)
|
(B. Astle, pers. comm., Jan. 9, 2004), which approximates
to 9 digits. Surpassing
both of these is the pandigital approximation
|
(37)
|
which gives 10 correct digits (B. Ziv, pers. comm., Jul. 7, 2004). A further pandigital approximation is given by
![]() |
(38)
|
which is good to 17 digits (G. W. Barbosa, pers. comm.).
M. Schneider (pers. comm., May 6, 2008) found the approximation
|
(39)
|
which is good to 3 decimal digits. P. Lindborg (pers. comm.) noted that the convergent 104348/33125 can be written in the slightly curious form
|
(40)
|
which is good to 9 digits.
Other approximations due to E. Pegg include
|
(41)
|
which is good to 6 digits (pers. comm., March 2, 2002) and
|
(42)
|
which is good to 9 digits (pers. comm., Dec. 30, 2002).
A simple approximation involving the cube root is
|
(43)
|
which is good to 3 digits (M. Joseph, pers. comm., May 3, 2006). A more exotic one is given by
|
(44)
|
which is good to 4 digits (M. Joseph, pers. comm., May 3, 2006).
Castellanos (1988ab) gives a slew of curious formulas:
|
(45)
| |||
|
(46)
| |||
|
(47)
| |||
|
(48)
| |||
|
(49)
| |||
|
(50)
| |||
|
(51)
| |||
|
(52)
| |||
|
(53)
| |||
|
(54)
| |||
|
(55)
| |||
|
(56)
| |||
|
(57)
|
which are accurate to 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, and 13 digits, respectively. An extremely accurate approximation due to Shanks (1982) is
|
(58)
|
where
is the product of four simple quartic
units.
David W. Hoffman (pers. comm.) gave
|
(59)
|
where the numerator is one googol, which is good to 9 digits. The approximations
|
(60)
| |||
|
(61)
|
give 2 digits (G. von Hippel, pers. comm.).
A sequence of approximations due to Plouffe and Borwein and Bailey (2003, pp. 115 and 134-135) includes
|
(62)
| |||
|
(63)
| |||
|
(64)
| |||
|
(65)
| |||
|
(66)
| |||
|
(67)
| |||
|
(68)
| |||
|
(69)
| |||
|
(70)
| |||
|
(71)
| |||
|
(72)
| |||
|
(73)
|
which are accurate to 4, 5, 7, 7, 9, 10, 11, 11, 11, 15, 23, and 30 digits, respectively.
The last expression, which follows from the series expansion of the j-function. Carrying this one step further gives
|
(74)
|
|
(75)
|
|
(76)
|
|
(77)
|
giving
|
(78)
|
which is good to 46 decimal digits (Warda, pers. comm., Nov. 15, 2004).
Interestingly,
gives successively good approximations to
for larger and
larger
(Warda, pers. comm., Nov. 22, 2004).
In particular, the number of correct digits for
, 2, ... are
given by 30, 28, 31, 46, 40, 44, 48, 51, 61, 57, 59, 62, 65 (OEIS A100935).
An approximation due to Stoschek using powers of two and the special number 163 (the largest Heegner number) is given by
|
(79)
|
which is good to 3 digits. A fraction with small numerator and denominator which gives a close approximation to
is
|
(80)
|
Some approximations involving the ninth roots of rational numbers include
|
(81)
| |||
|
(82)
|
which are good to 12 and 15 digits, respectively (P. Galliani, pers. comm.).
de Jerphanion (pers. comm.) found
|
(83)
|
which is good to 9 digits, and J. Iuliano found
|
(84)
|
which is good to 11 digits.
Definite integrals giving approximations to
were considered
by Backhouse (1995) and Lucas (2005).
F. Voormanns (pers. comm., Dec. 12, 2003) found the curious astronomical approximation
|
(85)
|
which is accurate to 8 digits if the year is taken as exactly 365 days, or 6 digits if the average Gregorian year (365.2425 days) or tropical year (365.242190 days) is used.
Rivera gives other approximation formulas.



![(24)/(sqrt(142))ln[(sqrt(10+11sqrt(2))+sqrt(10+7sqrt(2)))/2]](/images/equations/PiApproximations/Inline58.gif)
![4/(sqrt(522))ln[((5+sqrt(29))/(sqrt(2)))^3(5sqrt(29)+11sqrt(6))(sqrt((9+3sqrt(6))/4)+sqrt((5+3sqrt(6))/4))^6],](/images/equations/PiApproximations/Inline67.gif)

![(ln{[2×5!+(8-1)!]^(sqrt(9))+4!+(3!)!})/(sqrt(67)),](/images/equations/PiApproximations/NumberedEquation16.gif)
pi approximations

