I had to figure it out based on a program I am working on. I want to get it as sophisticated as the link above but some of the math is going to require me to dust off an old math book. The trick to most tanks is to cut it into triangles or squares and measure those. You can do L shaped, hexagonal, etc this way. However, bow front is an interesting calculation which I have figure out yet, but I haven't really tried either.