Description
Keep the supplied ullage or sounding and subtract it from tankHeight for the other measure.
A sample or tank volume budget distinguishes gross volume, unavailable volume, and the amount available for a chosen purpose. Distance-based level readings require a known reference.
Keep the supplied ullage or sounding and subtract it from tankHeight for the other measure.
When to use this tool
Use Nautical: Cargo Tank Ullage Sounding Pair when you need a simple volume or level accounting step.
How to use the tool and how it works
- Enter tankHeight, measuredDistance, measurement. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Require a positive tankHeight and measuredDistance within its height. Keep the supplied ullage or sounding and subtract it from tankHeight for the other measure.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| tankHeight | Tank Height | Required. Finite number. |
| measuredDistance | Measured Distance | Required. Finite number. |
| measurement | Measurement | Required. Text; one of "ullage", "sounding". Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
| result.ullage | Ullage | Calculated result member: number. |
| result.sounding | Sounding | Calculated result member: number. |
{
"input": {
"tankHeight": 10,
"measuredDistance": 3,
"measurement": "ullage"
},
"output": {
"result": {
"ullage": 3,
"sounding": 7
}
}
} Limitations and assumptions
- This assumes both distances use the same straight vertical reference; no tank calibration, trim correction, or volume is calculated.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use calibrated measurements and the relevant container geometry or sampling protocol for a complete assessment.
References
Similar or alternative tools
- Ballast Tank Free Surface Correction Term
Multiply nonnegative liquidDensity by nonnegative freeSurfaceSecondMoment and divide by positive displacementMass for metacentricReduction.
- Nautical Sounding Keel Datum Shift
Add transducerBelowSurface to sounding for waterDepth, then subtract draft for underKeel.