Home▸Physics & Mechanics▸Electrolysis of Water (2D)

Electrolysis of Water Simulator (2D)

Interactive 2D electrolysis-of-water simulator: dial the source voltage and electrolyte concentration and watch Faraday's law predict real hydrogen and oxygen gas volumes as bubbles rise from the cathode and anode.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-electrolysis ↗ Open standalone

This 2D simulator drives a simple electrolytic cell: two electrodes sit in water with a dissolved electrolyte, and raising the source voltage above the 1.23 V decomposition threshold sends current through the solution, releasing hydrogen bubbles at the cathode and oxygen bubbles at the anode in the fixed 2:1 volume ratio that Faraday's law predicts. Adjust the electrolyte concentration to change the solution's conductivity and current draw, and watch the live readouts — current, charge passed, moles of electrons transferred, and collected gas volume — update in real time from the actual charge passed through the cell.

⚙ Under the hood

Dial the source voltage and electrolyte concentration on a 2D electrolytic cell and watch Faraday's law predict real hydrogen and oxygen gas volumes as bubbles rise from the cathode and anode.

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)