Horizontal Cylindrical Tank Volume Calculator in Excel

Get FREE Advanced Excel Exercises with Solutions!

In this article, I will show you how to create a calculator for a horizontal cylindrical tank volume in Excel.


Formulas for Horizontal Cylindrical Tank Volume Calculator

The volume of a  cylinder can be of two types: fully and partially filled, and partially filled volume can be of two types during calculation: filled less than 50% or more than 50%.

  • Formula for Volume of a Fully Filled Tank:

V = πR2L

Here,

R = Radius of the cylinder base

L = Length of the cylinder’s horizontal axis

Horizontal Cylindrical Tank Volume Calculator in Excel

But when calculating a partially filled tank, we have to use a different formula.


  • Formulas to Calculate Volume of a Partially Filled Tank:

Filled Less Than 50% (F<R)

Segment Height (S) = Filled Height (F)

Segment Area = ((R2cos-1(1-S/R)-(R-S)×√(2RS-S2))

Volume (V) = Length × Segment Area = L ×((R2cos-1(1-S/R)-(R-S)×√(2RS-S2))

Here,

R = Radius

S = Segment Height

L = length

Horizontal Cylindrical Tank Filled Less Than 50% (F<R)

Segment Area:

In the figure, the black part is the segment area. When the filled height (F) is less than Radius(R), the segment area is equal to the filled area. And when the filling height is greater than the Radius(R), the segment area will be the remaining unfilled part of the cylinder.

Filled More Than 50% (F>R)

Segment Height (S) = Diameter(D) – Filled Height (F)

Segment Area = ((R2cos-1(1-S/R)-(R-S)×√(2RS-S2))

Volume (V) =Full volume – Length × Segment Area = πR2L – L ×((R2cos-1(1-S/R)-(R-S)×√(2RS-S2))

Filled More Than 50% (F>R) of Horizontal Cylindrical Tank


Horizontal Cylindrical Tank Volume Calculator in Excel: 2 Examples

To compute the volume of the cylindrical tank, you have to convert all the units to S.I. units so that you will get the volume in the m3 units. You can use other units as well, but in this article, I will use S.I. units. If you want to use other units, go to the bottom of the article to know how to use the measurement unit conversion calculator.

1. Volume Calculator for Fully Filled Horizontal Cylindrical Tanks

Here, suppose that you have all the units converted to S.I units. Now you want to calculate the full volume of a cylinder tank. For this, follow the steps below:

  • First, enter the value of the length and diameter in the box.

Fully Filled

  • Then, enter this formula in cell C7 to calculate the full volume of the cylinder.
=PI()*(C6/2)^2*C5

Using Volume Formula


2. Volume Calculator for Partially Filled Horizontal Cylindrical Tanks

When a tank is partially filled, there may happen two things: either it is filled with less than half of its capacity or it is filled with more than half its volume. For these two situations, you have to calculate volume differently. Here, I am showing you how you will calculate the partially filled volume of the tank.

When Tank Is Filled Less Than 50% (F<R):

Now, if you want to calculate the partially filled volume of a cylindrical tank, you have to use a different formula. Follow the steps below to calculate it:

  • First of all, enter the value of length, radius, and the filled height of the cylinder.

Insert Variables

After that, you have to insert formulas to calculate the partially filled volume when the filled height is less than the radius (F<R).

  • First, insert the formula into cell C11 to calculate the segment height which is equal to the filled height when F<R.
=C8

segment height of Horizontal Cylindrical Tank Volume Calculator in Excel

  • And then, insert the formula in cell C12 to calculate the segment area. The mathematical formula is as mentioned before.
=($C$7^2)*ACOS(1-C11/$C$7)-($C$7-C11)*SQRT(2*$C$7*C11-C11^2)

Formula of volume When Cylindrical Tank Filled Less than Half (F<R)

  • Finally, insert the formula to calculate the partially filled volume in cell C13. Write the following formula:
=IF(C8<=C7,C12*C5,"N/A")
  • The If function works here on the condition that it will give a result when the filled height is less than the radius. Otherwise, it will return “N/A”

Using IF Function


When Tank Is Filled More Than 50% (F>R):

Now if the cylindrical tank filled more than the half volume you will subtract the segment volume from the full volume. Follow these steps in this case:

  • Here, the segment height will be the difference between the filled height and the full height. So, use this formula in the cell.
=C6-C8

Segment Height

  • Then use a similar formula to calculate the segment area. The formula is given below:
=($C$7^2)*ACOS(1-C16/$C$7)-($C$7-C16)*SQRT(2*$C$7*C16-C16^2)

Segment area formula

  • Now, the partially filled volume will be the subtraction of segment volume from the full volume. For this write this formula into the cell C18
=IF(C8>C7,PI()*C7^2*C5-C17*C5,"N/A")
  • The If function works here on the condition that it will give a result when the filled height is higher than the radius otherwise it will give “N/A”

Volume Formula of Horizontal Cylindrical Tank Calculator in Excel

  • Now, finally, the calculator is ready to use.

When Cylindrical Tank Filled More than Half (F>R)


Things to Remember

During the calculation of the volume of a cylinder or any other thing, it is a must to use constant units. You may have values in any kind of unit but you can convert the measurement units to a specific unit. So, to help you, I am sharing a Measurement Unit Converter worksheet for free. You can convert any units here.

Measurement Unit Converter worksheet in Excel

  • Here, you will find a drop-down option in the cells where you can select where you will convert to which unit from which unit.

Measurement Unit Converter worksheet in Excel

  • So, using this Measurement Unit Conversion worksheet, you can also convert the volume units.

Download Sample Workbook

You can download the practice workbook from here:


Conclusion

In this article, I have shown you how to calculate a horizontal cylinder tank volume in Excel. Also, you will find a Measurement Unit Converter worksheet as a bonus. I hope you found this article helpful. You can visit our website ExcelDemy to learn more Excel-related content. Please, drop comments, suggestions, or queries if you have any in the comment section below.


<< Go Back to Excel Area & Volume Calculator | Excel Templates

What is ExcelDemy?

ExcelDemy - Learn Excel & Get Excel Solutions Center provides online Excel training , Excel consultancy services , free Excel tutorials, free support , and free Excel Templates for Excel professionals and businesses. Feel free to contact us with your Excel problems.
Osman Goni Ridwan
Osman Goni Ridwan

OSMAN GONI RIDWAN is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, OSMAN has transitioned into the role of a content developer. Specializing in creating technical content exclusively centered around Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo