Rectangular Tank Volume Calculator
Use the Rectangular Tank Volume Calculator to calculate internal capacity and water volume from tank length, width and fill depth.
Volume Calculator
Select a 3D shape and enter its measurements.
Enter any two spherical-cap measurements. The calculator derives the third.
Enter both water-level readings using the same volume unit. The difference is the object's displaced volume.
For ft / in, enter values such as 5 ft 6 in. For m / cm, enter values such as 1 m 25 cm. You can also enter a decimal value in the larger unit.
Micrometers, nanometers and angstroms are available for very small-scale measurements.
Enter positive measurements. Results update when you calculate.
Calculate a result to rate this tool.
Multiply the length, width and height using the same measurement unit.
Step-by-step calculation
- Enter your dimensions to see the calculation steps.
Rectangular tank formula and measurements
Rectangular tank volume is calculated from inside length L; inside width W; inside height H; optional fill depth or height percentage. Total = LWH. Choose the relevant calculation method below and enter the measurements shown.
Total = LWH
Required inputs: Inside length L; inside width W; inside height H; optional fill depth or height percentage.
How to use this calculator
- Choose the calculation method that matches the measurements you know.
- Enter inside length L; inside width W; inside height H; optional fill depth or height percentage.
- Select the appropriate units before interpreting the result. Keep length, area and volume units distinct.
- Select Calculate volume and review any error message, conversions and calculation steps.
- Check the result against the model assumptions below before using it for a project.
Worked example

Inside dimensions 3 m × 4 m × 2 m give 24 m³ total capacity. A fill depth of 1 m contains 12 m³.
Available calculation options
These options match this page’s method controls. Selecting one changes the measurements or geometry used by the tool.
| Available option | Inputs / calculation |
|---|---|
| Horizontal Cylinder | Total = πr²L; filled = circular-segment area × L. |
| Vertical Cylinder | Total = πr²H; filled = πr²f. |
| Rectangle | Total = LWH; filled = LWf. |
| Horizontal Oval | Stadium cross-section: π(H/2)² + (W−H)H; width must exceed height. |
| Vertical Oval | Vertical stadium profile; height must exceed width. Fill uses lower arc, middle rectangle and upper arc zones. |
| Horizontal Capsule | Cylinder + two hemispherical ends. Straight length excludes the rounded ends. |
| Vertical Capsule | Upright cylinder + hemispherical ends; total height = straight height + diameter. |
| Horizontal 2:1 Elliptical | Total = πr²L + (2/3)πr³ for two 2:1 ellipsoidal heads. |
| Horizontal Dish Ends | Model estimate: total = πr²L + 0.309 × (4/3)πr³; head fill is a scaled spherical-cap approximation. |
| Horizontal Ellipse | True elliptical cross-section: total = π(W/2)(H/2)L; partial fill uses its elliptical segment. |
Assumptions and limits
The large result is total capacity; the Tank Volumes table separates total and filled amounts. Fill percentage means percentage of internal fill height, not percentage of capacity. Measure liquid depth vertically from the bottom. Stadium oval and true ellipse are different profiles. Dished-head results are an approximation: obtain manufacturer geometry/calibration for precise inventory. Select tank ends that match the actual vessel.
Tank diameter is twice radius. Use straight shell length where requested, excluding modeled end caps. For a partial fill, read the filled-volume column rather than the headline total capacity.
Units and accuracy
Lengths use linear units, areas use squared units and volumes use cubed units. For example, 1 m³ = 1,000 L; 1 ft³ = 1,728 in³; and 1 yd³ = 27 ft³. US and imperial gallons differ, so use the correctly labeled output. A conversion does not improve measurement accuracy.
Keep unrounded measurements during the calculation and round the final result to suit the measurements. Very small nonzero results may use scientific notation to avoid displaying a misleading zero.
Questions about this tool
Why can my real measurement differ from the answer?
The large result is total capacity; the Tank Volumes table separates total and filled amounts. Fill percentage means percentage of internal fill height, not percentage of capacity. Measure liquid depth vertically from the bottom. Stadium oval and true ellipse are different profiles. Dished-head results are an approximation: obtain manufacturer geometry/calibration for precise inventory. Select tank ends that match the actual vessel.
Can I change the input units?
Choose the appropriate unit control and interpret each field as length, area or volume according to its label. Changing a unit does not automatically turn an outside measurement into an inside measurement.
How do I report an incorrect result?
Use Contact Us and include the page URL, selected method, input values, units and expected result. The contact form opens your email application; do not include sensitive information.
Available calculator controls
Enter each measurement in its own unit and choose a cubic or liquid output unit. For radius-based shapes, the diameter option converts the entered width to radius. The steps and diagram use the main input unit.
Copy the result, print the calculation or copy a calculation link to reopen the same measurements. The advanced panel can solve a supported missing dimension, add or subtract two simple solids, and estimate mass from a density you supply. Combined shapes must satisfy the stated overlap and containment assumptions.
Summary
Use the Rectangular Tank Volume Calculator to calculate internal capacity and water volume from tank length, width and fill depth.
- Rectangular Tank Volume Calculator
- tank capacity
- internal dimensions
- water volume