Ship Stability Calculator Back
Naval Architecture

Ship Stability & Metacentric Height Calculator

Compute KB, BM, GM and GZ righting lever curve in real time. Automatic IMO A.749 stability assessment with heeled cross-section visualization.

Hull Parameters
Presets
Length L
m
Beam B
m
Draft T
m
Block Coeff. Cb
Barge≈0.9 / Tanker≈0.8 / Container≈0.65
Center of Gravity KG
m
Heel Angle φ (display)
°

While paused, move the sliders to update the result instantly.

Real-time righting animation — the ship heels (rolls)
Metacentric height GM [m]
Righting arm GZ [m]
Heel angle φ [°]
Righting moment [MN·m]
G = centre of gravity, B = centre of buoyancy (shifts to the low side as the ship heels), M = metacentre. The righting arm GZ = GM·sinφ restores the ship to upright. If GM < 0 the ship cannot recover and capsizes. The left-panel sliders update this live.
Results
KB [m]
BM [m]
GM [m]
Max GZ Angle [°]
Stability Range [°]
Displacement [t]
Visualization
GZ Righting Lever Curve
Theory & Key Formulas

Displacement: $\Delta = \rho \cdot L \cdot B \cdot T \cdot C_b$ [t]

$KB = T/2$,   $BM = \dfrac{B^2}{12\,T\,C_b}$,   $GM = KB + BM - KG$

Righting lever (wall-sided approximation): $GZ = \left(GM + \frac{1}{2}BM\tan^2\varphi\right)\sin\varphi$ (simplified at large heel angles)

IMO A.749: $GM \geq 0.15\,\text{m}$, recommended $GM \geq 0.35\,\text{m}$

What is Metacentric Height?

🙋
What exactly is the "GM" value this calculator shows, and why is it so important for ships?
🎓
Basically, GM is the Metacentric Height. It's the vertical distance between the ship's center of gravity (G) and its metacenter (M). Think of it as a measure of the ship's initial resistance to tipping over. A positive GM means the ship will try to right itself back upright when heeled by a small wave or wind gust. Try moving the KG slider up and down in the simulator; you'll see GM change instantly. If KG goes too high, GM becomes negative, and the ship becomes unstable!
🙋
Wait, really? So GM is made from other parts? I see KB, BM, and KG in the formula. What's the "BM" part doing?
🎓
Great question! BM is the distance from the buoyancy center (B) to the metacenter (M). It's all about the shape of the hull underwater. In practice, a wider hull (larger Beam, B) creates a much larger BM, which increases stability. That's why cargo ships are wide! The formula $BM = B^2 / (12 T C_b)$ shows beam is squared, so it's super influential. Play with the Beam (B) and Draft (T) sliders above. You'll see BM shoot up when you increase the beam, giving you a bigger, more stable GM.
🙋
Okay, but the graph shows a "GZ Curve" that isn't a straight line. If GM is for small angles, what happens in a real storm with big rolls?
🎓
Exactly! That's the critical next step. GM only predicts stability for small angles (like under 7-10 degrees). The GZ Righting Lever Curve tells the full story. GZ is the actual horizontal distance creating a righting force. At large angles, the hull shape can cause GZ to peak and then fall to zero—that's the "angle of vanishing stability," where the ship capsizes. For instance, in the simulator, set a high KG and a large Heel Angle. You'll see the GZ curve peak early and crash to zero, failing the IMO safety criteria shown in red.

Physical Model & Key Equations

The fundamental measure of a ship's initial stability is the Metacentric Height, GM. It is derived from the vertical locations of three key points: the Center of Buoyancy (B), the Metacenter (M), and the Center of Gravity (G).

$$GM = KB + BM - KG$$

KB = Vertical distance from Keel to Buoyancy center (~T/2 for simple forms). BM = Metacentric radius, based on hull waterplane inertia. KG = Vertical distance from Keel to the ship's total Center of Gravity (loaded condition).

The righting lever, GZ, is the actual restoring arm. At small angles, it approximates to GM·sinφ. However, for large-angle stability assessment (like the IMO criteria), the exact GZ must be calculated from the detailed hydrostatics of the heeled hull shape.

