Tank Volume Calculator — Horizontal and Vertical Cylinders

← Back to Engineering Library

Estimating how much liquid a tank can actually hold at different fill levels is a routine headache in real-world engineering, especially as soon as tank orientation or head shape gets involved. This Tank Volume Calculator is built to give you total and partial fill volumes for both horizontal and vertical cylindrical tanks, using simple input: diameter, length/height, fill depth, and head type. These methods are used every day on shop floors and in control rooms for fuel, water, chemicals—anywhere capacity or inventory needs a reliable number. The page goes through formulas, an example, and a deep dive on the limitations and practical issues you’ll run into.

What is tank volume calculation?

Tank volume calculation is just figuring out how much liquid a cylindrical tank will hold in total, or how much is in there at a certain fill depth. The answer you get depends not just on the size, but also on whether the tank is lying down or standing up, and the shape of the ends (heads).

Simple Explanation

Picture a horizontal tank as a can on its side—if you fill it up, the liquid at the bottom curves, so each inch of depth doesn’t add the same amount of liquid. With a vertical tank (standing upright), volume rises in direct proportion as you add height, just like filling a drinking glass. If the tank ends are rounded or elliptical, you get a bit more usable volume, but it complicates the math.

📐 Browse all 1000+ Interactive Calculators

Tank Volume Diagram

Tank Volume Calculator   Horizontal and Vertical Cylinders Technical Diagram

Tank Volume Calculator

How to Use This Calculator

Engineering calculation notice

This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.

Found a calculation error? Message us

  1. Select your tank orientation (Horizontal or Vertical) and head type (Flat, Elliptical, or Hemispherical).
  2. Enter the tank diameter and the length (horizontal tanks) or height (vertical tanks) in feet.
  3. Enter the fill level in feet — this is the depth of liquid measured from the bottom of the tank.
  4. Click Calculate to see your result.

📹 Video Walkthrough — How to Use This Calculator

Tank Volume Calculator — Horizontal and Vertical Cylinders

Tank Volume Calculator — Horizontal and Vertical Cylinders

Calculate total capacity and partial fill volumes for cylindrical tanks with different orientations and head configurations. See how tank geometry affects volume calculations in real-time.

Tank Orientation
Head Type
Diameter (ft) 8.0 ft
Length/Height (ft) 20 ft
Fill Level (ft) 4.0 ft

TOTAL VOLUME

7540 gal

FILL VOLUME

3770 gal

PERCENT FULL

50.0%

HEAD VOLUME

0 gal

FIRGELLI Automations — Interactive Engineering Calculators

Mathematical Formulas

The tank volume calculator horizontal vertical system uses different geometric formulas depending on tank orientation and head configuration:

Cylindrical Volume

Use the formula below to calculate cylindrical tank volume.

Vcylinder = π × r² × L

Where: r = radius, L = length (horizontal) or height (vertical)

Head Volumes

Use the formula below to calculate additional volume contributed by tank heads.

Flat Ends: Vhead = 0

Hemispherical Heads: Vhead = (4/3) × π × r³

Elliptical Heads: Vhead = (2/3) × π × r³

Horizontal Tank Partial Volume

Use the formula below to calculate partial fill volume in a horizontal cylindrical tank.

Segment Area = r² × arccos((r-h)/r) - (r-h) × √(2rh - h²)

Vpartial = Segment Area × L

Where: h = fill height from bottom

Vertical Tank Partial Volume

Use the formula below to calculate partial fill volume in a vertical cylindrical tank.

Vpartial = π × r² × hfill

Where: hfill = fill height from bottom

Simple Example

Horizontal tank, flat ends, diameter = 4 ft, length = 10 ft, fill level = 2 ft (half full):

  • Radius = 2 ft
  • Total volume = π × 2² × 10 = 125.7 ft³ = 940.3 gal
  • Fill volume at h = 2 ft (half diameter) = 50% of total = 470.1 gal
  • Percent full = 50.0%

Understanding Tank Volume Calculations

Accurately working out tank volume is a basic but essential step for a lot of facilities work—everything from process control to ordering deliveries. Tanks might look simple, but how you calculate usable and filled volume changes a lot based on tank shape and orientation.

Tank Geometry Fundamentals

In most industrial settings, cylindrical tanks are by far the most common. Whether they're laid on their side or stand upright, the basic geometry will drive what formulas you use. The tank volume calculator horizontal vertical approach is really just about plugging in the right geometry before you do the math.

