The law of flotation: When a body floats in a liquid, the weight of the liquid displaced by its immersed part is equal to the total weight of the body.
While floating, the weight of the floating body = Weight of the liquid displaced by its immersed part.