Maybe you've misunderstood something ...

The cirumference of a circle is calculated by , where p means perimeter and d is the diameter of the circle.

Rearranging this equation you'll get

So maybe you've heard that theratioof these 2 lengthes is a fixed value of nearly 3.