Aquarium Gravel, Substrate & Water Calculator
Compare two substrate layouts in the same rectangular aquarium. Measure the inside tank, target waterline and front and back bed depths. Use entered dry bulk density and pore share to estimate buying quantities and the volume of water left after grain and hardscape displacement. The side profiles show where each bed sits relative to the waterline.
Compare aquarium substrate layouts
Estimate how much substrate to buy and how much water fits at the same waterline with two different beds.
Substrate and water comparison
Gross volume at the entered waterline is 140.4 L before displacement.
Layout A
121.53 L
Estimated water volume at the fill line
- Bulk substrate
- 19.8 L
- Dry substrate mass
- 27.72 kg
- Whole bags
- 3 · $58.50
- Surplus after filling
- 2.28 kg
Layout B
114.96 L
Estimated water volume at the fill line
- Bulk substrate
- 32.4 L
- Dry substrate mass
- 43.74 kg
- Whole bags
- 5 · $90.00
- Surplus after filling
- 6.26 kg
Layout B minus A · +16.02 kg substrate · -6.57 L water · +$31.50 bag cost
Layout A 121.53 L. Layout B 114.96 L.
Tank dimensions
Measure inside the glass and use the same tank and waterline for both layouts.
Layout measurements and bag quotes
Use packed dry bulk density. Enter only the submerged hardscape displacement outside the substrate already counted.
Aquarium cross-sections
The dashed line marks the waterline. The orange area below it is submerged substrate, including its pores. The volume ledger includes hardscape separately.
Bed 3 cm front · 8 cm back. Waterline 39 cm.
Bed 5 cm front · 13 cm back. Waterline 39 cm.
What occupies the fill volume
Submerged grains and hardscape displace water. Pore water stays within the net water total.
Layout A
- Submerged grains
- 12.87 L
- Hardscape
- 6 L
- Water
- 121.53 L
Layout B
- Submerged grains
- 19.44 L
- Hardscape
- 6 L
- Water
- 114.96 L
Show volume ledger
| Volume | Layout A | Layout B |
|---|---|---|
| Submerged bulk substrate | 19.8 L | 32.4 L |
| Submerged grains | 12.87 L | 19.44 L |
| Water inside pores | 6.93 L | 12.96 L |
| Hardscape | 6 L | 6 L |
| Net water | 121.53 L | 114.96 L |
Export the aquarium worksheet
Save the geometry, bag quantities and all fill-volume components in metric units.
Download aquarium CSVShow selectable CSV
How to use this calculator
- Choose Two submerged slopes or Waterline crosses the bed. Set Measurement system, then enter inside length, depth and height and the Waterline from tank floor.
- Enter Front substrate depth and Back substrate depth for each layout. Use its packed Pore share and Dry bulk density. Enter only submerged hardscape displacement outside the substrate already counted.
- Enter Mass per bag and Price per bag for each quoted substrate. Compare dry mass, whole bags, cost and leftover mass.
- Read Aquarium cross-sections and open Show volume ledger to check the submerged bed, pore water, grain displacement and net fill volume.
- Download aquarium CSV for both layout inputs, volume components, bag quantities and side profile points in metric units.
The Formula
The mathematical logic powering this calculation is:
Use inside tank length L, front-to-back depth D, waterline height w, and front and back substrate depths f and b in centimeters. The linearly sloped bed has bulk volume LD(f + b)/2 cubic centimeters. Gross volume to the fill line is LDw. Divide cubic centimeters by 1,000 for liters.
Only the part of the bed below the fill line displaces water. Let l be the smaller bed depth and h the larger. Average submerged thickness is w when w ≤ l, (l + h)/2 when w ≥ h, or w − (w − l)²/[2(h − l)] when l < w < h. In that middle case, subtract the triangle of space between the shallow side of the bed and the waterline from the rectangle below the waterline. Multiply the average submerged thickness by LD for the submerged bulk volume.
If the packed substrate’s water-filled pore share is p, pore water is p × submerged bulk and submerged grains occupy (1 − p) × submerged bulk. Net water is gross fill volume minus the submerged grains and the supplied hardscape displacement. Hardscape displacement covers only the immersed solid portion outside the substrate already counted. If those solids exceed the gross fill volume, net water is unavailable and the deficit is shown.
Dry substrate mass equals bulk volume in liters × dry bulk density in kg/L. For bag mass M, round required dry mass divided by M upward to whole bags. Surplus equals purchased mass minus required dry mass. Multiply whole bags by the entered USD price. Whole-bag thresholds and volume subtraction use exact arithmetic. Display uses six significant digits for geometry and mass, whole counts for bags, and currency cents for cost.
Metric and U.S. customary inputs represent the same geometry. One inch equals 2.54 cm, one U.S. liquid gallon equals 3.785411784 L, and one avoirdupois pound equals 0.45359237 kg. Inside dimensions support 1 to 600 cm equivalent. The waterline and either bed depth can reach the inside height or be zero. Pore share supports 0 to 95%, bulk density 0.001 to 20 kg/L, submerged hardscape 0 to 216,000 L and bag mass 0.01 to 10,000 kg. Bag price supports $0 to $100,000 with two decimal places. Other numeric fields allow eight decimals.
The estimate assumes a rectangular tank, a straight packed slope across the depth, uniform bulk density and filled pores below the waterline. Use measurements for each material and layout. Compaction, uneven beds, trapped air and objects may affect actual water volume.Worked Example
If you input:
- Tank dimensions: 90 × 40 × 45 cm inside, 39 cm waterline
- Layout A: 3 cm front and 8 cm back, 35% pores, 1.4 kg/L bulk density, 6 L hardscape, $19.50 per 10 kg bag
- Layout B: 5 cm front and 13 cm back, 40% pores, 1.35 kg/L bulk density, 6 L hardscape, $18 per 10 kg bag
Result:
At the waterline the tank holds 140.4 L before displacement. Layout A gives 19.8 L of packed substrate, 27.72 kg dry mass, 3 bags and 121.53 L of water. Layout B gives 32.4 L of packed substrate, 43.74 kg dry mass, 5 bags and 114.96 L of water. The bag costs are $58.50 and $90.00.
Frequently Asked Questions
How much gravel do I need for a sloped aquarium bed?
Multiply the inside footprint by the average of the front and back depths. That gives packed bulk volume. Multiply this volume by the dry bulk density and divide by bag mass, rounding up to get whole bags.
Why does gravel displace less water than its packed bulk volume?
Packed bulk volume includes both grains and pores. The model fills the submerged pores with water, so only the submerged grains are subtracted from the tank’s gross waterline volume.
What happens when the waterline cuts through the substrate slope?
Only the volume below the waterline is used for displacement and pore water. The dry mass and bag calculation still use the complete substrate profile.
What counts as hardscape displacement?
Enter the volume occupied by solid objects below the waterline, excluding material already counted as substrate. Use the actual displacement of hollow or porous pieces where water can occupy part of their volume.
How do I estimate dry bulk density?
Use the dry mass of a measured packed volume, or a supplier’s packing figure for that material. The density of a single grain describes the solid itself. Bulk density accounts for the packed bed and its void space.
Why do similar layouts need different numbers of bags?
The slopes can yield different volumes, the materials can have different bulk densities, and the products can have different bag masses. Even a small change above an exact bag boundary adds a whole bag.
Similar Calculators
Gravel & Crushed Stone Calculator
Estimate gravel and crushed stone for multiple sections. Compare bulk tons or yards with whole bags, including density, compaction, allowance and cost.
Tank Volume & Dip Chart Calculator
Find tank volume from liquid depth or solve depth from volume. Compare fill levels and export dip charts for horizontal cylinders, upright cylinders and boxes.
Pond Liner Size & Purchase Planner
Size a one-piece pond liner, compare roll cuts and stock sheets in both orientations, and inspect surplus, quote totals and extra-edge allowance scenarios.
Cone & Frustum Capacity Calculator
Compare cone, frustum and cylinder capacity, liquid depth and surface areas. Inspect fill curves, solve target-volume depth and explore ideal sector or rectangle development.
