{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "tank-volume-calculator",
  "category": "materials-quantities",
  "title": "Tank Volume Calculator (Litres and Gallons at Any Depth)",
  "description": "Capacity and contents of a cylinder, rectangular, oval or cone-bottom tank, full or at a measured depth, in litres, cubic metres, US and imperial gallons.",
  "url": "https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/tank-volume-calculator.json",
  "inputCount": 25,
  "testCaseCount": 14,
  "sourceCount": 6,
  "lastVerified": "2026-10-31",
  "citation": {
    "author": "Craft Quantities",
    "title": "Tank Volume Calculator (Litres and Gallons at Any Depth)",
    "version": "1.1.0",
    "sourcesChecked": "2026-10-31",
    "url": "https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Tank Volume Calculator (Litres and Gallons at Any Depth). Version 1.1.0. Sources checked 2026-10-31. https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/",
      "apa": "Craft Quantities. (2026). Tank Volume Calculator (Litres and Gallons at Any Depth) (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/",
      "harvard": "Craft Quantities (2026) Tank Volume Calculator (Litres and Gallons at Any Depth) (Version 1.1.0). Available at: https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-tank-volume-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Tank Volume Calculator (Litres and Gallons at Any Depth)},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/tank-volume-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "tankShape",
      "label": "Tank Shape",
      "type": "select",
      "defaultValue": "upright-cylinder",
      "options": [
        {
          "value": "upright-cylinder",
          "label": "Cylinder standing upright (water, rainwater and storage tanks)"
        },
        {
          "value": "lying-cylinder",
          "label": "Cylinder lying on its side (fuel, oil and pressure tanks)"
        },
        {
          "value": "rectangular",
          "label": "Rectangular (IBC totes, cisterns, header and slimline tanks)"
        },
        {
          "value": "lying-oval",
          "label": "Elliptical oval lying on its side"
        },
        {
          "value": "upright-oval",
          "label": "Elliptical oval standing upright"
        },
        {
          "value": "obround",
          "label": "Flat-sided oval (straight sides, round ends)"
        },
        {
          "value": "cone-bottom",
          "label": "Cone-bottom (a cylinder over a cone, or a hopper)"
        }
      ],
      "help": "The shape of the vessel holding the liquid, and which way up it stands."
    },
    {
      "id": "ucDiameter",
      "label": "Inside Diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.8,
      "min": 0.1,
      "max": 30,
      "step": 0.01,
      "help": "Across the inside of the barrel, at its widest."
    },
    {
      "id": "ucHeight",
      "label": "Straight Side Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2,
      "min": 0.05,
      "max": 40,
      "step": 0.01,
      "help": "The height of the straight barrel, not counting any dished or domed ends."
    },
    {
      "id": "ucEnds",
      "label": "Ends of the Cylinder",
      "type": "select",
      "defaultValue": "flat",
      "options": [
        {
          "value": "flat",
          "label": "Flat"
        },
        {
          "value": "dished",
          "label": "Dished (2:1 ellipsoidal, a quarter of the diameter deep)"
        },
        {
          "value": "hemispherical",
          "label": "Hemispherical (a capsule)"
        }
      ],
      "help": "Flat ends, shallow dished heads, or full half-spheres."
    },
    {
      "id": "lcDiameter",
      "label": "Inside Diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.1,
      "max": 30,
      "step": 0.01,
      "help": "Across the inside of the barrel; it is also the tank's full depth."
    },
    {
      "id": "lcLength",
      "label": "Straight Barrel Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.5,
      "min": 0.05,
      "max": 40,
      "step": 0.01,
      "help": "Seam to seam along the straight part, without the ends."
    },
    {
      "id": "lcEnds",
      "label": "Ends of the Cylinder",
      "type": "select",
      "defaultValue": "flat",
      "options": [
        {
          "value": "flat",
          "label": "Flat"
        },
        {
          "value": "dished",
          "label": "Dished (2:1 ellipsoidal, a quarter of the diameter deep)"
        },
        {
          "value": "hemispherical",
          "label": "Hemispherical (a capsule)"
        }
      ],
      "help": "Flat ends, shallow dished heads, or full half-spheres."
    },
    {
      "id": "rectLength",
      "label": "Inside Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.05,
      "max": 50,
      "step": 0.01,
      "help": "The longer inside dimension of the tank's plan."
    },
    {
      "id": "rectWidth",
      "label": "Inside Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0.05,
      "max": 50,
      "step": 0.01,
      "help": "The shorter inside dimension of the plan."
    },
    {
      "id": "rectHeight",
      "label": "Inside Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0.05,
      "max": 50,
      "step": 0.01,
      "help": "From the inside floor to the top of the space the liquid can fill."
    },
    {
      "id": "loWidth",
      "label": "Inside Width Across",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.6,
      "min": 0.05,
      "max": 30,
      "step": 0.01,
      "help": "The widest horizontal dimension of the oval section."
    },
    {
      "id": "loHeight",
      "label": "Inside Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0.05,
      "max": 30,
      "step": 0.01,
      "help": "Bottom to top of the oval section; the depth at which it is full."
    },
    {
      "id": "loLength",
      "label": "Inside Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2,
      "min": 0.05,
      "max": 40,
      "step": 0.01,
      "help": "End to end along the tank, which has flat ends."
    },
    {
      "id": "uoLength",
      "label": "Inside Length of the Oval",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.6,
      "min": 0.05,
      "max": 30,
      "step": 0.01,
      "help": "The long axis of the oval plan."
    },
    {
      "id": "uoWidth",
      "label": "Inside Width of the Oval",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1,
      "min": 0.05,
      "max": 30,
      "step": 0.01,
      "help": "The short axis of the oval plan, at right angles to the length."
    },
    {
      "id": "uoHeight",
      "label": "Inside Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0.05,
      "max": 40,
      "step": 0.01,
      "help": "Floor to the top of the fillable space."
    },
    {
      "id": "obWidth",
      "label": "Inside Width (side to side)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.69,
      "min": 0.1,
      "max": 5,
      "step": 0.001,
      "help": "The horizontal dimension of the section, as the tank stands."
    },
    {
      "id": "obHeight",
      "label": "Inside Height (bottom to top)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.12,
      "min": 0.1,
      "max": 5,
      "step": 0.001,
      "help": "The vertical dimension of the section, as the tank stands; the depth at which it is full."
    },
    {
      "id": "obLength",
      "label": "Inside Length (end to end)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.52,
      "min": 0.1,
      "max": 10,
      "step": 0.001,
      "help": "Between the two flat end plates."
    },
    {
      "id": "cbDiameter",
      "label": "Inside Diameter of the Barrel",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0.1,
      "max": 30,
      "step": 0.01,
      "help": "Across the inside of the straight part, where the cone meets it."
    },
    {
      "id": "cbHeight",
      "label": "Straight Barrel Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0.01,
      "max": 40,
      "step": 0.01,
      "help": "From the top of the cone to the top of the straight sides."
    },
    {
      "id": "cbConeHeight",
      "label": "Cone Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0.01,
      "max": 20,
      "step": 0.01,
      "help": "Vertically from the outlet up to where the cone meets the barrel."
    },
    {
      "id": "cbOutlet",
      "label": "Outlet Diameter at the Bottom of the Cone",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.1,
      "min": 0,
      "max": 30,
      "step": 0.001,
      "help": "Across the bottom of the cone where it meets the outlet; zero for a cone to a point."
    },
    {
      "id": "liquidDepth",
      "label": "Liquid Depth",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.6,
      "min": 0,
      "max": 40,
      "step": 0.001,
      "help": "The dipstick reading, from the lowest point inside the tank up to the surface."
    },
    {
      "id": "drawOffHeight",
      "label": "Lowest Draw-Off Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 40,
      "step": 0.001,
      "help": "How far above the inside bottom the lowest outlet or suction sits; zero if it drains from the very bottom."
    }
  ],
  "sources": [
    {
      "label": "Neutrium, Volume and wetted area of partially filled horizontal vessels: the barrel as a circular segment, L(R² cos⁻¹((R − h)/R) − (R − h)√(2Rh − h²)); a hemispherical head πh²(3R − h)/6; a semi-ellipsoidal head D³C(π/12)(3(h/D)² − 2(h/D)³) with C = 1/2 for the ASME 2:1 head, whose depth is a quarter of the diameter, and C = 0.49951 + 0.10462 t/Do + 2.3227 (t/Do)² for a DIN 28013 head; torispherical heads, shallower than semi-ellipsoidal ones, with C = 0.30939 + 1.7197 (Rk − 0.06 Do)/Di − 0.16116 t/Do + 0.98997 (t/Do)² (ASME) and C = 0.37802 + 0.05073 t/Do + 1.3762 (t/Do)² (DIN 28011), where t is the wall thickness and Rk the knuckle radius (after Wiencke 2009, Doane 2007, Ludwig 1997)",
      "url": "https://neutrium.net/articles/equipment/volume-and-wetted-area-of-partially-filled-horizontal-vessels/"
    },
    {
      "label": "Neutrium, Volume and wetted area of partially filled vertical vessels: the cylindrical body (π/4)D²h; a semi-ellipsoidal bottom head D³C(π/24)(3(h/z)² − (h/z)³) with z the dish depth and C = 0.5 for the ASME 2:1 head; a hemispherical head (πh²/3)(3R − h)",
      "url": "https://neutrium.net/articles/equipment/volume-and-wetted-area-of-partially-filled-vertical-vessels/"
    },
    {
      "label": "Wolfram MathWorld, Conical Frustum: V = πh(R₁² + R₁R₂ + R₂²)/3, applied from the outlet up to the level reached in a cone-bottom tank",
      "url": "https://mathworld.wolfram.com/ConicalFrustum.html"
    },
    {
      "label": "Wolfram MathWorld, Ellipse: the area of an ellipse with semi-axes a and b is πab, and the change of coordinates x′ = (b/a)x turns the ellipse into a circle of radius b — so every slice across an elliptical section is the circle's slice stretched by a/b, and a part-filled ellipse holds the circle's segment times width over height",
      "url": "https://mathworld.wolfram.com/Ellipse.html"
    },
    {
      "label": "NIST Special Publication 811, Appendix B.8: gallon (U.S.) = 3.785 412 E−03 m³, and gallon [Canadian and U.K. (Imperial)] = 4.546 09 E−03 m³ — the two gallons the rows below state together with litres and cubic metres",
      "url": "https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8"
    },
    {
      "label": "Derived on this page: a tank with straight vertical sides holds its plan area times the depth (the box, and the upright ellipse at πab), and a flat-sided oval is a rectangle between two half-circles of the smaller dimension, filled piece by piece with the circular segment above; the tests check both by integrating the width of each horizontal slice"
    }
  ],
  "testCases": [
    {
      "name": "a 1.8 m upright water tank, 2 m high, with 0.6 m of water",
      "inputs": {
        "tankShape": "upright-cylinder",
        "ucDiameter": 1.8,
        "ucHeight": 2,
        "ucEnds": "flat",
        "liquidDepth": 0.6
      },
      "expected": 1526.814,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 5089.380098815465,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 3562.566069170826,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 1526.8140296446395,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 30,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 30,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 1526.8140296446395,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 1.5268140296446395,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 403.34159578043926,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 335.85213439343244,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 5089.380098815465,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 5.089380098815465,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 1344.4719859347977,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 1119.507114644775,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "an upright capsule, 1.6 m across with a 2 m barrel, full",
      "inputs": {
        "tankShape": "upright-cylinder",
        "ucDiameter": 1.6,
        "ucHeight": 2,
        "ucEnds": "hemispherical",
        "liquidDepth": 3.6
      },
      "expected": 6165.9,
      "toleranceDecimalPlaces": 0,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 6165.899181445568,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 0,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 6165.899181445568,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 3.6,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 6165.899181445568,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 6.1658991814455675,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 1628.858241395903,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 1356.3082080305421,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 6165.899181445568,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 6.1658991814455675,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 1628.858241395903,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 1356.3082080305421,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "a 2:1 dished bottom head, 1.2 m across, filled to its rim holds πD³/24",
      "inputs": {
        "tankShape": "upright-cylinder",
        "ucDiameter": 1.2,
        "ucHeight": 1,
        "ucEnds": "dished",
        "liquidDepth": 0.3
      },
      "expected": 226.195,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 1583.3626974092556,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 1357.1680263507906,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 226.19467105846505,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 18.749999999999996,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 14.285714285714283,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.6,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 226.19467105846505,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.22619467105846505,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 59.75431048599099,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 49.75587176198998,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 1583.3626974092556,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 1.5833626974092556,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 418.28017340193696,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 348.2911023339299,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    },
    {
      "name": "a lying 1.2 m cylinder, 2.5 m long, at a quarter of its depth holds under a fifth",
      "inputs": {
        "tankShape": "lying-cylinder",
        "lcDiameter": 1.2,
        "lcLength": 2.5,
        "lcEnds": "flat",
        "liquidDepth": 0.3
      },
      "expected": 552.767,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 2274.667023856873,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 552.7663643739406,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 25,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 19.550110947788536,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 552.7663643739406,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.5527663643739407,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 146.025424951216,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 121.59160165635537,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 2.827433388230814,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 746.9288810748875,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 621.9483970248749,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "the same tank at half its depth holds exactly half",
      "inputs": {
        "tankShape": "lying-cylinder",
        "lcDiameter": 1.2,
        "lcLength": 2.5,
        "lcEnds": "flat",
        "liquidDepth": 0.6
      },
      "expected": 1413.717,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 1413.7166941154069,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 1413.7166941154069,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 50,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 50,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 1413.7166941154069,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 1.413716694115407,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 373.46444053744375,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 310.97419851243745,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 2.827433388230814,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 746.9288810748875,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 621.9483970248749,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "the same tank full",
      "inputs": {
        "tankShape": "lying-cylinder",
        "lcDiameter": 1.2,
        "lcLength": 2.5,
        "lcEnds": "flat",
        "liquidDepth": 1.2
      },
      "expected": 2827.433,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 0,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 2.827433388230814,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 746.9288810748875,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 621.9483970248749,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 2827.4333882308138,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 2.827433388230814,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 746.9288810748875,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 621.9483970248749,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "a lying tank with 2:1 dished ends, a third full by depth",
      "inputs": {
        "tankShape": "lying-cylinder",
        "lcDiameter": 1.2,
        "lcLength": 2.5,
        "lcEnds": "dished",
        "liquidDepth": 0.4
      },
      "expected": 942.307,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 3279.822730347744,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 2337.5158414816465,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 942.3068888660972,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 33.333333333333336,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 28.7304213165871,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 942.3068888660972,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.9423068888660973,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 248.93114478297858,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 207.27853801092743,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 3279.822730347744,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 3.279822730347744,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 866.4375020468694,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 721.4601405488548,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "a lying capsule at half depth: half the barrel and half a sphere",
      "inputs": {
        "tankShape": "lying-cylinder",
        "lcDiameter": 1.2,
        "lcLength": 2.5,
        "lcEnds": "hemispherical",
        "liquidDepth": 0.6
      },
      "expected": 1866.106,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 3732.212072464674,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 1866.106036232337,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 1866.106036232337,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 50,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 50,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.2,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 1866.106036232337,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 1.866106036232337,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 492.97306150942575,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 410.4859420364174,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 3732.212072464674,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 3.732212072464674,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 985.9461230188515,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 820.9718840728348,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "a 1.2 by 1 m box tank holding 0.6 m",
      "inputs": {
        "tankShape": "rectangular",
        "rectLength": 1.2,
        "rectWidth": 1,
        "rectHeight": 1,
        "liquidDepth": 0.6
      },
      "expected": 720,
      "toleranceDecimalPlaces": 6,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 1200,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 480,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 720,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 60,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 60,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 720,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.72,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 190.20387769786686,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 158.37785877534319,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 1200,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 1.2,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 317.0064628297781,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 263.96309795890534,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 5
    },
    {
      "name": "an elliptical oval on its side, 1.6 by 1 m section, 2 m long, at 0.6 m",
      "inputs": {
        "tankShape": "lying-oval",
        "loWidth": 1.6,
        "loHeight": 1,
        "loLength": 2,
        "liquidDepth": 0.6
      },
      "expected": 1574.491,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 2513.2741228718346,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 938.7833812655292,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 1574.4907416063054,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 60,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 62.646996094766905,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 1574.4907416063054,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 1.5744907416063054,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 415.93645062904085,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 346.33954488501223,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 2513.2741228718346,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 2.5132741228718345,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 663.9367831776779,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 552.8430195776666,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 3
    },
    {
      "name": "an elliptical oval standing up, 1.6 by 1 m plan, at 0.6 m",
      "inputs": {
        "tankShape": "upright-oval",
        "uoLength": 1.6,
        "uoWidth": 1,
        "uoHeight": 1.5,
        "liquidDepth": 0.6
      },
      "expected": 753.982,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 1884.9555921538758,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 1130.9733552923256,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 753.9822368615503,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 40,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 40,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.5,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 753.9822368615503,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.7539822368615503,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 199.18103495330334,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 165.85290587329996,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 1884.9555921538758,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 1.8849555921538759,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 497.95258738325833,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 414.63226468324996,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 3
    },
    {
      "name": "a flat-sided tank, 27 by 44 by 60 in (686 by 1118 by 1524 mm), full",
      "inputs": {
        "tankShape": "obround",
        "obWidth": 0.6858,
        "obHeight": 1.1176,
        "obLength": 1.524,
        "liquidDepth": 1.1176
      },
      "expected": 1014.2497,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 1014.2497250074034,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 0,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 1014.2497250074034,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 1.1176,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 1014.2497250074034,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 1.0142497250074034,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 267.9364314588934,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 223.103749597435,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 1014.2497250074034,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 1.0142497250074034,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 267.9364314588934,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 223.103749597435,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 5
    },
    {
      "name": "a cone-bottom tank filled only into its cone",
      "inputs": {
        "tankShape": "cone-bottom",
        "cbDiameter": 1.5,
        "cbHeight": 1.5,
        "cbConeHeight": 0.6,
        "cbOutlet": 0.1,
        "liquidDepth": 0.6
      },
      "expected": 378.562,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 2650.718801466388,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 378.56191475757004,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 28.57142857142857,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 12.496759139227379,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 2.1,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 378.56191475757004,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 0.37856191475757006,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 100.00547796613772,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 83.27197982388603,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 3.029280716223958,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 800.2513039738448,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 666.3486020347062,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 2
    },
    {
      "name": "the same cone-bottom tank full",
      "inputs": {
        "tankShape": "cone-bottom",
        "cbDiameter": 1.5,
        "cbHeight": 1.5,
        "cbConeHeight": 0.6,
        "cbOutlet": 0.1,
        "liquidDepth": 2.1
      },
      "expected": 3029.281,
      "toleranceDecimalPlaces": 2,
      "unit": "L",
      "confidence": "high",
      "steps": [
        {
          "label": "Capacity when full",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Space left above the liquid",
          "value": 0,
          "unit": "L"
        },
        {
          "label": "Liquid above the lowest draw-off",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Depth as a share of the inside height",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Contents as a share of capacity",
          "value": 100,
          "unit": "%"
        },
        {
          "label": "Inside height, bottom to top",
          "value": 2.1,
          "unit": "m"
        },
        {
          "label": "Contents in litres (L)",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Contents in cubic metres (m³)",
          "value": 3.029280716223958,
          "unit": "m³"
        },
        {
          "label": "Contents in US gallons (gal)",
          "value": 800.2513039738448,
          "unit": "gal"
        },
        {
          "label": "Contents in imperial gallons (imp gal)",
          "value": 666.3486020347062,
          "unit": "imp gal"
        },
        {
          "label": "Capacity in litres (L)",
          "value": 3029.280716223958,
          "unit": "L"
        },
        {
          "label": "Capacity in cubic metres (m³)",
          "value": 3.029280716223958,
          "unit": "m³"
        },
        {
          "label": "Capacity in US gallons (gal)",
          "value": 800.2513039738448,
          "unit": "gal"
        },
        {
          "label": "Capacity in imperial gallons (imp gal)",
          "value": 666.3486020347062,
          "unit": "imp gal"
        }
      ],
      "basis": "cited",
      "sourceIndex": 2
    }
  ]
}
