Budhayana (also spelled Baudhayana), an ancient Indian mathematician from around 800 BCE, first calculated the value of pi. His Sulba Sutras contain the value of pi as 3.09, and he also laid down principles for geometry and what later became the Pythagorean theorem, predating Pythagoras by centuries.