Calulate the capacity of a tin can.