### Dwain Sepalla's Tank Fill Calculator

*"Unit-Aware" Online Calculator*

*Entries:*

Enter Diameter, Length, Depth (with units) and desired output unit for volume. Press [Calculate] key and the resulting total volume, filled volume and fill ratio will be calculated and presented in the desired output unit. Examples of units include: "in", "ft", "mm", "cm", "m", "yd", "mil", and any length unit identified in the Complex Converter. Examples of volume units include "gal", "l", "in^3", "ft^3", "yd^3", "m^3", "acre*ft", "ft*yd^2", and any combination that results in a length raised to the 3rd power.

*Equations:*

__TotalVolume__ = Pi*Length*Radius^2

Radius=Diameter/2

Param01=Radius-Depth

Param02=sqr(Radius^2-Param01^2)

if Param02<>0 then
Param03=atn(Param01/Param02)
else:
Param03=0
end if

Param04=Param01*Param02

Param05=Pi/2-Param03

__FillVolume__ = Length *
(Radius^2*Param05-Param04)

__Ratio__ = FillVolume/TotalVolume

AnalysisChamp Expression Evaluator

Copyright 2010, 2013, 2014 MikeVV@AnalysisChamp.com