We propose a scaling law for anomalous Hall effect in ferromagnetic thin films. Our approach distinguishes multiple scattering sources, namely, bulk impurity, phonon for Hall resistivity, and most importantly the rough surface contribution to longitudinal resistivity. In stark contrast to earlier laws that rely on temperature- and thickness-dependent fitting coefficients, this scaling law fits the recent experimental data excellently with constant parameters that are independent of temperature and film thickness, strongly indicating that this law captures the underlying physical processes. Based on a few data points, this scaling law can even fit all experimental data in full temperature and thickness range. We apply this law to interpret the experimental data for Fe, Co, and Ni and conclude that (i) the phonon-induced skew scattering is unimportant as expected; (ii) contribution from the impurity-induced skew scattering is negative; (iii) the intrinsic (extrinsic) mechanism dominates in Fe (Co), and both the extrinsic and intrinsic contributions are important in Ni.