How Many Fish in a 40 Gallon Saltwater Tank?
Saltwater stocking is more conservative than freshwater, marine fish need more room, produce more waste, and many are territorial. The calculator below is pre-set to 40 gallons (saltwater); add your livestock and it'll flag reef-safe, aggression, and tank-size problems.
Example 40-gallon saltwater stocking ideas
- Community reef: clownfish pair + royal gramma + six line wrasse + cleanup crew.
- Dwarf-angel reef (with caution): coral beauty + clownfish + firefish.
- Centerpiece: midas blenny + banggai cardinal + cleaner shrimp.
Cycle the tank fully, add the most peaceful fish first and the most aggressive last, and quarantine new arrivals. Run your exact list through the calculator above.
Reef fish for a 40-gallon saltwater tank




Photos via Wikimedia Commons under their respective licenses, click a credit for the source.
Gear for a 40-gallon reef tank
- Filtration and flow: a sump and a protein skimmer are the normal answer at 40 gallons, with a couple of powerheads for random flow across the rock. See our filter picks for hang-on-back options if you are not running a sump.
- Heating: the standard guideline is about 3 to 5 watts per gallon, scaled by how far above room temperature you are heating. Get the exact figure from the heater size calculator, then see our tested heater picks.
- Lighting: reef lighting is driven by the coral you intend to keep rather than by tank size, and softies and LPS are far more forgiving than SPS. Our aquarium LED guide covers the output tiers.
- Substrate: reef tanks want aragonite sand rather than inert gravel, since it buffers pH and suits sand-sifting livestock. Our substrate guide compares the options.
- Salt and mixing: work out how much salt a water change needs with the salt mix calculator, and mix to salinity rather than by the scoop.
Our gear guides contain affiliate links, see our disclosure. They never change our stocking advice or calculator results.