Last updated:

Volume calculator

Tank Volume & Liquid Capacity Calculator

Enter the inside length, width, height, and current water level of any rectangular tank to get both the full capacity and the current liquid volume. The calculator converts automatically to liters, US gallons, imperial gallons, and cubic feet. Use inside dimensions, outside measurements include the wall thickness and overestimate what the tank actually holds.

Full volume = length × width × height

Rectangular tank

Enter tank dimensions

Formula: V = length × width × height

3D visual

Rectangular tank preview

Loading visual

On This Page

How to Use the Rectangular Tank Volume Calculator

Enter length, width, height, and filled depth. Set filled depth equal to the tank height if you want full capacity; enter the actual liquid level if you want to know what's currently inside. The calculator shows both figures along with fill percentage, liters, gallons, and step-by-step working.

For real tanks, use inside dimensions, outside dimensions include the wall thickness and will overestimate usable capacity. An aquarium rated at "40 gallons" on the box is typically the outside-dimension estimate; measuring inside and running the numbers often yields a slightly lower figure.

Quick tip: Use inside dimensions for liquid capacity. Outside dimensions include wall thickness and can overestimate the amount the tank can hold.

Rectangular Tank Volume Formula

Definition: Rectangular tank volume is the amount of space a box-shaped tank can hold.

The standard formula for calculating full rectangular tank volume is:

V = l × w × h
Rectangular tank volume diagram with length l, width w, and height h labeled on a box shape, showing V = l × w × h
Rectangular tank with length l, width w, and height h labeled showing the formula V = l × w × h

A rectangular tank is a rectangular prism, so its volume is found by multiplying the three inside dimensions.

How to Calculate Rectangular Tank Volume

To calculate the volume of a rectangular tank by hand, measure the inside length, inside width, and inside height. Make sure all three values use the same unit before multiplying.

Step 1: Measure Length, Width, and Height

Use inside measurements if you need capacity. For a real tank, the outside dimensions are not always the same as the usable internal space.

Step 2: Multiply Length by Width

This gives the rectangular base area.

Step 3: Multiply by Height

Multiplying base area by height gives the full three-dimensional volume.

  1. Find inside length: l
  2. Find inside width: w
  3. Find inside height: h
  4. Multiply l × w × h
  5. Write the answer in cubic units
Check your work: Enter length, width, height, and filled depth above. Set filled depth equal to height if the tank is full.

How to Calculate Liquid Volume in a Rectangular Tank

Liquid volume uses filled depth instead of full tank height. This answers questions like "how much water is currently in the tank?"

liquid volume = length × width × filled depth

If the tank is full, filled depth equals tank height. If the tank is half full, filled depth is half of the inside height.

Rectangular Tank Volume in Liters, Litres, and Gallons

Many practical tank questions need capacity in liters, litres, or gallons rather than cubic units. The calculator converts the filled volume automatically using these conversion factors:

If the tank is round rather than rectangular, see How Much Water Does a Cylindrical Tank Hold? for the equivalent litres and gallons conversion using V = πr²h.

Fish Tank and Aquarium Volume Calculator

Aquariums are rectangular tanks, so the same formula applies: V = length × width × height. Measure inside the glass or acrylic, not the outside frame, because aquariums with thick walls can be several centimeters smaller on each inside dimension than the outside suggests.

A common "40-gallon" aquarium with outside measurements of 36 in × 18 in × 16 in actually holds about 44.9 gallons at the rim. Real capacity with substrate, decorations, and an appropriate water level is usually lower. To find the true capacity:

  1. Measure inside length, inside width, and inside height
  2. Enter those measurements above with inches selected
  3. Set filled depth to your target water level (not the full tank height)
  4. Read the US gallons result

For saltwater tanks, knowing exact water volume helps dose chemicals and calculate salinity. For freshwater tanks, it determines filter sizing and fish stocking guidelines, which are typically rated in gallons per fish.

Worked Rectangular Tank Volume Examples

These examples focus on the difference between full tank capacity and the amount of liquid currently in the tank. That one detail changes which height you use.

Example 1: Calculate Volume of Water in a Rectangular Tank

Problem: A rectangular water tank has inside dimensions of 3 m long, 1.5 m wide, and 1.2 m high. The water level is 0.8 m deep. How much water is in the tank?

  1. Full capacity = 3 × 1.5 × 1.2 = 5.4 m³
  2. Current water volume = 3 × 1.5 × 0.8 = 3.6 m³
  3. Convert to liters: 3.6 × 1,000 = 3,600 L
  4. Fill percentage = 3.6 ÷ 5.4 = 66.7%

