You'll prob'ly have to measure it
If the tank is rectangular, it's easy: length x width x height in inches, divided by 231. If it's not rectangular you'll need some math skills to determine the number of cubic inches, then divide your answer by 231.That'll prob'ly give you some strange number like 26.364...or 16.86345...which means you have a tank with a useable capacity of 25 or 15 gallons. Why? Because you're measuring outside dimensions--so you have to deduct for wall thickness--and you can't use every last cubic inch of any tank without overflowing the tank out the vent. So the USEABLE capacity is anywhere from 5-10% less than the outside dimensions indicate.And btw, when shopping for a tank, the nominal size IS always the useable capacity.