Aquarium Gallon CalculatorTank volume & stocking math

Xiphophorus hellerii

Swordtail Fish Care and Tank Size

Plan adult space, compatible tankmates and stable water for swordtail.

Minimum tank size

20–30 US gal in a long tank. Use a tank with an open swimming lane and a tight lid. A longer 30-gallon tank gives an adult group room to separate.

Adult size and group size

3.1–4.7 in (8–12 cm), body size varies. Plan for about four, with more females than males in a mixed-sex group.

Temperament and tankmates

Two males may chase each other in close quarters. Choose similarly active, peaceful hard-water fish and break up lines of sight with plants.

Temperature, pH and water quality

Aim for a water temperature of 68–79°F (20–26°C). Aim for a pH of 7.0–8.0. Match the water to the exact species and the conditions it has been kept in. In an established tank, test for zero ammonia and nitrite and watch the nitrate trend between water changes.

Feeding

Use a complete livebearer diet, adding small frozen foods and some plant material. Share feeding across the tank.

Plan the setup

Compare usable volume with the aquarium gallon calculator and check footprint, filtration and group size. See the stocking calculator for a rough fish-load estimate and types of aquarium fish for other species. Base your actual stock on the needs of the animals and the layout of your tank.

Care reference.

Frequently asked questions

What tank size should I plan for?

Plan for 20–30 US gal in a long tank. Use a tank with an open swimming lane and a tight lid.

How large are the adults?

Adults reach 3.1–4.7 in (8–12 cm), body size varies.

How many should I keep together?

Plan for about four, with more females than males in a mixed-sex group.

What temperature and pH are suitable?

Aim for a water temperature of 68–79°F (20–26°C). Aim for a pH of 7.0–8.0. Check the supplier’s water conditions before moving the livestock.

What should I feed them?

Use a complete livebearer diet, adding small frozen foods and some plant material. Share feeding across the tank.

Do female swordtails have a sword?

The long lower-tail extension usually appears on mature males. Check the anal fin as well when identifying sex.