When I got into this hobby over 10 years ago, I was told 1 inch per gallon for fresh water and 3 inches per gallon in salt. You can probably get away with close to 2 inches per gallon in salt these days if you have really good filtration, like lots of live rock, a good skimmer, etc, and did very regular water changes. It all really depends on the fish, though.