Pipe / Tank Volume and Dimensions Calculator
Educational multi-shape calculator for tank, pipe, and pool capacity using metric and imperial units, with partial-fill estimation and missing-dimension solving.
Last Updated: March 2026
Calculator Mode
Use this to solve for dimensions when target volume is known.
Enter inside diameter when possible.
Use internal height for best capacity estimates.
Use in missing-dimension scenarios where volume is known and a dimension is unknown.
Fluid mass is a reference estimate based on assumed density.
Custom Density
Select "Custom density" to manually enter fluid density.
Formula Summary
Cylinder: V = pi x r^2 x h. Partial fill (vertical): V_liquid = pi x r^2 x fill depth.
Worked Example Cards
Vertical rainwater tank
Use diameter + height to get total liters and gallons, then compare conversion outputs.
Horizontal partial-fill check
Enter tank diameter, length, and liquid depth to see non-linear fill behavior.
Pool average-depth estimate
Use shallow/deep depth values to estimate average depth and total water capacity.
Missing dimension solver
Set target volume and known dimensions to solve for required length, height, or diameter.
Engineering and Capacity Disclaimer
This calculator provides educational geometric volume estimates only. It is not a pressure-vessel design tool, structural approval, legal compliance certificate, or manufacturer capacity replacement. Real usable capacity can vary with wall thickness, rounded corners, dished ends, internal obstructions, tilt, and production tolerances. Confirm final values with manufacturer data or qualified professionals when precision matters.
How This Calculator Works
The tool starts by normalizing your chosen unit system and converting dimensions into a consistent internal geometry base. This keeps calculations stable while still showing results in your preferred metric or imperial output units.
Next, it applies the formula that matches your selected shape. Vertical and horizontal cylinders share the same full-capacity formula, while rectangular and elliptical tanks use their own area-times-length geometry relationships. Pool mode uses surface area and average depth for practical planning estimates.
If partial-fill mode is selected, the calculator adjusts liquid volume based on fill depth. Vertical and rectangular shapes scale linearly with depth, but horizontal cylinders and partially filled round pipes use circular-segment geometry because liquid cross-sectional area changes non-linearly.
Missing-dimension mode lets you solve for unknown values when enough inputs are available, such as solving required tank height from target volume. Output includes total, liquid, and empty volume, fill percentage, conversion table values, and assumptions/warnings to keep interpretation transparent.
What You Need to Know
How tank and pipe volume is calculated
Most storage volume calculations follow a simple structure: cross-sectional area multiplied by a length or depth. The challenge is selecting the right area formula for the shape. Cylinders, boxes, and ellipses each have different cross-sectional geometry, so they need different formulas.
Internal dimensions matter most for capacity. Outside dimensions can overstate volume when wall thickness is meaningful, especially in smaller tanks and thicker-walled vessels.
Full volume vs partial fill
Full volume is total geometric capacity. Partial-fill volume is current liquid content at a specific depth. The difference matters in day-to-day operations such as remaining storage checks, delivery planning, and treatment dosing.
Vertical cylinders and rectangular tanks are linear with depth: if depth is half, liquid volume is half. Horizontal cylindrical tanks are different. Their fill curve is non-linear, so equal depth changes do not produce equal volume changes.
Metric vs imperial units
Unit mix-ups are a common source of planning error. This page supports both systems and explicitly separates US gallons from UK gallons to avoid hidden assumptions.
| Reference | Metric view | US customary | UK imperial |
|---|---|---|---|
| 1 m3 | 1000 L | 264.172 US gal | 219.969 UK gal |
| 1 US gal | 3.78541 L | 0.13368 ft3 | 0.83267 UK gal |
| 1 UK gal | 4.54609 L | 0.16054 ft3 | 1.20095 US gal |
| 1 ft3 | 28.3168 L | 7.48052 US gal | 6.22884 UK gal |
| 1 in3 | 16.3871 mL | 0.004329 US gal | 0.003604 UK gal |
Use the conversion table in the results panel to compare all major unit outputs from the same geometry.
Tank and pool shape guide
Different containers need different formulas, and shape choice affects how partial fill behaves. Use the table below as a quick shape-selection reference.
| Shape | Common use | Practical note |
|---|---|---|
| Vertical cylinder | Upright tanks and silos | Volume changes linearly with fill height. |
| Horizontal cylinder | Horizontal storage tanks and pipe sections | Partial-fill volume is non-linear with depth. |
| Rectangular tank | Pools, cisterns, and box containers | Area times depth gives straightforward full and partial volume. |
| Elliptical tank | Oval tanks and flattened profiles | Full volume is reliable with major/minor axis and length. |
| Circular pipe | Static line volume estimates | Shows contained volume, not dynamic flow rate. |
| Pool estimator | Home and facility pools | Uses shape area and average depth for sloped floors. |
Pool water estimation guide
Pool mode estimates volume from shape area and average depth. For sloped pools, average depth is often approximated as (shallow + deep) / 2 when detailed depth mapping is not available.
This approach is useful for first-pass planning. Irregular pools may require segmented measurements for higher confidence.
Rainwater tank examples and planning
Rainwater planning often requires frequent conversion between liters and gallons. The calculator helps compare household storage options, estimate remaining water in partially filled tanks, and translate volume into optional reference mass for logistics checks.
| Example | Input scenario | What you learn |
|---|---|---|
| Vertical rainwater tank | Diameter 2 m, height 3 m. | Estimate full capacity in liters, m3, US gallons, and UK gallons using one input set. |
| Horizontal tank partial fill | Diameter 1.5 m, length 4 m, liquid depth 0.7 m. | Shows non-linear liquid volume behavior for horizontal cylindrical storage. |
| Rectangular pool estimate | 30 ft x 15 ft with shallow 3.5 ft and deep 6 ft. | Uses average depth workflow to estimate water volume for pool planning tasks. |
| Pipe static content | Internal diameter 4 in, length 50 ft. | Computes contained liquid volume only, not dynamic flow rate. |
| Missing-dimension solve | Vertical cylinder with diameter 1.8 m and target 5000 L. | Solves required height and converts output into your selected length units. |
Pipe volume vs flow rate
Pipe mode estimates static contained liquid volume based on internal diameter and length. This is useful for inventory and line-content calculations.
It does not calculate dynamic flow rate by itself. Flow rate analysis needs additional variables such as velocity, pressure, slope, pump behavior, and system resistance.
Common mistakes
| Mistake | Why it matters | Better approach |
|---|---|---|
| Using outside dimensions | Capacity can be overstated when wall thickness is meaningful. | Use internal dimensions whenever possible, especially for precise inventory planning. |
| Mixing US and UK gallons | Reported volume appears inconsistent across systems. | Keep unit labels explicit and compare both gallon outputs separately. |
| Assuming horizontal fill is linear | Liquid estimate can be significantly off at low and high depths. | Use circular-segment partial-fill math for horizontal cylinders and round pipes. |
| Skipping average depth for sloped pools | Pool water estimate can be biased. | Use shallow and deep depth inputs or a measured average-depth override. |
| Using nominal pipe size as ID | Contained volume estimate may be incorrect. | Use actual internal diameter from manufacturer or pipe schedule data. |
| Treating static volume as flow rate | Design assumptions for pumps or drainage can be wrong. | Use a dedicated flow-rate method when velocity, pressure, or slope matters. |
| Treating calculator output as approval | Compliance and safety risk increases for regulated systems. | Confirm with manufacturer data and qualified professional review when precision matters. |
Educational unit reference table
These conversion factors are included as educational references for quick checks and troubleshooting.
| Volume unit | To cubic meters | System context |
|---|---|---|
| Milliliters (mL) | 0.0000010000000 m3 | metric |
| Liters (L) | 0.0010000000 m3 | metric |
| Cubic meters (m3) | 1.0000000 m3 | metric |
| Cubic centimeters (cm3) | 0.0000010000000 m3 | metric |
| US gallons (gal) | 0.0037854118 m3 | imperial |
| UK gallons (imp gal) | 0.0045460900 m3 | imperial |
| Cubic feet (ft3) | 0.028316847 m3 | imperial |
| Cubic inches (in3) | 0.000016387064 m3 | imperial |
| US barrels (bbl) | 0.15898729 m3 | imperial |
When this calculator is not enough
Some applications need more than geometric formulas. Use professional review when system shape, compliance, or safety requirements exceed simplified estimation scope.
| Scenario | Why deeper review is needed |
|---|---|
| Irregular tank geometry | Complex geometry may need segmented survey methods or manufacturer charts. |
| Dished, conical, or multi-end vessels | End-cap geometry can materially change effective capacity. |
| Large internal baffles/obstructions | Gross geometric volume can differ from usable fluid volume. |
| Pressure-vessel or structural design work | Safety and compliance calculations require licensed engineering review. |
| Commercial regulated storage | Permit and compliance decisions need jurisdiction-specific documentation. |
| Chemical compatibility planning | Material compatibility and hazard controls are outside geometric volume scope. |
Further reading and next steps
- Geometry basics for area and volume relationships.
- Average-depth methods for sloped pools and open reservoirs.
- Water treatment and dosing workflows that depend on volume confidence.
- Rainwater storage planning and demand-cycle estimation.
- Static contained volume versus dynamic flow-rate analysis.
- US versus UK gallon conversion hygiene in international contexts.
For more engineering planning tools, visit the Engineering Calculators hub. If you need ratio checks while comparing scenarios, the Percentage Calculator is useful for quick deltas.
Final takeaway
Volume estimation is straightforward when shape and units are handled carefully. This page gives you a practical, multi-shape workflow for total capacity, partial fill, conversion, and missing-dimension solving in one place. Treat results as educational geometric estimates, then confirm with manufacturer data and qualified review when the decision is safety-critical or compliance-sensitive.
Frequently Asked Questions
Related Calculators
Conduit and Wire Fill Calculator
Explore another geometry-heavy engineering workflow focused on raceway fill area and thresholds.
Open toolElectrical Cable/Wire Size and Voltage Drop Calculator
Compare static geometric volume with electrical run-planning calculations and safety assumptions.
Open toolDuct Size / Ductulator and CFM Calculator
Use another shape-driven engineering tool for airflow, velocity, and pressure-drop estimation.
Open toolPercentage Calculator
Quickly compare fill percentages and conversion deltas between scenarios.
Open toolSources & References
- 1.NIST Guide to SI and unit conversion references(Accessed March 2026)
- 2.Engineering ToolBox volume and tank geometry references(Accessed March 2026)
- 3.USGS water science school references(Accessed March 2026)
- 4.NOAA water and measurement educational resources(Accessed March 2026)
- 5.APHA water and wastewater operator references (general technical library)(Accessed March 2026)
- 6.ASHRAE fundamentals resources portal (measurement context)(Accessed March 2026)