Ship stability is an area of
naval architecture and ship design that deals with how a ship behaves at sea, both in still water and in waves, whether intact or damaged. Stability calculations focus on the
center of gravity,
center of buoyancy, and metacenter of vessels and on how these interact.