Pi is the ratio of a circle's circumference to its radius squared.
Diameter . In this sense one speaks of the diameter rather than a diameter ( which refers to the line itself ) , because all diameters of a circle or sphere have the same length , this being twice the radius r. The number is a mathematical constant , the ratio of a circle 's circumference to its diameter , commonly approximated as 3.14159 .