ThisCalculator

Home and garden

Aquarium Calculator Dimensions: How to Measure

Updated · Standard formula, shown below

Water volume 182.9 L
Water volume
48.3 US gal
Result
Filled weight (water only)
183 kg
Result
Length (outside)
100 cm
You entered

Aquarium Calculator Dimensions: How to Measure

This aquarium calculator works out the water volume of a rectangular or square tank from its outside dimensions (length, width, and height) and glass thickness. You enter the three external measurements in centimeters or inches, plus the glass thickness, and it returns the internal water volume in liters and gallons, along with the approximate weight when filled. The result is the actual water capacity, not the nominal tank size, which is what you need for stocking levels, heater sizing, and medication dosing.

Formula

The calculator uses the standard internal volume formula for a rectangular prism. The external dimensions are reduced by twice the glass thickness on each side, because the glass takes up space on both the left and right, front and back, top and bottom.

V = (L − 2t) × (W − 2t) × (H − 2t)

  • V = water volume in liters (or cubic centimeters divided by 1000)
  • L = external length in centimeters
  • W = external width in centimeters
  • H = external height in centimeters
  • t = glass thickness in centimeters (convert from mm by dividing by 10)

If you measure in inches, the volume comes out in cubic inches. To convert to gallons, divide by 231 (US liquid gallons) or 277.4 (imperial gallons). To convert to liters, multiply cubic inches by 0.016387.

Worked Example

Take a typical 100 cm × 40 cm × 50 cm aquarium with 8 mm glass. First convert the glass thickness to centimeters: 8 mm = 0.8 cm. Then subtract twice that from each dimension:

  • Internal length = 100 − 2(0.8) = 100 − 1.6 = 98.4 cm
  • Internal width = 40 − 2(0.8) = 40 − 1.6 = 38.4 cm
  • Internal height = 50 − 2(0.8) = 50 − 1.6 = 48.4 cm

Now multiply the internal dimensions: 98.4 × 38.4 × 48.4 = 182,876.7 cm³. Divide by 1000 to get liters: 182.9 L. Multiply by 0.264172 to get US gallons: 48.3 gal. The filled weight of the water alone is 182.9 kg (since 1 L of freshwater weighs 1 kg). The calculator rounds the volume to one decimal place, giving 182.9 L and 48.3 gal.

Why Use Internal Dimensions Instead of External?

Most aquarium manufacturers label tanks by nominal volume, which is often based on external dimensions or rounded up. A tank sold as “50 gallons� might actually hold only 45 gallons of water when you account for glass thickness, substrate, decorations, and the fact that you never fill it to the very brim. For practical purposes—like how many fish it can safely hold, how large a heater you need, or how much medication to add—you need the true water volume.

Glass thickness matters more than most people think. On a small 10-gallon tank with 5 mm glass, the difference between external and internal volume is only about 5%. On a large 150-gallon tank with 12 mm glass, the difference can be 10% or more. That is enough to affect stocking decisions and dosing calculations.

How to Measure Your Aquarium Correctly

To get accurate results from this calculator, measure the outside of the tank from edge to edge, not the inside. Use a rigid ruler or tape measure and measure at the middle of each side, not at the corners, because corners are often slightly rounded or reinforced.

  1. Measure the length from the left outer edge to the right outer edge at the longest point.
  2. Measure the width from the front outer edge to the back outer edge.
  3. Measure the height from the bottom of the glass (excluding the plastic base frame if there is one) to the top rim.
  4. Measure the glass thickness at the top edge of the tank, where it is not covered by silicone or trim.

If your tank has a plastic rim or brace, measure the glass itself, not the rim. The rim adds a few millimeters that are not part of the water volume. For rimless tanks, this is straightforward, but for framed tanks, you may need to measure the glass at a corner where the trim is thinner.

Common Mistakes and How to Avoid Them

The most common error is mixing units. If you measure length in inches but glass thickness in millimeters, you will get a wildly wrong result. Always convert everything to the same unit before calculating. This calculator expects centimeters for dimensions and millimeters for glass thickness, but you can enter inches if you convert the thickness to inches (1 mm = 0.03937 in).

Another frequent mistake is forgetting that glass thickness applies to both sides. Novices often subtract the thickness only once, which overestimates the internal volume. For a 100 cm tank with 8 mm glass, subtracting once gives 99.2 cm instead of 98.4 cm—a difference of about 1.6 L in this example, which is small but can add up on larger tanks.

