It is impossible to give a definitive answer because too many variables exist.
Species: Lifespans vary wildly. Some live 5–10 years; others like angelfish or pufferfish can live 15–20 years or more.
Tank Conditions: Water quality, tank size, diet, and stress levels all influence lifespan.
Individual Health: Genetics and disease predisposition play a role.
General Estimates: Well-maintained tanks can support lifespans close to natural counterparts. Poorly maintained tanks or stressed fish have significantly reduced lifespans.
Saltwater fish are more delicate than freshwater fish. Extensive research on the specific species is essential.