The total distance, measured as a straight line, between the apical and basal extremities of a shell.