How can you use pi to workout the size of the universe?

i see a video on numberphile where they said you can use 39 digits of pi to workout the size of the universe, but why? what is the actual mathematics and theory behind it. also, how did they find out about you only need 39 digits.
Appreciate any help:)
4 answers 4