Rectangular Aquarium Volume Calculator

The rectangular aquarium is the most common fish tank shape, found in sizes from desktop nano tanks to massive display setups. Its straight walls make volume calculation straightforward and maximize usable swimming space for fish. Use this calculator to find the exact water capacity in both gallons and liters.

Use this calculator to get the exact water capacity before dosing medications or supplements, sizing a filter or heater, planning water changes, or calculating safe stocking levels for your fish. For total system volume including a sump, use the sump volume calculator.

Formula and unit notes are checked against the methodology described on our About page.

V = L × W × H

Dimensions

HeightLengthWidth

Enter the Rectangular dimensions in inches above to calculate volume.

How to Measure a Rectangular Aquarium

Measure the inside dimensions of your rectangular tank from glass to glass, not including the frame or trim. For length, measure the longest horizontal edge; for width, measure front to back; for height, measure from the inner bottom to the desired water line.

Always use a rigid tape measure or ruler for straight dimensions. For curved surfaces, a flexible sewing tape pressed against the glass gives the most accurate reading. Take each measurement at least twice and average the results to minimize error. If your tank has a plastic frame or trim, slide your measuring tool inside the frame so it contacts the glass directly. Accurate inside measurements give you the true water capacity of your fish tank — the number that matters for dosing, filtration, and stocking decisions.

For the most accurate volume calculation, measure to the actual water line rather than to the top rim of the tank. Most aquarists keep the water level 1–2 inches below the rim to prevent overflow during maintenance. This difference can reduce effective volume by 5–10% compared to a brim-full measurement.

Dimension labels: Length, Width, Height

Rectangular Volume Formula

V = L × W × H

This formula calculates the interior volume in cubic units matching your input measurements. If you measure in inches, the result is cubic inches; divide by 231 to convert to US gallons, or multiply gallons by 3.785 for liters. If you measure in centimeters, the result is cubic centimeters; divide by 1,000 for liters.

Step-by-Step Example Calculation

Consider a rectangular aquarium with the following inside dimensions: 24 inches long, 12 inches wide, 16 inches tall.

  1. Multiply length by width: 24 × 12 = 288 square inches
  2. Multiply by height: 288 × 16 = 4,608 cubic inches
  3. Convert to gallons: 4,608 ÷ 231 = 19.95 US gallons
  4. Convert to liters: 19.95 × 3.785 = 75.51 liters

Result: This rectangular aquarium holds approximately 19.95 US gallons (75.51 liters) of water when filled to the measured height.

Why Rectangular Is the Volume Baseline

Every other tank shape on this site is a variation on the rectangular box — a bow front adds a curved segment to a rectangular body, a corner tank cuts a rectangular footprint diagonally in half, and a hexagon approximates a rectangle with angled corners removed. Because V = L × W × H has no curves, angles, or overlapping sections to account for, it is the only formula where the three input dimensions can be measured, entered, and trusted independently of each other. Any tank you're unsure how to classify — as long as it has four flat walls and no curves or corners — belongs on this calculator rather than a specialty shape page.

Water Volume Adjustments

Fill Height

The calculator above assumes you fill the tank to the full measured height. In practice, most aquarists keep the water level 1–2 inches below the rim to prevent overflow during water changes, when adding hands and equipment, or if fish splash. Use the fill height adjustment toggle in the calculator to enter your actual water line height for a more realistic volume estimate.

For tanks with open-top (rimless) designs, the gap between water surface and glass top is especially important to track. A 2-inch gap on a 20-inch tall tank reduces effective volume by 10%, which is significant for stocking calculations and medication dosing.

Substrate Displacement

Gravel, sand, and planted substrates occupy space that would otherwise hold water. A 2-inch layer of gravel in a standard rectangular tank displaces roughly 5–8% of the total tank volume. Use the substrate displacement toggle in the calculator to subtract this volume from your water capacity estimate.

Rock and Decoration Displacement

Large rocks, driftwood, and dense decorations displace additional water. In a heavily aquascaped tank, hardscape can reduce water volume by another 5–15%. The most accurate method to measure this is the water displacement approach: note the water level before and after adding hardscape, then calculate the volume of the water level change.

Once you have an accurate water volume — accounting for fill height, substrate, and hardscape — use it as the basis for all tank management decisions. Medication and supplement dosing should always be calculated against actual water volume, not the nominal gallon label. Filter turnover rate (typically 4–10× tank volume per hour) and heater wattage (approximately 3–5 watts per gallon) both depend on accurate volume. For a precise breakdown of how glass thickness reduces interior volume on your specific tank size, see the glass thickness and volume loss guide.

Water Weight Estimate

