Vertical distance from keel to the metacentre M; sum of KB (keel to centre of buoyancy) and BM (metacentric radius).
Regulatory detail & full definition
Read from the hydrostatic curves at the relevant draft. Together with KG it gives GM = KM - KG. KM increases as the ship heels (the metacentre moves), but for small angles KM is treated as constant for stability calculations.