How to read the result
- Capacity: the full volume of the tank up to the top, shown in US gallons and litres side by side, plus Imperial (UK) gallons and cubic feet or cubic metres. A US gallon is about 20 % smaller than an Imperial gallon, so check which one a tank label uses.
- Liquid depth: enter the depth from the lowest inside point and you also get the liquid volume, the empty space and the percent full. In a horizontal cylinder or a sphere the volume does not rise in step with the depth: the first inch at the bottom adds little and the middle adds most. The table under the calculator shows the volume at every tenth of the depth for your tank.
- Weight: the weight of the liquid is its volume times its density, in pounds or kilograms. It is an estimate: the real density changes with temperature, with salt or dirt in water, and with the fuel blend. The tank itself is not included.
- Ends: a cylinder can have flat ends, hemispherical (domed) ends, 2:1 ellipsoidal (dished) ends, or, standing upright, a cone bottom. Enter the straight side only; the page adds the ends from the diameter and counts the liquid in them at any depth.
- What it leaves out: flanged and dished (ASME torispherical) heads, fittings, the part of the tank below the outlet and above the overflow. The usable volume of a real tank is lower than the total capacity.
Connecting pipes hold water too: add them with the Pipe Volume Calculator. For the flow in a pipe leaving the tank, use the Pipe Flow Calculator. To find the head and power a pump needs to fill the tank, use the Pump Total Dynamic Head Calculator.
Worked example
A vertical cylinder with a 6 ft inside diameter and 8 ft inside height, filled with water at 21 °C (70 °F).
- Floor area = π × 6² ÷ 4 = 28.274 ft²
- Capacity = 28.274 ft² × 8 ft = 226.195 ft³
- Gallons: 226.195 ft³ × 1,728 in³ ÷ 231 in³ per gallon = 1,692.1 US gal, which is 6,405.1 L and 1,408.9 imp gal
- At 6 ft depth the liquid fills 75 % of the height: 169.646 ft³ = 1,269.0 US gal, with 423.0 US gal empty above it (75.0 % full)
- Weight: full tank 6.4051 m³ × 998.02 kg/m³ = 6,392 kg = 14,093 lb; at 6 ft depth 10,570 lb. The same tank full of diesel weighs about 11,959 lb.
Horizontal cylinder, 4 ft inside diameter, 10 ft long, liquid 1 ft deep. The tank is a circle seen from the end, so the liquid area is a circular segment: with R = 2 ft and d = 1 ft, area = R² × arccos((R − d) ÷ R) − (R − d) × √(2Rd − d²) = 4 × 1.0472 − 1 × 1.7321 = 2.457 ft². Times the 10 ft length that is 24.567 ft³ = 183.8 US gal (19.6 % of the 940.0 US gal capacity), although the liquid is only 25 % of the way up. At half depth (2 ft) it holds exactly half, 470.0 US gal. Metric check: 2 m diameter and 2.5 m high is 7,854.0 L (7.854 m³).
Ends: a horizontal tank 6 ft across with a 20 ft straight side holds 4,230.1 US gal with flat ends, 4,653.1 US gal with 2:1 ellipsoidal ends (each π × 6³ ÷ 24 ft³) and 5,076.2 US gal with hemispherical ends (each π × 6³ ÷ 12 ft³). With dished ends and the liquid 1.5 ft deep it holds 893.1 US gal (19.2 %). An upright tank 4 ft across with a 2 ft cone bottom holds 7.8 US gal when the liquid is 1 ft deep, all of it in the cone.
Method and formulas
Vertical or horizontal cylinder: V = π × D² ÷ 4 × H (or × L)
Rectangular tank: V = L × W × H
Sphere: V = π × D³ ÷ 6
Liquid at depth d: vertical cylinder π × D² ÷ 4 × d · rectangular L × W × d
Horizontal cylinder: V = L × (R² × arccos((R − d) ÷ R) − (R − d) × √(2Rd − d²)), R = D ÷ 2
Sphere: V = π × d² × (3R − d) ÷ 3
Ends of depth a: hemispherical a = R, π × D³ ÷ 12 each · 2:1 ellipsoidal a = D ÷ 4, π × D³ ÷ 24 each · cone bottom π × D² ÷ 12 × c
Liquid in the ends: horizontal (a ÷ R) × π × d² × (3R − d) ÷ 3 for both · upright bottom end π × R² × h² × (3a − h) ÷ (3a²) · cone π × (R × h ÷ c)² × h ÷ 3
Weight = volume × density · percent full = liquid volume ÷ capacity × 100
- D, L, W, H
- Inside diameter, length, width and height of the tank
- d
- Liquid depth measured from the lowest inside point straight up
- a, c
- Depth of one domed or dished end along the tank axis, and the height of a cone bottom
- 231 in³
- One US gallon (3.785411784 L); one Imperial gallon is 4.54609 L; 1 in = 25.4 mm exactly
- Density
- Mass per volume of the liquid; the presets are in the table below, with their sources
Assumptions and limits
- The tank is a regular solid with the stated shape and ends (flat, hemispherical, 2:1 ellipsoidal or a cone bottom); the dimensions are inside dimensions.
- The liquid surface is level, the tank sits level, and a horizontal cylinder lies exactly on its side.
- Liquid depth is measured from the lowest inside point straight up.
- The liquid is uniform at the density chosen; a real liquid is heavier or lighter with temperature, salt, dirt or blend, so the weight is an estimate. "Weight" here means the mass in pounds or kilograms, as on a scale.
- Total capacity is the full geometric volume up to the top; the usable volume of a real tank is lower (outlet height, freeboard, fittings).
- Flanged and dished (ASME torispherical) heads are not covered: their shape depends on the crown and knuckle radii; use the manufacturer’s chart for those tanks.
- Four shapes only; ovals, capsules and tanks with internal baffles or sloping floors are not covered.
- Volume is geometry only. The liquid weight is an estimate from a stated density; there is no tank weight, pressure, wall thickness or thermal expansion (a liquid takes more room when warm).
- Not a fish tank or aquarium calculator and not a septic tank sizing tool; septic sizing depends on local code.
- Not a design and not a certified gauging chart; check any figure used for custody transfer, fuel stock records or regulatory filings against the tank maker’s strapping table.
Reference tables
| Share of depth | Liquid depth | Liquid volume, US gal | Percent full |
|---|---|---|---|
| 0 % | 0.00 ft | 0.0 | 0.0 % |
| 10 % | 0.40 ft | 48.9 | 5.2 % |
| 20 % | 0.80 ft | 133.8 | 14.2 % |
| 30 % | 1.20 ft | 237.2 | 25.2 % |
| 40 % | 1.60 ft | 351.1 | 37.4 % |
| 50 % | 2.00 ft | 470.0 | 50.0 % |
| 60 % | 2.40 ft | 588.9 | 62.6 % |
| 70 % | 2.80 ft | 702.8 | 74.8 % |
| 80 % | 3.20 ft | 806.2 | 85.8 % |
| 90 % | 3.60 ft | 891.1 | 94.8 % |
| 100 % | 4.00 ft | 940.0 | 100.0 % |
Source: Calculated with the EngiFormula tank volume engine (method v1.1); circular segment area from MathWorld, Circular Segment, equation 18. Not a certified gauging chart.
| Inside diameter | 4 ft high | 6 ft high | 8 ft high | 10 ft high |
|---|---|---|---|---|
| 2 ft | 94 | 141 | 188 | 235 |
| 3 ft | 212 | 317 | 423 | 529 |
| 4 ft | 376 | 564 | 752 | 940 |
| 5 ft | 588 | 881 | 1,175 | 1,469 |
| 6 ft | 846 | 1,269 | 1,692 | 2,115 |
| 8 ft | 1,504 | 2,256 | 3,008 | 3,760 |
| 10 ft | 2,350 | 3,525 | 4,700 | 5,875 |
| 12 ft | 3,384 | 5,076 | 6,768 | 8,460 |
Source: Calculated with the EngiFormula tank volume engine (method v1.1) from the cylinder volume π × D² ÷ 4 × H. 1 US gallon = 231 in³ = 3.785411784 L, 1 in = 25.4 mm exactly; NIST SP 811 (2008 edition).
| Unit | US gal | Imperial gal | Litres | Cubic feet | Cubic metres |
|---|---|---|---|---|---|
| 1 US gallon | 1.0000 | 0.8327 | 3.785 | 0.1337 | 0.003785 |
| 1 Imperial gallon | 1.2009 | 1.0000 | 4.546 | 0.1605 | 0.004546 |
| 1 litre | 0.2642 | 0.2200 | 1.000 | 0.0353 | 0.001000 |
| 1 cubic foot | 7.4805 | 6.2288 | 28.317 | 1.0000 | 0.028317 |
| 1 cubic metre | 264.1721 | 219.9692 | 1,000.000 | 35.3147 | 1.000000 |
Source: NIST Special Publication 811 (2008 edition), Appendix B.8: 1 US gallon = 231 in³ = 3.785412 L (to the digits printed); 1 Imperial gallon = 4.54609 L, exact; 1 cubic foot = 0.02831685 m³. Each row is calculated here from those definitions.
| Liquid | kg/m³ | lb/ft³ | Source |
|---|---|---|---|
| Water at 10 °C (50 °F) | 999.8 | 62.41 | USGS Water Science School |
| Water at 15.6 °C (60 °F) | 999.1 | 62.37 | USGS Water Science School |
| Water at 21 °C (70 °F) | 998.0 | 62.30 | USGS Water Science School |
| Water at 37.8 °C (100 °F) | 993.2 | 62.00 | USGS Water Science School |
| Water at 60 °C (140 °F) | 983.4 | 61.39 | USGS Water Science School |
| Gasoline (typical) | 744.7 | 46.49 | Argonne GREET 1.8d.1 |
| Diesel, low-sulfur (typical) | 846.9 | 52.87 | Argonne GREET 1.8d.1 |
Source: Water: U.S. Geological Survey, Water Science School, "Water Density" table (pure water; rounded to five decimals in g/cm³; the table is credited to the U.S. Bureau of Reclamation Ground Water Manual, 1977). Gasoline and diesel: Argonne National Laboratory GREET 1.8d.1, conventional gasoline 2,819 g per US gallon and low-sulfur diesel 3,206 g per US gallon, converted at 3.785411784 L per gallon; the table states no temperature. Both read 14 October 2026.
Charts and diagrams
Common uses
- Water storage or rainwater tank: how much a tank holds and how much is left.
- Fuel or oil tank stock check: the volume and weight from a dipstick reading, for horizontal and vertical tanks.
- Process or chemical day tank: capacity with your own liquid density.
- Pump-out or fill planning: the volume to move, which you can divide by a known flow rate.
Frequently asked questions
How do you calculate the volume of a cylindrical tank?
Find the area of the inside circle (π × D² ÷ 4) and multiply by the height of a vertical tank or the length of a horizontal one. For a 6 ft inside diameter and 8 ft height that is 28.274 ft² × 8 ft = 226.195 ft³, or 1,692.1 US gal.
How many gallons are in a horizontal tank that is partly full?
The liquid area is a circular segment, not a rectangle, so the volume is not proportional to the depth. A 4 ft diameter, 10 ft long tank holds 940.0 US gal when full and 183.8 US gal when the liquid is 1 ft deep (19.6 %), although that is 25 % of the diameter. The calculator does this for any depth, and the table above lists the volume at every tenth of the depth.
What is the difference between tank volume and tank capacity?
Volume is the geometry of the inside of the tank. The usable capacity of a real tank is lower, because liquid cannot be drawn below the outlet, an overflow or fill limit sits below the top, and fittings take room. This page gives the total geometric capacity and the liquid at the depth you enter.
How do I convert litres, cubic metres and cubic feet to gallons?
One US gallon is 231 cubic inches (3.785411784 L), one Imperial gallon is 4.54609 L, and one cubic metre is 1,000 litres. The calculator shows US gallons, Imperial gallons, litres and cubic feet or metres together, so the 6 ft by 8 ft tank above is 1,692.1 US gal, 6,405.1 L and 1,408.9 imp gal. The units table lists the factors.
Do I measure the inside or the outside of the tank?
The inside, because the liquid is inside the wall. If you only have an outside measurement, subtract twice the wall thickness from the diameter, width or length, and the wall thickness from the height of a tank that stands on its floor. Steel and plastic tanks have different walls, so measure when you can.
How much do domed or dished ends add to the capacity?
Choose the ends in the calculator. Each hemispherical end holds π × D³ ÷ 12 and each 2:1 ellipsoidal end π × D³ ÷ 24. On a 6 ft wide tank with a 20 ft straight side that takes the 4,230.1 US gal of flat ends to 4,653.1 US gal (dished) or 5,076.2 US gal (domed). Flanged and dished (ASME) heads have a different shape set by their crown and knuckle radii, so use the maker’s chart for those.
Can I use this for a fuel tank, a septic tank or a fish tank?
The geometry is the same for any liquid, and the weight presets include gasoline and diesel. It is not a certified gauging chart, so check any figure used for fuel stock records or regulatory filings against the tank maker’s strapping table. It is not a septic tank sizing tool, because septic size depends on local code, and it gives no advice for aquariums.
How much does the liquid in a tank weigh?
Multiply the volume by the density. The 1,692.1 US gal of water above weighs about 14,093 lb (6,392 kg) at 21 °C, and the same tank full of diesel about 11,959 lb. Water is slightly lighter when warm, and salt water, brine and dirty water are heavier, so choose the closest liquid or enter your own density. The weight is the liquid only, not the tank.
Is this a round tank volume calculator and a water tank volume calculator?
Yes to both. For a round tank enter the inside diameter and the height (or length, if it lies on its side), and it gives the volume in gallons, litres and cubic metres. A water tank is worked out the same way as any other liquid tank; the shape and the inside size decide the result.
Sources and references
- NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition, Appendix B.8 (US gallon, Imperial gallon, cubic foot, inch).
- Wolfram MathWorld, Circular Segment, equation 18 (area of the liquid in a horizontal cylinder); online page, footer updated 2 October 2026, no edition printed.
- Wolfram MathWorld, Spherical Cap, equation 6 (liquid in a sphere); online page, footer updated 2 October 2026, no edition printed.
- U.S. Geological Survey, Water Science School, Water Density, table of water density by temperature (credited to the U.S. Bureau of Reclamation, Ground Water Manual, 1977); read 14 October 2026.
- Argonne National Laboratory, GREET 1.8d.1, liquid fuels table (grams per US gallon), as reproduced on a University of Illinois course page; read 14 October 2026. The table states no temperature.
- Area and volume of a cylinder, rectangular box, sphere, cone and hemispherical or 2:1 ellipsoidal end (an ellipsoid is a sphere scaled along one axis): solid geometry, as set out in the Method section above.
About this calculator
Scope and disclaimer
Works out the capacity of a vertical cylinder, horizontal cylinder, rectangular or spherical tank from its inside dimensions, with flat, hemispherical or 2:1 ellipsoidal ends or a cone bottom, and the volume of liquid at a measured depth. Geometry only. Not a gauging chart, not a design and not a quote.
This calculator gives information and preliminary estimates only. It is not professional design advice and does not replace the governing code, product instructions or a qualified professional's judgement for your project.