 By the end of the 19th century, formulas were discovered to calculate pi without the need for geometric diagrams.These formulas used infinite series and trigonometric functions to calculate pi to hundreds of decimal places.Computers were used in the 20th century to calculate pi and its value was known to one billion decimals places by 1989.