Aquarium Volume & Medication Dose Calculator
Work out how many gallons are really in your tank after substrate and decor, then scale any medication label dose and water change to that volume.
The calculator finds the actual water volume of a rectangular or cylindrical aquarium from inside dimensions, the gap below the rim and substrate/decor displacement (typically 10-15%), then scales a medication's label dose (e.g. 5 mL per 10 gallons) to that net volume and sizes water changes.
Free, runs in your browser. Nothing you enter is uploaded.
How to use it
- Measure the inside length, width and height (or diameter) of the tank.
- Enter how far below the rim the water sits and pick how much substrate and decor you have.
- Copy the medication's label dose (for example 5 mL per 10 gallons).
- Use the net volume and the scaled dose, not the tank's nominal size.
What you enter
- Inside dimensions (inches or cm)
- Gap from water surface to rim
- Substrate and decor displacement
- Medication label dose and per-volume (optional)
What you get
- Actual water volume in US gallons and liters
- Medication dose scaled to your tank
- Water change volume
- Water weight and heater wattage
Formula
Net volume = L × W × (H − gap) × (1 − displacement %) | Dose = label dose × net volume / label volume
Volume in cubic inches ÷ 231 gives US gallons (cm³ ÷ 1000 gives liters). The water level sits below the rim and substrate, rock and decor displace water, so the real volume is typically 10-20% less than the nominal tank size. Medications dosed on the nominal size are overdosed by the same margin.
Example: Treating ich in a 20 gallon long tank
Input: 30 × 12 × 12 in, water 1 in below rim, typical gravel and decor (10%), label dose 5 mL per 10 gal
Result: Net volume 15.4 US gal (58.3 L); dose 7.7 mL
Dosing for the nominal 20 gallons (10 mL) would overdose by about 30%.
Questions
How do I calculate actual water volume in a planted aquarium?
Subtract 10% to 15% from the gross calculated tank volume to account for volume displaced by substrate, rocks, driftwood, and internal filters.
Limitations
- Assumes straight inside walls; bow-front, corner and hexagonal tanks need their own shape formula.
- Displacement is estimated; for precise dosing, measure water removed during a full drain.
Related reading
- Aquarium Tank Sizing & Bio-Load Stocking
- Coral Reef Trophic Dynamics for Aquarium Stocking
- Goldfish Pond Care: Water Quality & Feeding
More Pet Care
- Pet Health & Vaccination Record
- Dog Age Calculator
- Cat Food & Daily Calorie Calculator
- Cat Age & Human Years Calculator
- Cat Pregnancy & Queening Calculator
- Dog Calories Calculator
- Puppy Food Calculator
- Pet Calorie Calculator
- Raw Dog Food Calculator
- Freeze Dried Dog Food Calculator
- Aquarium Fish Stocking Calculator
- Aquarium Substrate Calculator
All free tools · By Dr. Zubair Khalid, DVM, MS, PhD.