WaterCalculator

Water Electrolysis Calculator

Electrolysis splits water into hydrogen and oxygen in a fixed 2:1 ratio. Every 26.8 amp-hours makes one gram of hydrogen: 5 A for an hour gives about 2.28 L of hydrogen and 1.14 L of oxygen at room conditions. Enter your current and time, or a target amount, to get the gas, the water used and the electricity it takes.

Your electrolysis cell

DC electrolysis of water: 2H₂O → 2H₂ + O₂. Defaults: 5 A for 1 hour, gas at 25 °C and 1 atm.

Electrical input

Faradaic efficiency

Gas conditions

Same moles of gas at any condition; low pressure or high temperature just gives more volume per mole. The calculator treats the gas as dry and ideal.

Energy and cost

Real cells run about 1.8–2.2 V; the theoretical minimum is 1.23 V, and 1.48 V is where no extra heat is needed. Leave the voltage blank to skip energy.

Hydrogen produced

− +
—

Tap a unit to make it the main figure

    In short: moles of hydrogen = current × time ÷ (2 × 96,485). 5 A for 1 hour makes 0.0933 mol of H₂ (0.188 g), which is 2.28 L of hydrogen and 1.14 L of oxygen at 25 °C and 1 atm. One kilogram of hydrogen takes 26,590 amp-hours and 8.94 kg of water; at a typical 2.0 V that is about 53 kWh.

    Hydrogen is flammable from 4 to 75% in air. Electrolyze only in ventilated spaces, never with salt (it makes chlorine), and follow your equipment's safety guidance.

    How the gas yield is calculated

    n(H₂) = I × t × ηF ÷ (2F)    n(O₂) = n(H₂) ÷ 2    V = nRT ÷ P

    I is current in amperes, t time in seconds, ηF the Faradaic efficiency and F the Faraday constant, 96,485 C/mol of electrons. Each H₂ molecule needs two electrons (2H+ + 2e− → H₂ at the cathode) and each O₂ four (2H₂O → O₂ + 4H+ + 4e− at the anode). The ideal gas law turns moles into volume at your temperature and pressure; water consumed equals the moles of hydrogen times 18.015 g/mol.

    Example: 5 A × 3,600 s = 18,000 C. 18,000 ÷ (2 × 96,485) = 0.0933 mol H₂. At 25 °C and 1 atm one mole of gas fills 24.47 L, so 2.28 L of hydrogen and 1.14 L of oxygen, from 1.68 g of water.


    Why hydrogen and oxygen come out 2:1

    Each water molecule has two hydrogen atoms and one oxygen atom, so splitting it always gives twice as many molecules of hydrogen gas as oxygen. At the same temperature and pressure, equal numbers of gas molecules fill equal volumes, so the hydrogen side of a Hofmann apparatus fills twice as fast. By mass it is the reverse: oxygen molecules are 16 times heavier, so 8 grams of oxygen come out for every gram of hydrogen.


    Faradaic efficiency

    Not every electron splits water. Some current leaks through side reactions, some gas dissolves or crosses the membrane and recombines. Modern PEM electrolyzers reach 95–99% Faradaic efficiency and alkaline units 90–95%; a jar with bare electrodes may manage 70–90%. Pure water barely conducts, so practical cells add an electrolyte such as potassium hydroxide or use a proton-exchange membrane. Never use table salt: the anode then makes toxic chlorine gas.


    Voltage, energy and the cost of hydrogen

    E = Vcell × I × t    energy efficiency (HHV) = 1.481 V × ηF ÷ Vcell

    Splitting water needs at least 1.23 V (the Gibbs energy), or 1.48 V if the cell supplies all the heat too (the thermoneutral voltage, equal to hydrogen's higher heating value of 39.4 kWh/kg). Real cells need extra voltage to overcome resistance and electrode losses, typically 1.8–2.2 V, so commercial electrolyzers use about 50–55 kWh per kilogram of hydrogen, 70–80% efficient on a heating-value basis. At $0.08/kWh that is roughly $4–4.50 of electricity per kilogram, which is why cheap renewable power matters so much for green hydrogen.


    Yield per amp-hour

    At 100% Faradaic efficiency; volumes at 25 °C and 1 atm.
    ChargeH₂O₂Water used
    1 amp-hour0.038 g · 0.456 L0.298 g · 0.228 L0.336 g
    100 amp-hours3.76 g · 45.6 L29.8 g · 22.8 L33.6 g
    1 kA for 1 hour37.6 g · 456 L298 g · 228 L336 g
    For 1 kg of H₂1 kg · 12.1 m³7.94 kg · 6.1 m³8.94 kg (26,590 Ah)

    Worked examples

    25 °C and 1 atm unless noted.
    SetupHydrogenEnergy
    Classroom: 0.5 A for 10 min, 80% efficient30.4 mLat 6 V, 1.8 kJ
    Hobby cell: 20 A for 8 h, 90%, 2.2 V5.4 g (66 L)0.35 kWh
    1 MW PEM stack, 1 day, 95%, 1.9 V451 kg24 MWh, 53.2 kWh/kg


    Frequently asked questions

    How much hydrogen does electrolysis produce per amp?

    0.0373 g (0.456 L at 25 °C, 1 atm) per amp-hour at 100% efficiency, so 26.8 Ah per gram.

    How much water does it take to make 1 kg of hydrogen?

    8.94 kg (about 8.9 L) of water in theory; real plants use 10 to 15 L including purification losses and cooling.

    How much electricity does it take to make 1 kg of hydrogen?

    At least 39.4 kWh (the higher heating value); practical electrolyzers use about 50 to 55 kWh.

    Why is the hydrogen volume twice the oxygen volume?

    Water is H₂O, so splitting it gives two H₂ molecules for every O₂, and equal numbers of gas molecules fill equal volumes.

    What voltage is needed to split water?

    1.23 V in theory; about 1.48 V with no heat input, and 1.8 to 2.2 V in real cells.

    Can I use salt water for electrolysis?

    Not safely at home: chloride ions make chlorine gas at the anode. Use an electrolyte such as potassium hydroxide or baking soda, with ventilation.


    Sources & references

    1. NIST. CODATA fundamental physical constants (Faraday constant, molar gas constant).
    2. U.S. Department of Energy. Hydrogen production: electrolysis.
    3. Bard, A.J. and Faulkner, L.R. (2001). Electrochemical Methods: Fundamentals and Applications, 2nd ed. Wiley.
    4. IEA (2019). The Future of Hydrogen (electrolyzer energy use and water demand).

    Sarah Bennett, MS

    Sarah Bennett, MS

    Water Quality & Sustainability Specialist · Portland, Oregon

    Environmental scientist (MS, Water Resources) with 9+ years in residential water quality, treatment, and usage efficiency, and 150+ completed assessments. Sarah writes and reviews the treatment, usage, and cost calculators on watercalculator.us. Read full bio

    MS Environmental Science, Water Resources (2018) · BS Environmental Engineering (2016)

    Published Updated Methodology Editorial policy