In geometry, the radius of a circle or sphere, written as formula_1, is the shortest connection between the center and the boundary. It is either the distance from the center to the perimeter (in the case of a circle), or the distance from the center to the surface (in the case of a sphere). It is half of the diameter. That is, when "r" is the radius and "d" is the diameter: