From first principles
Determine gate force by integrating hydrostatic pressure
Consider a liquid at rest, with constant density \(\rho\) under uniform gravity \(g\). Take depth \(h\) positive downwards from its free surface. A small horizontal fluid slice of area \(A\) and thickness \(dh\) has downward weight \(\rho gA\,dh\). Equilibrium requires the increase in bottom pressure force to equal that weight.
For a vertical plane gate with the same atmospheric pressure on its dry side, only this gauge pressure contributes to the net force. Its resultant follows by integrating \(\rho gh\) over the wetted area. Its line of action must also reproduce the pressure moment about the surface level.
Writing \(\int h^2dA=I_G+A\bar h^2\) gives
where \(I_G\) is the second area moment about the horizontal centroidal axis. The greater pressure at depth places the resultant below the centroid.
Derivation and applications
Find the horizontal and vertical forces on a curved gate
A curved gate generally feels both a horizontal and a vertical force from hydrostatic pressure. Consider a circular quarter-arc of radius \(R\) and width \(b\) perpendicular to the page. Place the arc centre at the free surface and choose \(x\) rightwards, \(z\) vertically downwards. The arc is \(x=R\cos\theta\), \(z=R\sin\theta\) for \(0\leq\theta\leq\pi/2\). Water occupies the circular sector on the centre side of the gate. Uniform atmospheric pressure on the other side cancels, and the liquid is stationary at constant density \(\rho\).
Integrating the horizontal component involves \(\sin\theta\cos\theta\). The resulting force equals the pressure force on the vertical projection of the arc, of height \(R\) and centroid depth \(R/2\).
The vertical component instead integrates \(\sin^2\theta\). It equals the weight of the imaginary water above the arc up to the free surface, which in this geometry is precisely the water sector itself.
Every elemental force lies along an arc radius, so the resultant line passes through the circle centre. Its magnitude follows from vector addition and its direction makes angle \(\arctan(\pi/2)\) below horizontal. The sign of the vertical reaction changes if the fluid bears on the opposite side.
Worked example
Size the reaction on a laboratory quadrant
With \(R=0.400\) m, \(b=0.600\) m and \(\rho=1000\) kg/m³, the common factor is
The horizontal and downward forces are 471 N and 740 N respectively. The resultant is
A bearing at the centre can react that force with no hydrostatic torque about its own axis.
Change the inputs and inspect this calculation below
Second application
Infer liquid density from the vertical component
A separate quarter gate has radius 0.300 m and width 0.500 m. After subtracting gate weight, its measured downward fluid force is 295 N. Inversion gives \(\rho=4F_z/(\pi gbR^2)=851\) kg/m³. The expected horizontal reaction magnitude is
This ratio tests the geometry without any independent density calibration.
Interactive calculation · Change the inputs of this example
Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.
Locate the force on an inclined circular viewing window
A circular window is installed below the water level in a laboratory tank. Knowing its total normal load is enough for one force balance. Sizing its hinge reaction also requires the moment of that load. The pressure increases with vertical depth, while the force elements must be integrated across an inclined surface. Distinguish distance down the window from depth below the surface before constructing the moment.
Let the window have radius \(a\), centre depth \(h_c\) and inclination \(\theta\) above the horizontal. Define \(s\) along its steepest downslope direction, measured from the disc centre. A point at \(s\) has vertical depth \(h_c+s\sin\theta\). With an atmospheric gas on the dry side, the differential normal force is \(\rho g(h_c+s\sin\theta)\,dA\). Since the first area moment \(\int s\,dA\) vanishes by symmetry, the resultant is simply \(\rho gh_c A\). Thus two windows of equal area at the same centre depth carry the same normal force even if their inclinations differ, provided both remain completely submerged.
To get the location of the force, take moments around the horizontal diameter through the window centre. The constant contribution to pressure gives zero moment about this axis, while the part proportional to \(s\) contributes \(\rho g\sin\theta\int s^2dA\). A circular disc has \(A=\pi a^2\) and diametral second moment \(I=\pi a^4/4\), which gives
For \(a=0.18\) m, \(h_c=0.42\) m, \(\theta=60^\circ\) and \(\rho=998\) kg/m³, the force is 418.55 N and acts 16.70 mm down the window from its centre. Its vertical depth is only \(16.70\sin60^\circ=14.46\) mm below the centre depth. A load strip of thickness \(ds\) has width \(2\sqrt{a^2-s^2}\). The notebook integrates the strip forces and their first moments independently to check the circular formula.

For a hinge along the upper tangent to the disc, the resultant lever arm is \(a+s_{\rm cp}\) measured down the window. Multiplying the default force by \(0.180+0.01670\) m gives approximately 82.3 N m. Treating the force as though it acted at the centre would predict only 75.3 N m. The difference of 7.0 N m equals the moment of the pressure gradient about the centre diameter. The hinge axis must lie in the plane of the window for this simple lever arm to apply. Changing to a vertical hinge introduces a different area moment and, for this symmetric disc, a different distribution of opening torque.
What changes when the window is lowered until its centre depth doubles at the same tilt?
Work through the solution
The normal force doubles and the downslope offset halves, to about 8.35 mm. Their product, the moment about the horizontal diameter through the disc centre, stays fixed because it depends only on the pressure gradient and the geometry. Rotate a fully submerged window to horizontal in the notebook and the offset goes to zero. If a window crosses the free surface, the wetted area and its centroid change; continuing to integrate the full disc would introduce fictitious negative gauge loads on dry strips.
Interactive calculation · Window force
Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.
Interactive calculation · Window offset
Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.
Balance a stationary fluid element
A diver experiences pressure from all directions, while a sluice gate feels a net force mainly from one side. Pressure is a scalar state variable. The force on a surface element is directed opposite its outward normal and has magnitude \(p\,dA\). The net force on a real gate also depends on what presses on its back face. For a fluid at rest there is no viscous shear. Take a thin horizontal slab of area \(A\) and thickness \(dz\), with \(z\) upward. Its vertical force balance is \(p(z)A-p(z+dz)A-\rho gA\,dz=0\), or \(dp/dz=-\rho g\).
For constant density this integrates to \(p=p_s+\rho gh\) at depth \(h\) below a free surface of pressure \(p_s\). A vented water surface has atmospheric absolute pressure. Gauge pressure subtracts that same atmospheric pressure at every point. It is convenient for net forces when the other face is exposed to the same atmosphere. A sealed gas space with appreciable excess pressure adds a uniform load component to the hydrostatic triangle.
Background · Which way does a liquid surface tilt in an accelerating tank?
Consider a tank translating horizontally at uniform acceleration \(a\) to the right. After sloshing has subsided, the liquid is stationary relative to the tank. In that frame each parcel has an effective body acceleration \(-a\mathbf e_x-g\mathbf e_z\). Along a free surface at uniform atmospheric pressure the pressure gradient has no tangential component.
The free surface falls to the right. A tank 0.80 m long accelerating at 1.2 m/s² exhibits a height difference of about 98 mm between the ends, provided neither end spills or dries out. This argument uses the uniform translating frame; a tank that is still sloshing has additional relative accelerations.
Use two separate integrals
For a flat vertical gate, add horizontal pressure forces to get
where \(p_g\) is the pressure difference across it. To find the force’s depth \(h_R\), match its moment:
With a vented free surface on one side and air on the other, this gives
Decomposing the second moment into centroidal and parallel-axis pieces gives
Here \(I_G\) is the area’s second moment about its horizontal centroidal axis. Its SI unit is m⁴. The second term is positive: lower parts of a vertical gate carry more force per unit area, moving the resultant below the area centroid.
Calculate hinge moment before actuator force
A 1.20 m wide rectangular gate extends from the water surface to depth 1.80 m. Its horizontal hinge is at the surface. At the bottom the gauge pressure is \(1000(9.81)(1.80)=17.7\) kPa. The triangular pressure profile integrates to \(F=\rho g bH^2/2=19.1\) kN. The resultant lies at \(2H/3=1.20\) m beneath the hinge, producing a moment of 22.9 kN·m. A horizontal actuator at the bottom must pull with magnitude \(22.9/1.80=12.7\) kN to balance this water moment. This excludes gate weight and friction at the hinge.
If the whole gate is submerged another metre with both ends still separated from the same air pressure on the back, its pressure diagram gains a uniform rectangle. That additional resultant acts at the gate centroid. It increases hinge moment, while the centre of pressure of the total load moves closer to the centroid measured relative to the gate. Simply adding one metre to the original lever arm would confuse a depth measured from the surface with a moment arm measured from the hinge.
Include stratification and buoyancy
In layered immiscible liquids, integrate \(\rho g\) through each layer. Pressure remains continuous across a flat interface when capillary effects are negligible, while its depth gradient changes. For a closed submerged object the resultant pressure force is upward with magnitude equal to the displaced fluid’s weight. To see this, replace the body by the fluid that would occupy its volume. In static equilibrium surface pressure must balance that fluid’s weight; the same surface pressure acts on the original object. Buoyancy concerns the net force on a closed surface. It cannot replace a hinge-moment calculation on an open gate.
Read a two-fluid differential manometer
Two water taps at the same elevation connect to opposite legs of a manometer containing a heavier immiscible liquid of density 2500 kg/m³. If the heavy-fluid interfaces differ in height by 40 mm, following a hydrostatic path gives a pressure difference \((2500-1000)g(0.040)=589\,\mathrm{Pa}\). The tap above the lower heavy-fluid interface has the larger pressure. The water columns matter even though both taps sit at the same elevation.
Derive a restoring moment for a floating body
Equality of weight and buoyancy establishes vertical equilibrium of a floating body, but does not determine whether a small roll is restored. Consider a long prismatic pontoon with vertical sides floating at rest in a liquid of uniform density. Let the displaced volume be \(\nabla\), its centroid the centre of buoyancy \(B\), and the centre of gravity \(G\) on the upright symmetry axis. For a small heel angle \(\theta\), a strip of waterplane area \(dA\) at transverse coordinate \(y\) gains a submerged slice of volume approximately \(y\theta\,dA\) on one side and loses one on the opposite side.
The first moment of these changed wedges shifts the centre of buoyancy sideways by \(\Delta y_B=\theta\int y^2dA/\nabla=\theta I_{\rm wp}/\nabla\). Thus the line of buoyancy in the tilted configuration intersects the original symmetry axis at a point \(M\), the transverse metacentre, located \(BM=I_{\rm wp}/\nabla\) above \(B\) to first order. The initial righting lever is \(GM\sin\theta\simeq GM\,\theta\), and the corresponding restoring moment magnitude is \(WGM\theta\) when \(GM>0\).
The waterplane second moment here is taken about the longitudinal heel axis; it is not the structural bending second moment of the vessel wall. A wide waterplane can increase stability without changing the weight because its outer strips contribute strongly to \(I_{\rm wp}\). A centre of gravity above the centre of buoyancy can still be stable if it remains below the metacentre.
Measure a pontoon’s centre of gravity by shifting a weight
A rectangular pontoon 4.0 m long and 2.0 m wide floats with 0.40 m draft in freshwater. Its displaced volume is \(4(2)(0.4)=3.20\,\mathrm{m^3}\), so the total supported mass is 3200 kg. The centre of buoyancy lies 0.20 m above the keel. Its waterplane moment is \(4(2^3)/12=2.667\,\mathrm{m^4}\), giving \(BM=2.667/3.20=0.833\,\mathrm m\) and \(KM=1.033\,\mathrm m\) above the keel.
Shift a pre-existing 100 kg test weight transversely by 0.40 m without changing its height. A settled heel of 2.0° balances the imposed heeling moment against buoyancy. For small heel the more accurate inclination-test expression is
The inferred unshifted vertical centre of gravity is
Raising a 400 kg installed component by 0.80 m would raise the combined centre by \(400(0.80)/3200=0.100\) m and reduce initial \(GM\) to 0.258 m. A slack liquid surface inside the pontoon or partial emergence of its deck edge changes the small-heel model; either can invalidate an extrapolation of the measured initial restoring moment to large roll angles.
For the original centre of gravity the initial rotational stiffness is
A loading estimate from a small known heeling moment can therefore serve as a separate check on the shifted-weight experiment. This stiffness is hydrostatic; rolling inertia and hydrodynamic damping are still required to predict a free-roll period or decay.
Place the hinge on a fully submerged vertical gate
A rectangular vertical gate is 2 m tall and of constant width. Integrate hydrostatic gauge pressure over its area. The centre of pressure is \(h_c+I_c/(A h_c)\), so the offset below the centroid shrinks as the gate is submerged more deeply.

Read values from the plot
| Depth of top edge (m) | Centre of pressure | Area centroid |
|---|---|---|
| 0 | 1.3333 | 1 |
| 0.76 | 1.9494 | 1.76 |
| 1.5 | 2.6333 | 2.5 |
| 2.24 | 3.3429 | 3.24 |
| 3 | 4.0833 | 4 |
Interactive calculation · change the inputs of this example
Change gate height and compare the centroid with the centre of pressure. Width changes resultant force without changing its depth.
The curves below are recalculated from this section’s equations in your browser. The fixed reference plot above remains available for comparison.
Study the full derivation
Gravity, capillarity and instability at a moving interface · Momentum, motion and transport in fluids
A flat interface can carry waves restored by gravity and surface tension. If its two liquids or gases move at different speeds, a band of those waves can grow. Derive the ideal threshold, identify the most vulnerable wavelength at onset and distinguish growth of an instability from advection of an otherwise stable disturbance.