### How do I calculate tank volume?

The volume and surface area of a tank are both important things to know. It is usually a simple matter, once either surface area or volume is known, to calculate the other, since volume is equal to the surface area multiplied by the depth (and conversely: surface area = volume divided by depth).You can even write the volume onto an inconspicuous part of the tank or on the inside of your cabinet or stand with a water-proof marker, so that it is always there when you need it. Measure the dimensions of your tank in either cm or inches, apply the necessary formula or calculations, and then use this conversion guide to convert to liters or gallons.

Rectangular.

This is by far the simplest case. The surface area of a rectangle is simply its length (L) multiplied by its width (W): Area = L x W

**Hexagonal (Six Sides)**

Do not confuse hexagonal tanks (which are fairly rare) with octagonals (which are more common). A hexagonal tank has six sides (as per the diagram below) while the octagonal has eight.

To determine the surface area of a hexagonal tank you need to know its length (L), its width (W), and the length of the front pane (X).

The formula for surface area is then:

Area = 0.5(W x L + W x X)

ie: Multiply the width of the tank by its length and record the answer. Multiply the width of the tank by the length of the front pane and add this to the first number. Divide by two to get the surface area.

### Octagonal

To determine the surface area of an octagonal tank you need to know its length (L), its width (W), the length of the front pane (X) and the length of the side or end pane (Y).

The formula for surface area is then:

Area = 0.5(W x L + W x X + Y x L - X x Y)

ie: Multiply the width of the tank by its length and record the answer. Multiply the width of the tank by the length of the front pane and record. Multiply the length of the tank by the length of the end pane and record. Add these three numbers together, record. Multiply the length of the front pane by the length of the end pane. Subtract this number from your previous answer then divide by two to get the surface area.

For a round octagonal the length of the side and front panes will be equal (ie Y=X). However, this does not make the resulting math much easier! The new equation is:

Area = 0.5(W x L + W x X + X x L - X x X)

Or simply follow the instructions as above.

### D-Shape

To determine the surface area of a D-shaped tank you need to know its length (L), its width (W), the length of the front pane (X) and the length of the side or end pane (Y).

The formula for surface area is then:

Area = 0.5(W x L + W x X + Y x L - X x Y)

ie: Multiply the width of the tank by its length and record the answer. Multiply the width of the tank by the length of the front pane and record. Multiply the length of the tank by the length of the end pane and record. Add these three numbers together, record. Multiply the length of the front pane by the length of the end pane. Subtract this number from your previous answer then divide by two to get the surface area.

### Corner

To determine the surface area of a corner tank you need to know the lengths of the long sides (L), which will be equal, and of the short sides (X). You do not need the length of the front pane.

The formula for surface area is then:

Area = 0.5(L x L + 2X x L - X x X)

ie. Multiply the length of the long side by itself, record the answer. Multiply the length of the long side by the length of the short side. Times this answer by two, add to your previous answer and record. Multiply the length of the short side by itself. Subtract this number from your previous answer then divide by two to get the surface area.

### How do I convert surface area to volume?

As stated earlier, volume is equal to the surface area of the tank multiplied by the depth, regardless of the shape of the tank.

If you have measured your tank's dimensions in cm:- Multiply the calculated surface area by depth in cm. This gives you volume in milliliters ( = cubic centimeters).
- Divide by 1000 to get volume in liters.
- Divide by 3.8 for US Gallons
- Divide by 4.54 for imperial gallons.