How Does a Gas Pump Know When To Stop?
You’re filling up your gas tank. You have the catch set on the pump so that you don’t have to stand there holding it. You cringe a little as you watch the dollar sign go up, up, and up. And then at some point, the tank is full, and fueling stops automatically. But how does the pump “know” your car is full?
There isn’t some tiny computer inside the pump figuring out how empty your car is and how long it will take to fill it up. There isn’t even an electrical sensor in your tank that shuts off fueling when it’s full. Electricity isn’t involved at all. It’s just fluid mechanics, the movement of air and gasoline.

Air In, Gas Out
At the end of the metal gas nozzle you will see a little hole (#1 in the diagram below). That hole is connected to a tube that travels up the pump. When you are pumping gas, air flows through the hole and up this tube. The tube connects to a diaphragm inside the gas pump that’s filled with air (#2). When the diaphragm is filled with air, it pushes down a small cone (#3). That cone pushes against three ball bearings that hold a piston in place. The other end of the piston is connected to a lever that in turn is connected to a valve allowing the flow of gasoline (#4).

In simplest terms, when the diaphragm inside the gas pump is full of air, it pushes open the valve allowing the flow of gasoline.
When the gas tank becomes full, the sensing port at the end of the nozzle (#1 in the diagram above) is covered by gasoline. Now instead of the tube pulling air up, it’s pulling the heavier gasoline into the Venturi chamber (#2). But this creates negative pressure, which pulls the diaphragm (#3) up and sets off a chain reaction. The diaphragm pulls up the cone, the cone releases the ball bearings, and the shut-off piston (#4) falls down, pushing a lever to close the valve. All this happens quickly, producing a satisfying thunk as the flow of gasoline stops.
The sound of cash leaving your wallet? A little less satisfying.
It isn’t a computer that shuts off the gas pump when your tank is full. It’s just the movement of air and gasoline. As the gas tank fills, it cuts off a flow of air to a diaphragm that sets off a chain reaction that closes the valve between the gas supply and the hose.
Short Answer
