Connected vessels share one level
Open a pipe between two tanks and the water moves until it stands at the same height in both, whatever their shape or size.
For the curious
The pressure at the bottom of water depends only on how deep it is, not on how wide the tank is: p = ρ × g × h. If one side is higher, it pushes harder on the water in the pipe, so water flows until the heights match and the pressures are equal. This is the law of connected vessels (communicating vessels).
Try it in Brimful: level 21
How much water each tank gets
A wide tank gives a narrow one just enough water to even out the levels. 6 litres in tanks 2 and 1 wide become 4 litres and 2 litres.
For the curious
Because the levels end equal, the shared level is simply all the water divided by all the width: 6 l ÷ (2 + 1) = 2 units high. Each tank then holds its width times that level: 2 × 2 = 4 l and 1 × 2 = 2 l. With three tanks 3, 1 and 2 wide and 6 litres, the level is 6 ÷ 6 = 1, so the narrow tank gets exactly 1 litre.
Try it in Brimful: level 21
Only water above the pipe moves
A pipe can only share the water that is higher than the pipe itself. Everything below it stays in the first tank.
For the curious
For water to flow, its surface must be above the pipe on at least one side. Below the pipe there is nothing to push the water through. So a pipe high on a wall shares only the top layer, while a pipe at the very bottom shares everything.
Try it in Brimful: level 24
Never higher than the source
Through connected pipes, water never rises above the level of the water that feeds it. A tank standing higher gets nothing from below.
For the curious
This is how a town's water tower works. It stands on the highest point, and every tap lower than its water level gets water by gravity alone, with no pump. A tap on a hill higher than the tower would stay dry.
Try it in Brimful: level 25
Connected vessels around us
Water towers, canal locks, the glass level window on a kettle and the builder's water level all use connected vessels.
For the curious
A builder's water level is just a clear hose filled with water: both ends always show the same height, even around corners, so walls can be marked level across a whole house. Canal locks raise and lower ships by letting the water in a chamber even out with the river above or below it.
Try it in Brimful: level 30
Play with water in the game, and with real water only where a grown-up says it is fine. Never lean over deep water, wells or water tanks.