How this calculation works
Grain stability analysis uses assumptions about how grain can shift in particular compartments and loading conditions. Those assumptions produce approved heeling-moment information rather than a universal percentage of cargo weight. This calculator begins with supplied moment data and a declared righting-arm curve, so it does not invent a grain-shift model from ship dimensions alone.
λ0=Σapproved grain moment/(SF Δ); λφ=λ0(1−0.2φ/40); intersect with supplied GZ.A worked example
The prefilled example gives Equilibrium heel degrees = 4.87804878. This demonstration uses supplied example data, not an approved vessel operating condition.
Good to know
Approved volumetric grainmomentsm4 and stowagefactorm³/tonne supplied; illustrative straight grainheelingarm falls20percent at40degrees. Residual signed piecewise-linear area to explicit limit≤40. No automatic void/compartment assumptions, downflooding selection or full GrainCode compliance result.
Reference: grain (opens in a new tab) ↗
From approved grain moments to a heeling arm
Grain stability analysis uses assumptions about how grain can shift in particular compartments and loading conditions. Those assumptions produce approved heeling-moment information rather than a universal percentage of cargo weight. This calculator begins with supplied moment data and a declared righting-arm curve, so it does not invent a grain-shift model from ship dimensions alone.
The result is a transparent equilibrium and residual-area scenario, not a complete Grain Code compliance assessment. Compartment status, trimming, stowage and the vessel's approved grain information remain essential. A mathematical crossing between two plotted lines cannot establish that the entered heeling moments or the loading condition were calculated under the applicable approved method.
For a related navigation or vessel calculation, use the Ship downflooding-angle calculator from opening geometry. Compare the model and input conventions before combining results.
Read more: grain (opens in a new tab) ↗
Units and current loading assumptions
A volumetric grain heeling moment in metres to the fourth power becomes a mass moment when divided by stowage factor in cubic metres per tonne. Dividing that mass moment by displacement in tonnes gives a heeling arm in metres. Keep these stages explicit: multiplying by stowage factor instead would reverse its physical role.
The Grain Code amendment MSC.552(108) introduced additional loading-condition provisions effective from January 2026. This matters when deciding how the supplied approved moments were obtained. The calculator does not automatically determine whether the new option applies or revise an existing grain manual; use data and documentation appropriate to the particular loading condition.
Read more: grain2026 (opens in a new tab) ↗
The declared arm and equilibrium model
For the selected straight-line approximation, the initial heeling arm is λ0 = volumetric moment/(stowage factor × displacement). The arm at 40 degrees is 0.8λ0, and the line between those endpoints supplies intermediate values. This is a stated Grain Code-style representation, not a general law for every kind of shifted cargo.
Subtract the heeling arm from supplied GZ to form the residual righting arm. A crossing where the net arm changes from negative to positive identifies a stable-equilibrium candidate on that representation. If the table does not contain a supported crossing, report that absence rather than inventing an equilibrium by extrapolating beyond the data.
An independently checked example
Take displacement 1,000 tonnes, stowage factor 1 m³/t and supplied volumetric moment 100 m⁴. Initial heeling arm is 0.1 m and the 40-degree arm is 0.08 m. Let the illustrative GZ table be linear with GZ = 0.02φ when φ is the numerical angle in degrees from zero through 40.
Residual arm is then 0.0205φ − 0.1. Its equilibrium occurs at 0.1/0.0205 = 4.878049 degrees, and its residual value at 40 degrees is 0.72 m. Integrating the resulting triangular residual from equilibrium to 40 degrees gives approximately 0.220675 m rad. This is a synthetic arithmetic example, not an approved grain condition.
Choosing a residual-area upper limit
The relevant area limit is not automatically always 40 degrees. Downflooding and the angle associated with maximum separation of the righting and heeling curves can restrict the applicable interval under the selected criteria. Supply and document the correct limiting condition rather than accepting a convenient table endpoint as a universal regulatory rule.
Keep the mathematical integration interval visible with the result. A larger interval can produce a larger positive area without changing whether that interval was permitted in the first place. The calculation should not declare compliance merely because an entered upper limit gives an apparently favorable area, nor treat one area as a substitute for all the other required checks.
Checks on the numerical reduction
Verify the volumetric-moment-to-arm conversion before inspecting the curve. A zero supplied grain moment should give a zero heeling arm, leaving the righting curve unchanged. Increasing the approved moment while other inputs stay fixed should raise the heeling-arm line and alter the crossing and available residual area accordingly.
Interpolation follows the selected supplied-table representation. Areas use radians even when equilibrium angles are displayed in degrees. Preserve the curve coverage and any zero crossings so that a tabulation ending early cannot be mistaken for proof of stability beyond its last point. Measurement precision and approved source assumptions are separate from the root-solver tolerance.
Reference and result status
The original Grain Code and the current applicable amendments provide the regulatory framework; the vessel's grain information supplies the loading-specific data. This worksheet reduces a declared moment and curve scenario only. It does not calculate new compartment void assumptions, verify a grain manual or evaluate every current Grain Code requirement automatically.
Use the page for education and independently checking documented arithmetic. Loading permission, required documentation and formal stability review remain with the responsible ship and authority processes. Confirm the applicable official provisions and vessel data before relying on the result for a real loading assessment; no displayed equilibrium or residual area is an operational approval. Approved volumetric grainmomentsm4 and stowagefactorm³/tonne supplied; illustrative straight grainheelingarm falls20percent at40degrees. Residual signed piecewise-linear area to explicit limit≤40. No automatic void/compartment assumptions, downflooding selection or full GrainCode compliance result.
A few questions, answered
Can I estimate grain shift from a fixed percentage of cargo mass?
Not in place of the applicable approved compartment and loading-condition method. This tool begins with supplied approved moment information.
Why is the volumetric moment divided by stowage factor?
Dividing cubic-metre-per-tonne stowage factor converts the volumetric moment into a mass moment, which displacement then converts to an arm.
Is the area always integrated to 40 degrees?
No. The appropriate downflooding or maximum-separation condition can require a smaller limit under the applicable method.
Does one favorable area establish Grain Code compliance?
No. The full applicable conditions, approved data and remaining criteria require their own review.