Home Calculators Categories Category: Pets, Aquariums, Animals & Livestock

Aquarium Volume Calculator

Calculate your fish tank’s capacity from its internal dimensions, then adjust for the water level and submerged solids. Choose a rectangular, cube, cylindrical or regular hexagonal tank. Results show litres and both US and Imperial gallons.

Input
Load internal dimensions for a 30 cm cube or a 5 × 2 × 2 ft rectangle. Both examples reset fill to 100% and displacement to zero.

Measure the inside of the tank, excluding the glass.

Choose the matching base shape. Cube uses one side; cylinder uses diameter; regular hexagon uses one side, not the distance across the tank. All shapes have vertical sides.

Enter internal length, width and height.

Use centimetres, inches or feet. Changing the unit converts dimensions without changing physical size. Displacement remains in litres.

Switching units converts your measurements.

Measure inside the glass. This is the rectangle’s length, cube’s side, cylinder’s diameter, or one side of a regular hexagon. Supported range: 0.1–1000 in the selected unit.
cm
cm
Internal front-to-back width of a rectangular tank. This measurement is ignored for other shapes.
cm
cm
Internal height from the bottom to the top of the tank. Cube height is set by its side. Advanced Fill height adjusts the water surface separately.
cm
cm
Visual
Aquarium dimensions and fill height A schematic front elevation with water shading and a separate base-shape diagram. Dimension labels update with the measurements.
Output
Estimated water volume
—
Full tank, before displacement.
—
Full tank capacity
—
US liquid gallons of water
—
Imperial gallons of water
—
Filled volume before solids

Use Advanced to adjust fill height and displacement. Volume alone does not determine fish stocking or glass thickness.

Start with the space inside the glass

Measure the tank’s internal dimensions. An outside measurement includes the glass and overstates the space available for water. For a rectangular tank, multiply length, width and height in centimetres, then divide by 1,000 to get litres:

Volume (litres) = length (cm) × width (cm) × height (cm) ÷ 1,000

A 60 × 30 × 30 cm tank holds 54 L when filled to its internal height, before anything is placed inside. NIST’s volume guide explains the litre as a cubic decimetre; a 10 cm cube contains 1,000 cubic centimetres.

For a cube, use the same side length three times. A cylinder uses its internal diameter and height: the base area is π times the radius squared, with radius equal to half the diameter. For a regular hexagon, the base is six equilateral triangles, giving an area of 3 × √3 × side² ÷ 2. The hexagon control needs that side measurement, not the distance across opposite corners. Multiply either base area by height to obtain the volume.

Two common tank sizes, worked through

A 30 cm cube holds 27 L before displacement. Its volume is 30 × 30 × 30 = 27,000 cm³. Dividing by 1,000 gives 27 L, approximately 7.133 US gallons or 5.939 Imperial gallons. Select the 30 cm cube example to load these dimensions.

A 5 × 2 × 2 ft aquarium holds approximately 566.337 L. The three measurements give 20 ft³. One foot is 30.48 cm, so one cubic foot contains 30.48³ / 1,000 = 28.316846592 L. Multiplying by 20 gives 566.33693184 L, or approximately 149.61 US gallons. These are internal dimensions: a tank advertised as five feet long can have less internal capacity.

“2 ft × 1 ft” is missing a dimension. If those are length and width, a height of 1 ft gives about 56.634 L, whereas a height of 1.5 ft gives about 84.951 L. A “5 ft fish tank” is likewise insufficient to determine capacity without width and height.

Full capacity and the water actually in the tank

Leave the calculator in Simple mode for the geometric capacity of a full, empty tank. In Advanced mode, enter the water-surface height as a percentage of the internal tank height. All supported shapes have vertical sides, so the same percentage applies to their volume.

Suppose the 60 × 30 × 30 cm tank has a water surface 27 cm above the bottom. Its fill height is 27 / 30 × 100 = 90%, leaving 54 × 0.9 = 48.6 L of space below that surface. If submerged solids occupy 5 L, the estimated water volume is 48.6 − 5 = 43.6 L.

Enter displacement in litres. Count the volume of submerged solid material that excludes water; a bag’s bulk gravel volume also includes gaps where water can sit. The calculator cannot infer displacement from substrate depth or a photograph. If you do not know it, use zero and treat the result as volume before solids. Displacement cannot exceed the filled tank volume; tiny numerical rounding differences at equality are treated as zero water.

The diagram shades the entered fill height. It does not lower that surface when you enter displacement: the water volume changes because solids occupy some of the space beneath it. Sumps, external filters and plumbing are outside these tank measurements.

Choose the right gallon result

US liquid gallons and Imperial gallons differ. This calculator uses 3.785411784 L per US gallon and 4.54609 L per Imperial gallon. The US factor follows from 231 cubic inches per gallon and exactly 2.54 cm per inch. NIST’s conversion tables document the length and gallon conversions.

Both gallon results describe the estimated water volume. The separate full-capacity result remains in litres, making it possible to compare an empty tank with the adjusted water estimate. Values are shown to at most three decimal places; very small nonzero values use scientific notation instead of appearing as zero. Extra digits in a result do not improve the accuracy of your measurements.

Tank volume is only one part of choosing fish or building an aquarium. This tool does not determine a safe stocking count, glass thickness, support loading or suitability for a particular species. It also does not approximate bow-front tanks, fish bowls or irregular shapes.

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.