Scaling laws express a systematic and universal simplicity among complex systems in nature. For example, such laws are of enormous significance in biology. Scaling relations are also important in the physical sciences. The seminal 1986 discovery of high transition-temperature (high-T_c) superconductivity in cuprate materials has sparked an intensive investigation of these and related complex oxides, yet the mechanism for superconductivity is still not agreed upon. In addition, no universal scaling law involving such fundamental properties as T_c and the superfluid density rho_s, a quantity indicative of the number of charge carriers in the superconducting state, has been discovered. Here we demonstrate that the scaling relation rho_s propto sigma_{dc} T_c, where the conductivity sigma_{dc} characterizes the unidirectional, constant flow of electric charge carriers just above T_c, universally holds for a wide variety of materials and doping levels. This surprising unifying observation is likely to have important consequences for theories of high-T_c superconductivity.