Calculates the volume of a cone as π × radius² × height ÷ 3, exactly one third of the cylinder with the same base and height.
A cone rises from a circular base to a single point, the apex. Its volume is exactly one third of the cylinder that shares its base and its height.
With the defaults, a radius of and a height of . The base area is , so
The volume is about 56.5487. A cylinder with the same base and height would hold , and the cone is precisely a third of that.
The height is the perpendicular distance from the base to the apex, not the slant height, which is the sloping line from the apex down to the rim. If you know the slant height but not , recover the height with before using the formula. Forget to divide by 3 and you have computed the cylinder instead. Pyramids obey the same rule: base area times height, divided by three. Both the radius and the height must be positive.