Calculation of the weight of cargo loaded or unloaded to or from a ship from measurement of changes in its displacement.