Tank Volume Calculator
10 shapes • total & filled volume
🧰
Tank shape
Pick a shape; the required dimensions will appear below.
💧
Filled height
Optional. If empty, only total volume is shown.
⟲
Diameter
📏
Length / Height (axial)
↔️
Width
↕️
Height
🧪
Capsule cylinder length
🔼
Top diameter
🔽
Bottom diameter
🧊
Cone height
🧱
Cylinder height
📦 Total volume
💧 Filled volume
Leave “Filled height” empty to hide this result.
📚 References
| Topic | Key formula | Source |
|---|---|---|
| Circular segment (horizontal cylinder fill) | A = r²(acos((r−h)/r) − (r−h)√(2rh−h²)/r²) | Wikipedia – Circular segment |
| Spherical cap (capsule ends) | V = (πh²/3)(3R − h) | Wikipedia – Spherical cap |
| Ellipse segment (oval tanks) | A ≈ (WH/4)[arccos(1−2h/H) − (1−2h/H)√(4h/H − 4h²/H²)] | Math StackExchange – Ellipse segment area |
| Frustum volume | V = (πh/3)(R₁² + R₁R₂ + R₂²) | Wikipedia – Frustum |