Calculator

Rectangular Tank Volume Calculator – Calculate Tank Capacity in Litres & Gallons

Free rectangular tank volume calculator. Enter length, width, and height in any unit to instantly get tank capacity in litres, gallons, cubic metres, and more. Includes formula, worked examples, and unit conversion guide.
Updated April 15, 2026 5 Input Units 7 Output Units 3D Visualisation

Rectangular Tank Volume Calculator

Calculate the exact volume and capacity of any rectangular tank — fish tank, water storage tank, rainwater harvester, industrial sump, or swimming pool. Enter length, width, and height in any unit, and instantly see results in litres, gallons, cubic metres, cubic feet, and more.

Built by He Loves Math with mixed-unit support, a 3D tank preview, complete step-by-step working, and all the conversion tables you need alongside the calculator.

Quick Answer: The Volume Formula

The volume of any rectangular tank (also called a rectangular prism or cuboid) is found by multiplying its three interior dimensions together:

$$V = L \times W \times H$$

Where L = internal length, W = internal width, H = internal height. The result is in cubic units matching your measurements. To get litres from cubic metres: multiply by 1,000. To get US gallons: multiply cubic metres by 264.172.

Rectangular Tank Volume Calculator

Enter the internal length, width, and height of your tank. Each dimension can have a different unit — the calculator converts automatically. Select your preferred output units, then click Calculate Volume.

Length Width Height
Please enter valid positive values for all three dimensions.

Volume — All Units

Litres (L)
US Gallons
Cubic Metres (m³)
Cubic Feet (ft³)
Cubic Inches (in³)
UK Gallons

The Rectangular Tank Volume Formula — Full Explanation

A rectangular tank is geometrically a rectangular prism (also called a cuboid). It has six rectangular faces — three pairs of parallel, congruent rectangles. The volume enclosed by the six faces is the usable capacity of the tank.

The Fundamental Formula

Volume of a Rectangular Tank $$V = L \times W \times H$$

This formula works because volume is a measure of three-dimensional space. The length gives the first dimension, the width the second, and the height the third. Multiplying them together — in any order, since multiplication is commutative — gives the volume in cubic units.

Converting to Litres

$$V_{\text{litres}} = L_m \times W_m \times H_m \times 1{,}000$$

Where dimensions are in metres. This works because 1 cubic metre = 1,000 litres exactly.

Converting to US Gallons

$$V_{\text{US gal}} = V_{m^3} \times 264.172 = V_{\text{litres}} \times 0.264172$$

Converting from Centimetres to Litres Directly

Shortcut: cm → Litres $$V_{\text{litres}} = \frac{L_{cm} \times W_{cm} \times H_{cm}}{1{,}000}$$

This is the most convenient formula for fish tank calculations because aquarium dimensions are almost always given in centimetres. Multiply the three centimetre dimensions together and divide by 1,000 to get litres directly.

Unit Conversion Reference

The calculator handles all conversions internally, but understanding the relationships between volume units helps you verify results and perform quick mental estimates.

UnitEqualsEqualsEquals
1 m³1,000 L264.172 US gal35.3147 ft³
1 Litre (L)0.001 m³0.264172 US gal61.0237 in³
1 US Gallon3.78541 L231 in³0.133681 ft³
1 UK Gallon4.54609 L1.20095 US gal0.160544 ft³
1 ft³28.3168 L7.48052 US gal1,728 in³
1 in³0.016387 L0.004329 US gal16,387.06 mm³
1 cm³1 mL0.001 L0.0610237 in³

Worked Examples

Example 1 — Standard Fish Aquarium

An aquarium measures 120 cm × 50 cm × 50 cm (internal dimensions).

$$V = 120 \times 50 \times 50 = 300{,}000 \text{ cm}^3$$ $$V = \frac{300{,}000}{1{,}000} = \boxed{300 \text{ litres}}$$ $$V = 300 \times 0.264172 = \boxed{79.25 \text{ US gallons}}$$

A practical tip: the usable aquarium volume is typically 10–20% less than the geometric volume due to substrate (gravel/sand), decorations, and the fact tanks are not filled to the brim. So this 300 L tank typically holds 240–270 L of water in practice.

Example 2 — Domestic Water Storage Tank