$$GZ(\phi) \approx GM \cdot \sin\phi \quad \text{(for small }\phi \text{)}$$

GZ(φ) = Righting lever at heel angle φ [m]. φ = Heel angle [deg or rad]. The full GZ curve reveals the maximum righting energy and the angle at which the ship can no longer recover (GZ=0).

Real-World Applications

Ship Design & Class Approval: Naval architects use these exact calculations to ensure a new vessel design meets strict international safety codes (like IMO A.749). The simulator's automatic "PASS/FAIL" check mirrors the first-stage assessment done before costly model testing or detailed CAE analysis.

Loading Master Operations: On a container ship or bulk carrier, the Captain and Loading Master must calculate stability for every loading condition. They adjust the KG by carefully placing heavy cargo lower in the holds. A high KG from top-heavy cargo dangerously reduces GM.

CAE Simulation Input: The GM and initial GZ curve are critical initial conditions for advanced, time-domain simulations. For instance, in an LS-DYNA Fluid-Structure Interaction (FSI) analysis of a ship in waves, these values define the starting stability for the simulated motion.

Accident Investigation: After a capsizing, investigators reconstruct the vessel's loading condition to calculate its KG and GM. This helps determine if instability from improper loading was a root cause, as was a factor in the MV Cougar Ace incident.

Common Misconceptions and Points to Note

When you start using this kind of tool, there are a few common pitfalls. First, the misconception that "a larger GM is always better". While a small GM indeed poses a risk of capsizing, one that is too large makes the ship's roll motion more abrupt and harsh. For example, a small workboat with a GM exceeding 3m can roll sharply in waves, causing seasickness among the crew or shifting cargo. It's important to understand the trade-off between stability and ride comfort.

Next, how to determine the input value "Vertical Center of Gravity (KG)". It's risky to input a rough guess like "the ship's center of gravity is probably around the middle, right?". In practice, you calculate it by considering the lightship's center of gravity plus all loaded weights (cargo, fuel, crew) and their positions. For instance, a half-empty fuel tank can shift the center of gravity. This tool calculates based on the assumption that "the given KG is correct", so estimating the KG itself is a separate, crucial task.

Finally, the limitation of the approximation "initial slope of the GZ curve = GM". At small heel angles $GZ \approx GM \cdot \sin\phi$ is useful, but this tool now plots the simplified wall-sided expression $GZ=(GM+0.5BM\tan^2\phi)\sin\phi$. It still does not model deck immersion, free-surface correction, or complex hull geometry, and the B/M points in the cross-section are schematic markers. For detailed assessment, use stability software based on the actual hull form.

How to Use

  1. Enter hull dimensions: Length (LVal) in metres, Beam (BWVal), Draft (TWVal), and Block Coefficient (CbVal, typically 0.70–0.85 for cargo ships).
  2. The calculator automatically computes KB (centre of buoyancy height), BM (metacentric radius), and GM (metacentric height) using hydrostatic formulae: BM = I/V where I is second moment of waterplane area and V is displaced volume.
  3. Review output metrics including maximum GZ righting lever angle, stability range per IMO A.749, and total displacement in tonnes; cross-section visualization updates in real time.

Worked Example

Container-ship example: L=200 m, B=32.2 m, T=10.5 m, Cb=0.70, KG=9.8 m. The tool gives displacement ≈48,517 t, KB=5.25 m, BM=11.76 m and GM=7.21 m. With the corrected wall-sided expression, GZ(30°)≈4.58 m and the restoring moment is about 2.18×10^6 kN·m. In this simplified 0-90° scan, maximum GZ angle and stability range run to 90°; real deck immersion and hull-form limits require separate assessment.

Practical Notes

  1. Ensure Draft (TWVal) matches actual loading condition; light ship versus full load dramatically alters KB and GM.
  2. Block Coefficient varies by hull type; incorrect Cb propagates into displacement and BM errors.
  3. This simplified GZ curve does not include deck immersion or downflooding, so treat the 90° endpoint as a model limit, not an intact-stability certificate.