Rounding too early is also a problem. If you round each internal dimension to the nearest centimeter before multiplying, you can introduce an error of several liters on a large tank. Keep full precision until the final step, then round to one decimal place for liters or gallons.

What the Result Tells You (and What It Doesn’t)

The volume this calculator returns is the maximum water capacity of the empty tank, filled to the very top. In practice, you will not fill it that high. Most aquarists leave about 2–3 cm of air space at the top to prevent fish jumping out and to accommodate the water displaced by decorations and equipment. Subtract about 5–10% from the calculated volume for a realistic working volume.

Substrate, rocks, driftwood, and internal filters all displace water. A thick sand bed can reduce water volume by 10% or more. For stocking purposes, the general rule of thumb is 1 inch of adult fish per gallon (roughly 1 cm per liter), but that rule assumes a reasonably decorated tank, not a bare one. Using the calculated internal volume gives you a safer baseline.

This calculator does not account for the weight of the glass itself, the substrate, or the stand. The filled weight shown is only the water. A 180 L tank with glass and substrate can easily weigh 250–300 kg, so always make sure your floor and stand can support the total weight.

Alternatives and When Not to Use This Calculator

This calculator is designed for rectangular and square tanks, which are the vast majority of aquariums. For bow-front, cylindrical, hexagonal, or custom-shaped tanks, the formula is different. For those, you can approximate the volume by measuring the water you add when filling the tank for the first time—pouring in known volumes and marking the level. That is the most accurate method for any shape.

If you already know the internal dimensions (for example, from the manufacturer’s spec sheet), you can skip the glass thickness subtraction and just multiply length × width × height. Some manufacturers list the internal volume directly; in that case, this calculator is unnecessary. But if you only have external dimensions, which is common for second-hand tanks, this calculator gives you a reliable estimate.

Frequently Asked Questions

What is the difference between a 50-gallon tank and a 50-gallon “trade� tank?

A trade or nominal 50-gallon tank is usually based on external dimensions or a rounded number. For example, a common 48″ × 13″ × 20″ tank has external dimensions that multiply to about 54 US gallons, but the internal volume is closer to 48–50 gallons. This calculator gives you the real water volume, which is what matters for stocking and dosing.

Can I use this for a saltwater tank?

Yes, the volume calculation is identical. However, saltwater weighs slightly more than freshwater—about 1.025 kg per liter at typical salinity—so the filled weight will be about 2.5% higher. The volume in liters or gallons is the same.

Do I need to measure glass thickness for a rimmed tank?

Yes, but measure the glass itself, not the plastic rim. The rim is usually thicker than the glass and would overestimate the subtraction. If the rim is thick and you cannot see the glass edge, you can measure the glass at the top corner where the rim is cut away, or use a caliper on the glass at the bottom if accessible.

How do I convert liters to imperial gallons?

Divide liters by 4.546 to get imperial (UK) gallons. This calculator shows US gallons, which are smaller. A US gallon is 3.785 L, while an imperial gallon is 4.546 L. The difference is about 20%, so be careful which gallon you are using, especially when reading fish stocking guidelines from different countries.

What if my tank is not a perfect rectangle?

This calculator will give an overestimate for bow-front or hexagonal tanks because the curved or angled sections hold less water than the full rectangle. For those, the most accurate method is to measure the water you add when filling the tank. Alternatively, you can break the shape into smaller rectangular sections and add them together.

Why does the calculator ask for glass thickness if I know the internal dimensions?

It does not—if you already know the internal dimensions, you can enter those directly and set the glass thickness to 0. The calculator will then simply multiply the three internal dimensions. That is a perfectly valid way to use it, and it gives the same result as measuring externally and subtracting the glass.

Related

Formula used
in l | Length (outside) | cm | 100 | 0
in w | Width (outside) | cm | 40 | 0
in h | Height (outside) | cm | 50 | 0
in t | Glass thickness | mm | 8 | 0
out vol | Water volume | L | (l - 2*(t/10)) * (w - 2*(t/10)) * (h - 2*(t/10)) / 1000 | 1
out gal | Water volume | US gal | vol * 0.264172 | 1
out wt | Filled weight (water only) | kg | vol * 1.0 | 0

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.