Plan my tank
Tank sizes / 40 gallon
The roomy all-rounder

40-Gallon Tank Setup: What to Buy and What Fits

A 40-gallon breeder is wide and shallow, which gives fish more floor and swimming space than its volume suggests. It handles big schools, active barbs and several centerpiece fish.

Dimensions
36 × 18 × 16 inlength × width × height
Weight when full
~458 lbswater, substrate, gear
Heater
150 wattsfor 77°F in a 68°F room
Substrate
60 lbsfor a 1.5 inch layer

3 stocking ideas for a 40-gallon tank

Each one passes our checks for tank size, group size, temperature and temperament. Open one in the builder to adjust it.

Warm-water community

Cardinals, corydoras and a pearl gourami.

79% stocked · 77°F
Open in the builder

Active barb tank

Fast, bold fish that keep to themselves.

69% stocked · 75°F
Open in the builder

Fancy goldfish trio

Three goldfish with room to grow.

98% stocked · 67°F
Open in the builder

Shopping list for a 40-gallon tank

Sized for the “Warm-water community” idea above. Change the fish in the builder and the list updates.

Your blueprint

40-gallon tank

12 cardinal tetras · 8 corydoras · 1 pearl gourami · 1 bristlenose pleco
Stocking level79% · Good
  • These fit a 40-gallon tank and get along. Aim for about 77°F.

Equipment, sized for this tank

Tank: 40 gallons
Standard size: 36 × 18 × 16 inches, about 458 lbs when full.
See tanks on Amazon
Heater: 150 watts
Holds 40 gallons at 77°F in a 68°F room.
See heaters on Amazon
Hang-on-back filter: 240+ gallons per hour
Turns the tank over about 6 times an hour, for a heavy waste load.
See filters on Amazon
Aquarium sand: 60 lbs
A 1.5-inch layer. Sand protects bottom dwellers that dig and sift.
See substrate on Amazon
LED light and lid: 36 inches long
A lid cuts evaporation and stops fish and snails getting out.
See lights on Amazon

Starter supplies

Water conditioner
Removes chlorine from tap water. Roughly 4 mL per full fill; follow your bottle's label.
See on Amazon
Liquid water test kit
For cycling the tank before fish go in, and for checking water after.
See on Amazon
Thermometer
A heater's dial is only a rough guide.
See on Amazon
Gravel vacuum
For weekly water changes of about 10 gallons (25%).
See on Amazon
Micro pellets for small fish
For your cardinal tetras.
See on Amazon
Sinking wafers for bottom feeders
For your corydoras.
See on Amazon
Tropical flake food
For your pearl gouramis.
See on Amazon
Algae wafers
For your bristlenose plecos.
See on Amazon

Paid links. As an Amazon Associate, TankStarter earns from qualifying purchases. Sizes are estimates from published care guidelines, not hands-on testing.

Fish that fit a 40-gallon tank

The most of each you could keep if it were the only species in the tank.

FishKept alone, up toGroup sizeTemperature
Betta1One per tank76–82°F
Neon tetra406 or more70–79°F
Cardinal tetra406 or more75–82°F
Ember tetra906 or more73–82°F
Rummy-nose tetra306 or more75–81°F
Black skirt tetra206 or more70–79°F
Guppy303 or more72–82°F
Endler's livebearer513 or more72–82°F
Platy203 or more70–80°F
Molly103 or more75–80°F
Swordtail93 or more72–79°F
Zebra danio306 or more64–77°F
White cloud minnow456 or more60–72°F
Harlequin rasbora326 or more73–82°F
Chili rasbora1206 or more72–82°F
Cherry barb276 or more73–81°F
Tiger barb156 or more72–79°F
Corydoras catfish276 or more72–79°F
Pygmy corydoras726 or more72–79°F
Bristlenose pleco6One or more73–81°F
Otocinclus406 or more72–79°F
Kuhli loach305 or more75–82°F
Dwarf gourami1One per tank72–82°F
Honey gourami20One or more72–82°F
Pearl gourami8One or more75–82°F
Angelfish4One or more76–82°F
German blue ram14One or more78–85°F
Fancy goldfish2One or more60–74°F
Cherry shrimp1605 or more65–80°F
Amano shrimp1203 or more68–80°F
Nerite snail90One or more72–80°F
Mystery snail24One or more68–82°F

40-gallon tank questions

How many fish can I put in a 40-gallon tank?

It depends on the fish. As examples, a 40-gallon tank comfortably holds 1 betta, or 40 neon tetras, or 30 guppies if kept alone. Mixed tanks hold fewer of each. The builder shows the stocking level for any combination.

What size heater does a 40-gallon tank need?

About 150 watts to hold 77°F in a 68°F room. A colder room or warmer target needs more.

What size filter does a 40-gallon tank need?

Look for a filter rated for at least 240 gallons per hour, which turns the tank over about 6 times an hour. Go higher for messy fish such as goldfish or plecos.

How much does a 40-gallon tank weigh?

About 458 pounds when filled with water, substrate and equipment. Standard dimensions are 36 × 18 × 16 inches.

Other tank sizes