The deformation of many solid and granular materials is not continuous, but discrete, with intermittent slips similar to earthquakes. Here, we suggest that the statistical distributions of the slips, such as the slip-size distributions and their cutoffs, all follow approximately the same regular (power-law) functions for systems spanning 13 decades in length, from tens of nanometers to hundreds of kilometers; for compressed nano-crystals, amorphous materials, sheared granular materials, lab-sized rocks, and earthquakes. The similarities are explained by a simple analytic model, which suggests that results are transferable across scales. This study provides a unified understanding of fundamental properties of shear-induced deformation in systems ranging from nanocrystals to earthquakes. It also provides many new predictions for future experiments and simulations. The studies draw on methods from the theory of phase transitions, the renormalization group, and numerical simulations. Connections to other systems with avalanches, such as magnets and neuron firing avalanches in the brain are also discussed.