Answer: The tank currently contains 3.6 m³, or 3,600 liters, of water.

Example 2: Rectangular Tank Volume Calculator in Litres

Problem: A small treatment tank is 120 cm long, 60 cm wide, and 50 cm high. It is filled to 35 cm. Calculate the liquid volume in litres.

  1. Filled volume = 120 × 60 × 35 = 252,000 cm³
  2. Convert cm³ to litres: 252,000 ÷ 1,000 = 252 L
  3. Full capacity = 120 × 60 × 50 = 360,000 cm³ = 360 L

Answer: The tank currently holds 252 litres and has a full capacity of 360 litres.

Example 3: Rectangular Tank Volume in Gallons

Problem: An aquarium has inside dimensions of 36 inches long, 18 inches wide, and 16 inches high. Estimate the full capacity in US gallons.

  1. Volume = 36 × 18 × 16 = 10,368 in³
  2. US gallons = 10,368 ÷ 231 = 44.88 gal
  3. Leave space at the top for equipment, air, and water movement.

Answer: The aquarium holds about 44.9 US gallons when filled to the top.

Example 4: Rectangular Fuel Tank Volume

Problem: A rectangular fuel tank has inside dimensions 5 ft by 3 ft by 2 ft. It is filled to a depth of 1.4 ft. Find the current liquid volume in cubic feet.

  1. Full tank volume = 5 × 3 × 2 = 30 ft³
  2. Current liquid volume = 5 × 3 × 1.4 = 21 ft³
  3. Fill percentage = 21 ÷ 30 = 70%

Answer: The tank currently contains 21 ft³ of liquid.

Example 5: Find Filled Depth From Liquid Volume

Problem: A rectangular tank is 2 m long and 1 m wide. It contains 1.2 m³ of water. What is the filled depth?

  1. Use filled depth = liquid volume ÷ (length × width)
  2. filled depth = 1.2 ÷ (2 × 1)
  3. filled depth = 0.6 m

Answer: The water is 0.6 meters deep.

Practice check: For full capacity, enter filled depth equal to height. For current liquid capacity, enter the measured liquid depth.

Rectangular Tank Volume Units

Rectangular tank volume is written in cubic units, while liquid capacity is commonly reported in liters or gallons.

Volume unit conversion table showing cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Common volume unit conversions: cm³, mL, liters, US gallons, UK gallons, cubic feet, and cubic meters
Input Unit Volume Unit Useful Conversion
Centimeters cm³ 1,000 cm³ = 1 liter
Meters 1 m³ = 1,000 liters
Inches in³ 231 in³ = 1 US gallon
Feet ft³ 1 ft³ ≈ 7.48052 US gallons

References

Rectangular Tank Volume Mistakes to Avoid

Frequently Asked Questions

How do you calculate rectangular tank volume?

Use V = length × width × height with inside dimensions. For current liquid volume when the tank is not full, replace height with the actual filled depth: V = length × width × filled depth.

Should I use inside or outside dimensions?

Inside dimensions give the accurate liquid capacity. An aquarium with 10 mm glass walls has inside dimensions several centimeters shorter than the outside on each side. That gap adds up and can make the result several liters different from the label.

How do I convert the result to liters?

If dimensions are in centimeters, divide cubic centimeters by 1,000. If in meters, multiply cubic meters by 1,000. The calculator handles this automatically and also shows US gallons and imperial gallons.

How do I calculate my fish tank or aquarium volume in gallons?

Measure the inside length, width, and height in inches, enter them above with "Inches" selected, and set filled depth to your water level. The US gallons result is the actual water volume at that fill level. For exact stocking calculations, use the inside measurements rather than the tank's rated gallon label.

What if my tank is not full?

Same formula, different height. Enter the actual water depth in the "Filled depth" field instead of the full tank height. The calculator shows both the current liquid volume and the full tank capacity side by side.

My tank is cylindrical or has rounded ends, will this calculator work?

No, this page handles rectangular box-shaped tanks only. For cylindrical tanks use the Cylinder Volume Calculator; for rounded-end capsule tanks use the Capsule Volume Calculator.

Method

Formula, Accuracy, and Review

Written by Calculators Labs Editorial Team
Reviewed by Calculators Labs
Last updated

This tool applies V = l × w × h to reach its result. Inputs (Length, Width, Height, Filled depth) are read, the formula runs, and the answer is rounded for readability.

Where units are involved, everything is normalized to a single system before the final calculation runs. The full working is shown on this page so anyone, from students to professionals, can verify the result by hand.