In practice, most shipping companies calculate freight rates on a weight or volume basis.