Faraday's law
Each hydrogen molecule needs two electrons. Faraday’s constant, 96,485 coulombs per mole of electrons, converts current into moles of hydrogen: moles per second = current times cells divided by (2 x 96,485). Multiply by 2.016 grams per mole and by 3,600 seconds to get kilograms per hour, assuming every electron does useful work. This is the standard textbook form of Faraday’s law, not a measured stack curve.
Energy per kilogram depends only on cell voltage in this ideal case: about 26.6 kWh per kilogram for each volt. At a typical 1.9 V that is near 50 kWh/kg, in line with the 50 to 55 kWh/kg real systems use once pumps, cooling and power conversion are counted.
Where the extra energy goes
Anything above about 1.48 V per cell appears as heat, from catalyst sluggishness, membrane resistance and gas bubbles blocking the surface. Better catalysts and thinner membranes push the voltage down and the efficiency up.