Torricelli's law provides a remarkably simple estimate for the speed of a fluid jet emerging from an orifice in the side or bottom of a tank. Evangelista Torricelli reasoned in 1643 that the efflux speed equals that acquired by a particle falling freely under gravity through the same vertical distance. When applied to a draining reservoir of constant cross-section, the law leads to a differential equation that predicts how quickly the liquid level drops over time. Engineers and physicists employ this relationship when sizing water towers, designing emergency drains, or performing introductory laboratory demonstrations where the change of height is measurable with a ruler and stopwatch.
The instantaneous speed of fluid leaving a hole a distance below the free surface is . For a small circular opening of area connected to a large tank of cross-sectional area , the volumetric flow rate is . Mass conservation dictates that the downward change in fluid height is related to this flow rate by . Combining these expressions yields a separable differential equation:
Integrating from an initial height to a final height produces the general solution:
Because the square root of height appears, the liquid level drops rapidly at first and more slowly as the tank empties. The calculator implements this formula and rearrangements of it to solve for any single variable given the others. Users may adjust the gravitational acceleration to explore how draining would proceed on planets with different surface gravities.
Enter known values for the starting and ending heights, the tank's cross-sectional area, the orifice area, gravitational acceleration, and the drain time. Leave one of these fields blank depending on the quantity of interest. For example, to determine how long it takes for a cylindrical tank with a 0.5 m² cross-section to drain from 1.2 m to 0.2 m through a 0.01 m² valve under Earth's gravity, input all numbers except the time field. Pressing the Compute button yields the predicted duration. If instead you wish to size the orifice to achieve draining within a fixed time, leave the orifice area empty and supply the desired drain time.
The script checks that exactly one field is empty and then applies the appropriate algebraic manipulation. Solving for the initial height requires adding the time-dependent term to the square root of the final height and squaring the result. Determining the final height involves subtracting the time term from the initial square root and squaring. Calculating the gravitational acceleration from timing data can reveal deviations due to experimental error or be used in educational activities to estimate by measuring the rate at which a container drains.
Suppose a rectangular tank with cross-sectional area 0.3 m² is filled with water to a height of 0.8 m. It drains through a small hole of area 0.005 m² located at the bottom until only 0.1 m of water remains. Assuming m/s², the drain time is
Substituting the numbers gives seconds, or a little over two minutes. The calculator performs this computation instantly and can be used to examine how doubling the orifice area or halving the initial height would affect the drain time.
The tank area represents the horizontal cross-section through which the liquid level drops. For cylindrical or rectangular tanks the area is straightforward, but for irregular shapes the formula becomes approximate. The orifice area corresponds to the opening through which fluid exits; for circular holes this is . The initial and final heights are measured from the centerline of the orifice to the free surface. Because the derivation assumes the tank cross-section is large compared with the hole, the velocity of the free surface is neglected, an assumption valid for small or moderate openings.
The table below summarizes how changing the area ratio affects the drain time for a tank with m, , m/s², and m².
Ao (m²) | Drain Time (s) |
---|---|
0.0025 | 201 |
0.0050 | 100 |
0.0100 | 50 |
0.0200 | 25 |
Doubling the orifice area halves the drain time, demonstrating the inverse relationship predicted by Torricelli's formula. Users can exploit this sensitivity to design drainage systems that meet specific timing requirements, such as ensuring a water tower empties slowly enough to maintain pressure or a laboratory experiment completes within a class period.
The calculator assumes ideal fluid behavior: incompressible, non-viscous, and with laminar flow at the orifice. In reality viscosity and turbulence reduce the flow rate. Engineers introduce a discharge coefficient to account for such effects, often around 0.6 for sharp-edged orifices. Our calculator omits this correction for simplicity but users can approximate viscosity effects by reducing the effective orifice area. Additionally, the derivation presumes the tank cross-section remains constant; tapered or irregular vessels require more sophisticated integration. Atmospheric pressure is assumed to act equally on both sides of the orifice, so submerged outlets or significant downstream pressure would invalidate the formula.
Torricelli's framework extends to irrigation canals, dam spillways, and emergency fuel dump systems in aircraft. In such cases the basic square-root relation is embedded within more complex hydraulic models that account for entrance losses, pipe friction, and turbulent discharge. Still, the core principleāthat gravitational potential energy converts to kinetic energy of outflowing fluidāremains central. Educators can adapt the calculator to explore how planetary gravity would change the emptying time of a water tank on Mars versus Earth, or to demonstrate the mathematics of separable differential equations.
By providing a clear mapping between measurable quantities and predicted drain times, this tool serves as both a teaching aid and a preliminary design check. Whether timing a backyard water feature or setting up a classroom experiment, Torricelli's four-century-old insight continues to prove practical and engaging.
Compute exit velocity and volume flow rate for a sharp-edged orifice using Torricelli's law and a discharge coefficient.
Estimate when your septic tank should be pumped based on tank volume and household size.
Estimate dive time from tank volume, pressures, surface air consumption rate, and depth.