The capacity of a soda can be calculated using the formula.
πr2h
A soda can is a rough example of a cylinder.
The volume of a cylinder is πr2h.
The capacity of any vessel is its internal volume so, the capacity of a soda can be calculated using the formula πr2h.
Where,
r = base radius of the can
h = height of the can