A concrete rainwater tank measures 2.4 m × 1.8 m × 1.5 m.

$$V = 2.4 \times 1.8 \times 1.5 = 6.48 \text{ m}^3$$ $$V = 6.48 \times 1{,}000 = \boxed{6{,}480 \text{ litres}}$$ $$V = 6.48 \times 264.172 = \boxed{1{,}711.8 \text{ US gallons}}$$

Example 3 — Industrial Oil Sump (Mixed Units)

A workshop oil sump is measured as: length = 72 inches, width = 48 inches, height = 24 inches.

$$V = 72 \times 48 \times 24 = 82{,}944 \text{ in}^3$$ $$V = \frac{82{,}944}{1{,}728} = \boxed{48 \text{ ft}^3}$$ $$V = 48 \times 7.48052 = \boxed{359.1 \text{ US gallons}}$$

Partial Fill Volume

A tank is often not completely full. To find the volume of liquid in a partially filled rectangular tank, replace the full height (H) with the actual liquid level (h):

Partial Fill Formula $$V_{\text{fill}} = L \times W \times h$$

The percentage capacity used is:

$$\text{Percentage full} = \frac{h}{H} \times 100\%$$

Example: A 300-litre tank (120 cm × 50 cm × 50 cm) has water at a depth of 35 cm. The partial volume is:

$$V_{\text{fill}} = \frac{120 \times 50 \times 35}{1{,}000} = 210 \text{ litres} \quad \left(\frac{35}{50} \times 100 = 70\% \text{ full}\right)$$

Surface Area of a Rectangular Tank

Surface area calculations are needed whenever you are buying liner material, calculating heat loss, sizing insulation, or ordering paint for a tank. There are two versions depending on whether the tank has a lid:

Closed Rectangular Tank (6 faces) $$SA = 2(LW + LH + WH)$$
Open-Top Tank (5 faces — no lid) $$SA_{\text{open}} = LW + 2LH + 2WH = LW + 2H(L + W)$$

Example: For a fish tank 120 cm × 50 cm × 50 cm (open top):

$$SA_{\text{open}} = (120 \times 50) + 2 \times 50 \times (120 + 50)$$ $$= 6{,}000 + 100 \times 170 = 6{,}000 + 17{,}000 = \boxed{23{,}000 \text{ cm}^2 = 2.3 \text{ m}^2}$$

Weight of Water in a Rectangular Tank

One of the most practically important calculations for tank installation is the total weight of a full tank — both to ensure structural support is adequate and to plan logistics for moving tanks.

Weight of Water $$\text{Weight (kg)} = V \;(\text{litres}) \times \rho \; (\text{kg/L})$$

For fresh water at room temperature, the density is \( \rho \approx 1.00 \text{ kg/L} \) (exactly 1 kg/L at 4°C). For salt water (aquariums), \( \rho \approx 1.025 \text{ kg/L} \). For the industrial applications involving other liquids, use the appropriate density.

$$\text{Fresh water: } 300 \text{ L} \times 1.00 = \boxed{300 \text{ kg}}$$ $$\text{Salt water: } 300 \text{ L} \times 1.025 = \boxed{307.5 \text{ kg}}$$

Add the tank's own weight (varies enormously: a glass aquarium might weigh 20–50 kg, a concrete cistern 500–2,000 kg) to get the total load on the supporting surface.

Common Tank Sizes Reference

Tank TypeTypical L × W × HVolume (Litres)Volume (US Gal)Full Water Weight
Small aquarium60 × 30 × 30 cm54 L14.3 gal54 kg
Standard 120L aquarium100 × 40 × 30 cm120 L31.7 gal120 kg
Large aquarium150 × 60 × 60 cm540 L142.6 gal540 kg
Domestic IBC tote120 × 100 × 116 cm1,000 L (approx)264 gal1,000 kg
Small water tank2 × 1 × 1 m2,000 L528 gal2,000 kg
Above-ground pool (small)5 × 3 × 0.9 m13,500 L3,566 gal13,500 kg
Bathtub170 × 75 × 40 cm510 L134.7 gal510 kg
Standard skip bin350 × 180 × 120 cm7,560 L1,996 galN/A (dry)

Real-World Applications of the Rectangular Tank Formula

Fish & Aquariums