The calculator displays estimated water weight for both freshwater (8.34 lbs per gallon) and saltwater (8.55 lbs per gallon at 1.025 specific gravity). These estimates help you determine whether your floor and stand can safely support the filled tank, substrate, and equipment combined.

Water weight estimates are approximate and based on standard conditions. Freshwater weight assumes pure water at 62 °F (16.7 °C) with a density of 8.34 lbs/gal (1.0 kg/L). Saltwater weight assumes a specific gravity of 1.025, typical of reef aquariums. Actual weight may vary depending on water temperature, salinity, dissolved minerals, and substrate displacement. Always verify that your aquarium stand and floor can support the total weight of the filled tank, substrate, equipment, and decorations before filling.

Common Measurement Mistakes

  • Measuring outside dimensions: Glass or acrylic thickness ranges from 3 mm to 19 mm per panel. Using outside dimensions overstates volume, especially on smaller tanks where glass thickness is a larger proportion of total width.
  • Including the frame or trim: Plastic frames add 0.5–1.5 inches per side. Always measure inside the frame, from glass surface to glass surface.
  • Measuring to the rim instead of the water line: Unless you fill to the absolute top (which is impractical), measure to where you actually keep the water level for an accurate usable volume.
  • Mixing measurement units: Entering some dimensions in inches and others in centimeters produces nonsensical results. Use one unit system consistently and let the calculator handle conversions.
  • Confusing length and width:On a rectangular tank, length is the longest horizontal side and width is measured front to back. Swapping them doesn't change the total volume, but it does change which measurement you're comparing against a manufacturer spec sheet.
  • Rounding a near-square footprint to a cube:If your tank's length and width are close but not identical, use this rectangular calculator rather than the cube calculator — even a small difference between length and width changes the volume more than it looks like it should.

Common Aquarium Sizes by Dimension

Most aquarium volume questions arrive as raw dimensions — if you have a tank with specific measurements, enter them directly into the calculator above. The worked examples below cover the most commonly searched dimension combinations.

Dimensions (in)Dimensions (ft)US GallonsLitresNearest Standard Size
48 × 24 × 2448x24x244 × 2 × 2119.48452.1None (custom)
72 × 24 × 2472x24x246 × 2 × 2179.22678.2None (custom)
60 × 24 × 2460x24x245 × 2 × 2149.35565.2None (custom)
84 × 24 × 2484x24x247 × 2 × 2209.09791.3None (custom)
36 × 12 × 1736x12x173 × 1 × 1.431.69119.9~29 gallon
48 × 13 × 2048x13x204 × 1.1 × 1.753.94204.1~55 gallon
11 × 9 × 911x9x90.9 × 0.75 × 0.753.8614.6~3.5 gallon
18 × 12 × 3018x12x301.5 × 1 × 2.527.92105.7~29 gallon tall

All values use interior dimensions — if measuring from outside the glass, subtract glass thickness on each side before calculating. See the glass thickness volume loss guide for precise adjustments.

Related Calculators

Need a different shape? The aquarium volume calculator covers all 20 tank shapes in one place.

Use this calculator on your website — free

Embed the Rectangular calculator on your blog or website with one line of code. No account required.

Get embed code

Frequently Asked Questions

How do I measure a rectangular aquarium for volume calculation?
Measure the inside dimensions of your rectangular tank from glass to glass, not including the frame or trim. For length, measure the longest horizontal edge; for width, measure front to back; for height, measure from the inner bottom to the desired water line.
What is the volume formula for a rectangular tank?
The formula is V = L × W × H. Enter the required dimensions in inches to get cubic inches, then divide by 231 for US gallons or measure in centimeters and divide by 1,000 for litres.
How accurate is the rectangular calculator?
Rectangular tanks have the simplest geometry on this site, so calculator accuracy is limited almost entirely by measurement precision, not the formula. Because volume is the product of three independent numbers, a small error in any one dimension carries straight through — a 1/4-inch error on a 24-inch width changes volume by about 1%. Measure length, width, and height to the water line with a rigid tape for the most reliable result.
Can I use this calculator for an acrylic rectangular tank?
Yes. The L × W × H formula is unaffected by material, but acrylic tank walls run 1/4 inch to over 1/2 inch thick on large builds, versus 3/16 to 3/8 inch for glass at comparable sizes. Because a rectangular tank has flat panels on all four sides, thicker walls reduce interior width and length simultaneously — always measure the inside face-to-face distance, not the tank's outside footprint.
How much does a rectangular aquarium weigh when full?
Multiply the volume in gallons by 8.34 lbs (freshwater) or 8.55 lbs (saltwater), then add the tank, stand, substrate, and equipment weight. Because a rectangular tank's weight rests on a continuous flat bottom seam, load distributes evenly across the full footprint — this is the most forgiving shape for stand and floor loading calculations, unlike point-loaded round or cornered designs.