About 2–3 — based on adult size, bioload, and real water volume.

In a 40-gallon tank you can comfortably keep about 2–3 swordtail — enough for a proper school, on their own with good filtration and regular water changes. Add fewer if you're mixing in other species.
An adult swordtail reaches about 5.5" and has a heavy bioload. Working from real water volume and waste output (not the old one-inch-per-gallon myth), a 40-gallon tank supports roughly 2–3 of them. Because swordtail are schooling fish, keep them in a group of at least 3 — never just one or two. They need 70–82°F water at pH 7–8.4.
Build your exact stocking with the calculator → Full swordtail care guide →
As an Amazon Associate we earn from qualifying purchases.