The most common use of this calculator is sizing aquariums. The rule of thumb "1 cm of fish per litre of water" requires knowing exact tank volume. Hobbyists also use it to calculate how much dechlorinator, fertiliser, or medication to add — most liquid treatments are dosed per 100 litres.

Water Storage & Harvesting

Homeowners and farmers use rectangular tanks and cisterns for rainwater collection, irrigation, and emergency water reserves. Knowing exact capacity helps plan water usage schedules, estimate how long supply will last, and size pumps appropriately for the volume being moved.

Swimming Pools

Above-ground rectangular pools and commercial lap pools use this formula directly. Calculating pool volume is essential for adding the correct dose of chlorine, pH adjusters, and algaecides — all of which are volume-dependent. Under-dosing allows biological growth; over-dosing is unsafe and wasteful.

Industrial & Engineering

Engineers calculate tank volumes for: chemical storage sizing, fuel tank design, effluent holding capacity, hydraulic reservoir sizing, and food processing vats. Each industry has safety regulations tied to stored volumes (e.g., secondary containment requirements for tanks over certain capacities).

Construction & HVAC

Buffer tanks in HVAC systems store hot or chilled water to smooth demand peaks. The tank volume determines how long the system can supply heating or cooling during a demand spike without the chiller or boiler cycling on and off — improving efficiency and reducing equipment wear.

Shipping & Logistics

Liquid cargo in rectangular ISO tank containers is measured by volume, then converted to mass using liquid density. Overloading ship compartments or trucks is controlled by calculating maximum allowable volume at a given liquid density, directly from the container's rectangular geometry.

Frequently Asked Questions

What is the formula for the volume of a rectangular tank?

The formula is \( V = L \times W \times H \), where L is the internal length, W is the internal width, and H is the internal height of the tank. The result is in cubic units matching your input unit. Always measure internal dimensions — exclude the wall thickness — to get the usable capacity of the tank.

How do I convert cm³ to litres?

Divide cubic centimetres (cm³) by 1,000 to get litres: \( V_L = V_{cm^3} / 1{,}000 \). This is exact — 1 litre is defined as 1,000 cm³. So a fish tank measuring 100 cm × 50 cm × 40 cm has a volume of 100 × 50 × 40 = 200,000 cm³ = 200 litres.

How do I convert tank volume to US gallons?

Multiply litres by 0.264172 to get US liquid gallons. Or multiply cubic metres by 264.172. Or multiply cubic feet by 7.48052. Example: a 500-litre tank holds 500 × 0.264172 = 132.1 US gallons.

What is the partial fill formula for a rectangular tank?

For a partially filled rectangular tank, use \( V_{\text{fill}} = L \times W \times h \), where h is the current depth of liquid (not the tank's full height H). The percentage full is \( (h / H) \times 100\% \). This is accurate for any liquid level in a rectangular tank because the cross-sectional area (L × W) is constant throughout the height.

How do I find the volume of a fish tank in litres?

Measure the internal length, width, and height of the aquarium in centimetres. Apply \( V = \frac{L \times W \times H}{1{,}000} \) to get litres directly. Note that the actual water volume is typically 10–20% less than the geometric volume due to substrate, decorations, and the fact that tanks are not filled to the top.

How much does a full rectangular tank weigh?

Water weighs approximately 1 kg per litre at room temperature. So the water weight = volume in litres × 1.00 kg/L. Add the tank's structural weight to get the total load on the supporting surface. A 300-litre aquarium filled with fresh water adds 300 kg of water weight alone — equivalent to about 3–4 adults standing on the stand.

What is the surface area formula for a rectangular tank?

For a closed rectangular tank: \( SA = 2(LW + LH + WH) \). For an open-top tank (no lid): \( SA_{\text{open}} = LW + 2H(L + W) \). Surface area is needed when buying liner material, calculating heat loss through tank walls, sizing insulation, or computing paint coverage for external surfaces.

Should I measure inside or outside the tank?

Always measure inside the tank for volume calculations. The internal dimensions give you the usable capacity — the space actually available for liquid. Measuring external dimensions and not accounting for wall thickness will overestimate the tank's capacity. For glass aquariums, typical glass thickness is 8–12 mm per side, so subtract this from each external dimension to get internal dimensions.

Shares:

Related Posts