How to use this aquarium substrate calculator
Enter internal base length and width in centimeters or inches. Use equal front and rear depths for a level bed, or different depths for a straight slope. Leave bulk density blank unless the product's dry bulk density is known in kilograms per liter. Enter bag capacity in liters if you want a whole-bag estimate. A weight printed on a bag is not its volume; do not enter kilograms into the bag-liter field.
How the calculation works
Substrate purchasing starts with the space you intend to fill. For a rectangular footprint, multiply length, width, and average layer depth. When dimensions are in centimeters, division by one thousand converts the result to liters. This is a bulk volume: it includes the spaces between grains. That is the relevant quantity for filling a bed, but not the same quantity as the solids' displacement of water.
The average of front and rear depths describes a bed whose surface rises in a straight line across the tank. Equal depths give a level layer. Terraces, islands, hollows, retaining walls, large rocks, and uneven corners do not follow that geometry. For a complicated layout, divide the bed into simple areas and calculate each separately, or make a measured layout estimate before purchasing material.
Converting liters to dry mass requires bulk density, not the density of an individual mineral particle. Grain size, material, packing, and moisture affect the relationship. There is no single kilograms-per-liter value suitable for every sand, gravel, and aquasoil. The mass output remains unavailable until you provide a positive density, making the unknown explicit instead of inserting a misleading universal default.
A purchase estimate divides required liters by liters supplied per bag and rounds upward. This tells you how many complete bags cover the modeled volume. It does not automatically add an arbitrary waste percentage. Product settling, changes to the layout, or a small reserve may justify an allowance, but that decision should remain visible rather than being hidden inside the volume formula.
This tool calculates the layer you specify; it does not choose a biologically appropriate depth. Plant species, substrate product, maintenance method, and animal behavior can require different designs. Manufacturer instructions also matter because some active soils affect water chemistry. A geometrically correct quantity is not a recommendation that every material or layer design is suitable for every aquarium.
Formulas
Average layer depth
Bulk volume and optional mass
Whole bags
Worked examples
A sloping bed
For a 90 × 45 cm base, 4 cm at the front and 8 cm at the rear average 6 cm. The bulk requirement is 90 × 45 × 6 / 1000 = 24.3 L. With 9 L bags, 24.3 / 9 = 2.7, so purchase quantity rounds up to three bags, before any separately chosen reserve.
A product-specific mass estimate
If the actual material has a dry bulk density of 1.5 kg/L, a 24.3 L bed requires about 36.45 kg. That density is illustrative only. Using a different product's density could substantially change the weight estimate even though the required bed volume stays the same.
Common uses
Plan a material purchase
Compare a level bed with a planned slope before buying bags. The bag result rounds upward because a purchase normally consists of complete bags, while the exact modeled liters remain visible for checking.
Prepare a mass inventory
Use documented dry bulk density to estimate substrate mass, then transfer the appropriate mass into the Aquarium Weight Calculator. Do not transfer substrate bulk liters into the water-displacement field without accounting for pore space.
Accuracy and limitations
The geometric model assumes a rectangular base and linear slope. It neither subtracts hardscape footprints nor adds settling, compaction or purchasing waste allowances. Measure each differently shaped section separately where necessary.
Mass and bag estimates depend on the supplied product information. A material's particle density is not its loose bulk density. Blank optional fields remain unknown rather than becoming zero-density or zero-size assumptions.
Sources and methodology
References support unit conversions, relevant material or energy calculations, and husbandry context where listed. NumUtility's geometric and arithmetic models are explained above; they do not establish safe stocking, maintenance requirements, or structural capacity.
Frequently asked questions
Can I enter a bag sold by weight?
Only if you also know its corresponding bulk volume. The bag field accepts liters. A mass label alone cannot determine bag volume without suitable product data.
Does the tool subtract rocks?
No. It assumes complete rectangular coverage. Reduce the modeled covered area or calculate sections separately when hardscape replaces a meaningful part of the bed.
Can I use zero substrate depth?
Yes. Zero at both ends returns zero volume and zero bags. Negative depths, zero bag size, and nonpositive entered density are rejected.
Are my aquarium measurements saved?
No. These calculations run locally in your browser. Entered measurements are not sent to NumUtility, and no account or saved aquarium profile is required.