ThisCalculator

Everyday

Diesel Tank Volume Calculator: How to Estimate Gallons

Updated · Standard formula, shown below

Total volume 897.7 US gal
Total volume
3,398.0 L
Result
Length
10 ft
You entered
Width
4 ft
You entered

This calculator estimates the volume of a diesel tank in gallons or liters based on its dimensions. You enter the tank’s length, width, and height (or diameter and length for cylindrical tanks), and it returns the total capacity, plus the volume at a given liquid depth if you need it. It uses standard geometric formulas for rectangular and cylindrical tanks, with corrections for partially filled tanks.

Formula

For a rectangular tank, the volume is simply the product of its internal dimensions:

V = L × W × H

Where:

  • V = volume (cubic feet, then converted to gallons or liters)
  • L = internal length (ft)
  • W = internal width (ft)
  • H = internal height (ft)

To convert cubic feet to US gallons, multiply by 7.48052. To convert to liters, multiply by 28.3168. For cylindrical tanks (like many diesel storage tanks), use V = π × r² × L, where r is the radius (half the diameter) and L is the length. For horizontal cylinders, the partial volume formula is more complex and requires the liquid depth.

Worked Example

Using the calculator defaults: L = 10 ft, W = 4 ft, H = 3 ft.

  1. Volume in cubic feet: 10 × 4 × 3 = 120 ft³
  2. Convert to US gallons: 120 × 7.48052 = 897.7 gal
  3. Convert to liters: 120 × 28.3168 = 3398.0 L

The calculator shows 897.7 gallons and 3398.0 liters, matching the formula.

When to Use This Calculator

Use it when you need to know the capacity of a diesel tank for planning fuel purchases, estimating refill amounts, or checking if a tank meets local regulations. It’s also helpful for sizing a tank for a generator, farm equipment, or heating oil storage. The calculator works for any rectangular or cylindrical tank, but always measure the internal dimensions, not the outside, because wall thickness reduces capacity.

How to Read the Result

The result is the total capacity when the tank is full. If you’re measuring a partially filled tank, you need the liquid depth and the tank’s orientation. For a rectangular tank, the volume at a given depth is simply L × W × depth. For a horizontal cylinder, the partial volume is more complex—use a dip chart or a specialized calculator. The result is in US gallons, which differ from imperial gallons (1 US gal = 0.8327 imperial gal). If you use liters, note that 1 US gallon = 3.78541 liters.

Common Mistakes and How to Avoid Them

  • Using outside dimensions: Always subtract wall thickness (usually 1/4 inch to 1/2 inch for steel tanks) to get internal dimensions.
  • Mixing units: If you measure in feet, use the conversion factors above. If you measure in inches, convert to feet first (divide by 12) or use a different formula.
  • Confusing US and imperial gallons: Diesel is often sold in US gallons in the US, but in imperial gallons in the UK and some other countries. Check your local convention.
  • Forgetting the tank isn’t a perfect shape: Real tanks have rounded corners, dished heads, or internal baffles that reduce volume. The formula gives an approximate capacity, not an exact one.

Limitations of the Formula

The rectangular formula assumes sharp corners and flat sides, which is rare in practice. Most diesel tanks have rounded bottom corners or are cylindrical. For cylindrical tanks, the formula is exact for the full volume, but the partial volume requires a dip chart. Also, the calculator does not account for the volume taken up by internal components like fuel pickups or baffles. For critical applications (e.g., fuel tax reporting), always verify with a calibrated dip stick or the tank manufacturer’s data.

Safety and Accuracy Tips

When measuring a diesel tank, ensure it is not pressurized and that you follow site safety rules. Do not enter a confined space without proper training and equipment. For accurate measurements, use a tape measure and measure at least twice. If the tank is buried or inaccessible, refer to the original specifications or a professional measurement. Never rely on a calculated volume for overfilling—always leave room for expansion, as diesel expands with temperature.

Frequently Asked Questions

How do I calculate the volume of a cylindrical diesel tank?

For a full cylindrical tank, use V = π × r² × L, where r is the radius (half the diameter) and L is the length. For example, a tank with a 2-foot radius and 10-foot length holds π × 2² × 10 ≈ 125.7 cubic feet, which is about 940 US gallons. For partial fills, you need the liquid depth and a horizontal cylinder formula.

What is the difference between US gallons and imperial gallons?

US gallons are smaller. 1 US gallon = 3.78541 liters, while 1 imperial gallon = 4.54609 liters. So a 1000 US gallon tank holds about 832.7 imperial gallons. When reading fuel pumps or tank specs, confirm which unit is used.

Can I use this calculator for underground diesel tanks?

Yes, if you know the internal dimensions. But underground tanks are often cylindrical, so use the cylinder formula. For a horizontal underground tank, the partial volume calculation is more complex; you may need a dip chart from the manufacturer.

How much diesel can I store without a permit?

Regulations vary by country and local jurisdiction. In the US, many states allow up to 1,100 gallons without a permit for above-ground storage, but this is not universal. Always check with your local fire marshal or environmental agency before installing a large tank.

Why does diesel expand with temperature?

Like most liquids, diesel expands as it warms. The coefficient of expansion is about 0.00046 per degree Celsius. A 1000-gallon tank at 15°C will hold about 1005 gallons at 25°C. This is why tanks are never filled to the absolute brim—leave expansion space.

How do I measure the liquid level in a diesel tank?

Use a dip stick or a calibrated dip tape. Insert it to the bottom, then read the level in inches or centimeters. For a rectangular tank, multiply the wetted length and width by the depth to get cubic feet, then convert to gallons. For cylindrical tanks, use a dip chart or a calculator that handles the cylinder formula.

Related

Formula used
in l | Length | ft | 10 | 0
in w | Width | ft | 4 | 0
in h | Height | ft | 3 | 0
out gallons | Total volume | US gal | l * w * h * 7.48052 | 1
out liters | Total volume | L | l * w * h * 28.3168 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.