it is:
12.5 Gallons
Length x Width x Depth in inches / 276 = Gallons
But this calc does not allow for thickness of the glass, displacement by gravel etc and also assumes the tnak is full to the brim.
I would suggest a tank that measures 24x12x12 (or 30.5x30.5x61cm) would have internal dimensions of approx 60x29x29cm. If filled to within 3cm of the top this gives water volume of 60x29x26=45.24 litres = just under 10 UK gallons. Deduct a bit more for gravel displacement would give water volume of maybe 9-9.5 gals, a significant difference to 12.5, especially when it comes to dosing meds etc. Potentially by using the 12.5 figure an overdose of 30% could be made!!!
i suspect many tanks are over-quoted on volume due to people not using internal dimensions or allowing for displacement - how many people OD their tanks as a result? My tank, for instance, would hold 320 litres if I used ext dimensions (183x46x38cm=319884cc=319.884 litres). I know it actually holds around 55 UK galls (250 litres) based on what I actually put into it, thus ext measurements yield a 28% difference on actual.
Or am I getting too hung up???