Tank level and volume calculator

A horizontal cylinder does not fill linearly. Its level-to-volume curve is the circular segment formula, and it catches out anyone who assumes a straight line.

kg/m3
Volume at that level
3.8L
≈ Rounded Tank level
Percentage full
40.00 %
Total capacity
9.4
Ullage
5.7
Mass of product
3204.4 kg
Hydrostatic pressure at the bottom
10.003 kPa
Wetted cross-section, horizontal tank
1.9681 m2
Show the working
  1. Tank orientation = 1
  2. Diameter = 2
  3. Height or length = 3
  4. Measured level = 1.2
  5. Product density = 850
  6. radius = 2 / 2 = 1
  7. clamped_level = clamp(1.2, 0, 1 > 0 ? 3 : 2) = 1.2
  8. vertical_volume = pi * 1^2 * 1.2 = 3.769 91
  9. theta = 1 > 0 ? 2 * acos(clamp((1 - 1.2)/1, -1, 1)) : 0 = 3.544 31
  10. Wetted cross-section, horizontal tank = 1^2 / 2 * (3.544 31 - sin(3.544 31)) = 1.968 11
  11. horizontal_volume = 1.968 11 * 3 = 5.904 34
  12. Volume at that level = 1 > 0 ? 3.769 91 : 5.904 34 = 3.769 91
  13. Total capacity = 1 > 0 ? pi * 1^2 * 3 : pi * 1^2 * 3 = 9.424 78
  14. Percentage full = 9.424 78 > 0 ? 3.769 91/9.424 78*100 : 0 = 40
  15. Mass of product = 3.769 91 * 850 = 3204.42
  16. Ullage = 9.424 78 - 3.769 91 = 5.654 87
  17. Hydrostatic pressure at the bottom = 850 * g0 * 1.2 / 1000 = 10.0028

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • vertical: V = pi r^2 h
    • horizontal: segment area = (r^2/2)(theta - sin theta), with theta = 2 arccos((r - h)/r)

    Half full in a horizontal tank really is half the volume, but a quarter of the height is only 19.6% of the volume.

    A hydrostatic level transmitter reads the head pressure directly, which is why the product density has to be right.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library