For a small heel of a floating body in a uniform fluid, the metacentre is the intersection of the new vertical buoyancy line with the original vertical through the centre of buoyancy. With the centre of mass a signed distance above the original centre of buoyancy, the metacentric height is . Here is the waterplane second moment of area about the heel axis and the displaced volume. Positive gives a restoring small-angle torque and negative gives instability. The formula describes local static stability, not all large-angle behaviour or effects of free liquid surfaces inside the body.
New to topics? Read the docs here!