Excel formula for converting tank volume in inches to gallons

sethrose

New Member
Joined
Oct 1, 2015
Messages
9
I need the correct formula for converting height in inches to gallons in a tank:
Horizontal tank 96" in diameter and 192" in length which has a 6016.2 gallon capacity. It is a cylinder with flat ends. The formula I have is:

=(((4/3)*(K4^2)*(SQRT((96/K4)-0.608))*192)/231) [K4 is the height in inches]

This formula works for small numbers but as the inches get larger the result is off when compared to a tank chart.

Any help would be much appreciated!!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Cylinder of 1 inch height calculated in metric system and converted to galons:

((PI * (96/2 * 2,54)^2 ) * 2,54 ) / 3,785 -> and you have result in galons

If you multiply by height in inches you get volume of 96" in diameter and specified height cylinder.

Simply:
volume = area of base * height
 
Upvote 0
Thanks, but not sure what to do with his formula, where do I insert my height in inches?

Cylinder of 1 inch height calculated in metric system and converted to galons:

((PI * (96/2 * 2,54)^2 ) * 2,54 ) / 3,785 -> and you have result in galons

If you multiply by height in inches you get volume of 96" in diameter and specified height cylinder.

Simply:
volume = area of base * height
 
Upvote 0
Multiply entire thing by height in inches.
My equation is basically: the number showing how many galons are in 1" high cylinder.
And one remark - everything had to be divided by 1000 (cm^3 -> dm^3 conversion) :)

Below you have entire formula ready:

=((PI()*(96/2*2,54)^2)*2,54)/1000/3,785*K2
 
Upvote 0
thanks again but when I enter this formula I get a 'This formula contains an error' message but clue as to the error.
 
Upvote 0
update... I was able to get the cell to accept the formula but the result does not match the paper tank chart.
 
Upvote 0
I believe that sebek0070's formula is for a vertical cylinder. A horizontal cylinder is much trickier. Here's a web site describing the formula:

Math Forum - Ask Dr. Math

I'll try to convert this to Excel formulas when I can.
 
Upvote 0

Forum statistics

Threads
1,226,417
Messages
6,190,939
Members
453,625
Latest member
SW82SW

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top