Hot carrier thermalization is a major source of efficiency loss in solar cells. Because of the subpicosecond time scale and complex physics involved, a microscopic characterization of hot carriers is challenging even for the simplest materials. We develop and apply an ab initio approach based on density functional theory and many-body perturbation theory to investigate hot carriers in semiconductors. Our calculations include electron-electron and electron-phonon interactions, and require no experimental input other than the structure of the material. We apply our approach to study the relaxation time and mean free path of hot carriers in Si, and map the band and k dependence of these quantities. We demonstrate that a hot carrier distributio...