All firearm manufacturers use a data stamp on their rifles and ammunition. For rifles the data stamp is often located on the left or right side of the barrel. The caliber is also stamped on the cartridge base. The cartridge box also indicates the caliber of the ammunition.
If the data stamps for a rifle and ammunition do not match, the cartridge could become lodged in the barrel, explode, and may cause injury to the user or bystander.