calculating pi

What’s the mathematical procedure involved in calculating pi. Say you’ve got pi worked out to the first 100 digits; how, then, do you figure out the 101st?
(Yes, I know computers have been used to calculate pi far beyond the first 100 digits, but that’s precisely my question: what is it, exactly, that a computer is “doing” here to calculate each subsequent significant digit?)