The concentration of major minerals in bovine bulk milk can be predicted using infrared spectroscopy.