any formula with pi in it can be switched around so that pi is on one side of the equation and everything else is on the other side.
ex.
C = circumference of a circle
r = radius of a circle
C = 2 * pi * r
or
C / 2 = pi * r
or C / (2r) = pi
Therefore: pi = C / (2r)