Formula and method
For a box, multiply internal length, width and height. For a circular cylinder, multiply its circular area by its length. Convert the result to liters and gallons, then scale by the entered usable percentage. Known-volume mode skips geometric inference and applies the same fraction to the supplied gross volume.
Box volume = length × width × height
Cylinder volume = π × (diameter / 2)² × cylinder length
Usable volume = gross volume × usable percentage / 100
US gallons = volume (in³) / 231, or liters / 3.785411784
Understanding your inputs
- Tank geometry
- Rectangular box or Circular cylinder or Known gross volume
- Internal dimension unit
- inches or centimeters or millimeters
- Box internal length
- Enter in. Accepted input range: 0.01–10000.
- Box internal width
- Enter in. Accepted input range: 0.01–10000.
- Box internal height
- Enter in. Accepted input range: 0.01–10000.
- Cylinder internal length
- Enter in. Accepted input range: 0.01–10000.
- Cylinder internal diameter
- Enter in. Accepted input range: 0.01–10000.
- Known volume unit
- US gallons or Imperial gallons or liters
- Known gross volume
- Enter US gal. Accepted input range: 0.001–100000.
- Usable fraction of gross volume
- Enter %. Accepted input range: 0.01–100. Illustrative percentage only. Use manufacturer usable capacity or measured allowance; this is not a prescribed filling level.
Worked example
The original rectangular example is 24 × 18 × 12 in internally, with 95% usable. Gross volume is 5,184 in³, about 22.442 US gal. The illustrative usable result is about 21.319 US gal.
Example inputs
- Tank geometry
- Rectangular box
- Internal dimension unit
- inches
- Box internal length
- 24 in
- Box internal width
- 18 in
- Box internal height
- 12 in
- Usable fraction of gross volume
- 95 %
Default result: Estimated usable tank capacity: 21.319 US gal.
Assumptions
- Dimensions are internal dimensions, in one selected unit, of an ideal box or circular cylinder.
- The 95% usable example is an assumption, not a universal safe filling level or a substitute for a manufacturer capacity specification.
Limitations
- Real automotive tanks often have complex shapes, rounded corners, baffles and inaccessible pickup volume.
- Changing geometry alone cannot authorize fuel-tank construction or installation. Verify OEM specifications and appropriate tank design requirements.
Common mistakes
- Using exterior dimensions without accounting for walls and internal components.
- Confusing cylinder diameter with radius, or applying a usable allowance twice.
Sources and methodology
Method reviewed October 1, 2026. Formulas are implemented independently; references explain the dimensions, ratings or application requirements.
- Technical Mathematics — volume of common solids ↗
Rectangular-prism and circular-cylinder volume formulas.
- NIST — SI conversion factors ↗
Miles, liters, US/Imperial gallons and reciprocal fuel-economy conversions.
- NIST — definition of the US liquid gallon ↗
The US liquid gallon is 231 cubic inches; together with the exact inch conversion this gives 3.785411784 liters.
Frequently asked questions
Can I enter an OEM gross volume instead?
Yes. Choose known gross volume and enter its units and usable fraction. If the manufacturer already supplies usable capacity, do not reduce it again without a reason.
Does cylinder orientation change total capacity?
No for a full ideal cylinder; total volume is area times length. This tool does not calculate partial-fill height or slosh behavior.