If floor-to-ceiling space is an issue, or you need lots of volume at low height, you’ll usually find horizontal tanks. However, since the cross-section is round, the volume corresponding to each inch of rise is not constant—most of the volume change happens around mid-level, which throws off quick “eyeball” level-to-volume conversions.

Vertical tanks make math easy—cross-section is constant at any height, so you only need the diameter and fill height to get your volume. They do put all the weight on a smaller base, so you may need extra supports or concrete. Ceiling height is usually the limiting factor, not floor space.

Head Configuration Impact

The shape of the ends, or “heads,” has a real effect on total tank volume. Flat heads are simplest to calculate because they add no volume, but they can’t take as much internal pressure and are usually only used in low-pressure duty. Elliptical heads (“2:1”) add around 25% of a hemisphere’s volume per head, with better strength. Hemispherical heads offer the most volume, and are used for high-pressure applications, but they require more time and cost to fabricate.

Partial Volume Calculations

With horizontal tanks, partial volume means solving for the area of a circular segment (the “wetted” part), not just a rectangle. This is why you see arccos and square roots in the formulas—you have to work out the area under the curve every time the liquid rises. A small level change near the top or bottom only adds a little volume, but the same change in the middle adds a lot more. For example, if you fill a horizontal 10-foot diameter tank to 3 feet (30% of diameter), you only get roughly 19.4% of total volume. You have to account for this nonlinearity or you’ll be off in your tank readings.

Vertical tanks don’t have this issue. As long as there’s no cone bottom or oddly-shaped head, just multiply the fill height by the tank’s cross-sectional area—nothing fancy about it. This also means site calibration of vertical tanks is simple.

Real-World Applications

Reliable tank volume numbers turn up everywhere—fuel depots (for custody transfer or delivery checks), chemical and food batch processing, even water treatment or irrigation planning. Where automation is involved, level sensors and actuators are often tied into these calculations for automatic valve or pump control. For example, FIRGELLI linear actuators are sometimes used to open or close isolation valves based on calculated fill volumes, not just level signal.

Measurement Considerations

If you want calculated tank volume to match what's actually in the tank, you need to measure dimensions as the tank was built, inside the shell—don’t include the wall thickness. For horizontal tanks, only the straight, cylindrical section counts for the main body. The ends are calculated with separate head formulas.

One detail that gets missed: both the tank and the liquid inside will change volume as temperature changes—steel expands, and most liquids will too, though sometimes much more. If your operation requires higher precision, you’ll need to factor this in somewhere.

Finally, tanks aren’t always perfect circles or cylinders—welds and stress can deform the shell slightly. For jobs where accuracy must be verified, the best plan is “strapping” the tank, i.e., calibrate with measured fill volumes using water or another known liquid before relying on theoretical volume results.

Safety and Regulatory Considerations

Tank volume calculations make their way into safety checks and regulatory paperwork. Overfill protection logic depends on trustworthy tank geometry. Emergency planning for spills or leaks starts with knowing true delivery and overflow numbers.

Many regulatory standards require a particular calculation or calibration approach for compliant reporting (EPA, DOT, etc.). Always check which standard applies before submitting numbers for record.

Integration with Control Systems

In most tank farms, the SCADA or site PLC systems expect to work with volume, not just level, so you convert live level readings to volumes using tank formulas and geometry. This is used for auto-fills, batching, alarms, and leak checks, and sometimes helps spot problems (meter drift) in measurement gear.

Automated operations will typically base pump, valve, or actuator control off these real-time calculations—especially important in processes where just watching the level doesn’t tell you enough about how much product is really moving in or out.

Advanced Considerations

Unusual tanks—such as ones with multiple chambers, built-in mixers, or nonstandard heads—take more effort. Simple geometry might not cut it. In some cases, you need to 3D model the tank or use advanced calculation tools to get reliable volume estimates.

If you store more than one liquid phase (oil/water interface, for instance), or deal with changing product densities, you'll need different sensors and some more math for a proper inventory number. The standard vertical/horizontal cylinder formulas serve for most jobs, but anything out of the ordinary may need a custom method or field calibration.

Frequently Asked Questions

Q: How do I choose between horizontal and vertical tank orientations?
Q: Why don't horizontal tank volumes change linearly with liquid height?
Q: How do different head types affect tank volume calculations?
Q: What accuracy can I expect from calculated tank volumes?
Q: How do I account for tank internals like heating coils or mixers?
Q: Can these calculations be used for non-cylindrical tanks?

📐 Browse all 1000+ Interactive Calculators →

About the Author

Robbie Dickson

Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags: