This document derives the shielding formulas for gamma and X-rays. It defines the interactions that can occur when gamma rays encounter matter, including the photoelectric effect, Compton scattering, and pair production. It then derives the linear attenuation coefficient μ from the total macroscopic cross section Nσtotal. Using μ, the exponential attenuation formula is derived to describe how intensity decreases with thickness of shielding. Finally, the formulas for the half-value and one-tenth value thicknesses of a lead shield are calculated for 1.33 MeV gamma rays from cobalt-60.