you figure it by rim diameter + tire size X 2, then multiply that by 3.14~
700C rim is 622mm.
(622 + (42*2)) x Pi
I come up with 2218
But a rollout and measure method is more accurate. Rim width, tire tread, and manufacturing diffrences will change that.