Understanding the electrical conductivity of warm dense hydrogen is critical for both fundamental physics and applications in planetary science and inertial confinement fusion. We demonstrate how to calculate the electrical conductivity using the continuum form of Ohm's law, with the current density obtained from real-time time-dependent density functional theory. This approach simulates the dynamic response of hydrogen under warm dense matter conditions, with temperatures around 30000 K and mass densities ranging from 0.02 to 0.98 gcc. We systematically address finite-size errors in real-time time-dependent density functional theory, demonstrating that our calculations are both numerically feasible and reliable. Our results show good agreement with other approaches, highlighting the effectiveness of this method for modeling electronic transport properties from ambient to extreme conditions.