There is no law that requires that the caliber be stamped or etched or marked in any fashion. There is a federal law that requires a manufacturer or importer to have their name and location inscribed somewhere on the firearm in a conspicuous location. Other information is optional.
A reputable gunsmith will always mark barrels they install with caliber, make and twist. Sometimes with a neck diameter if different from SAAMI spec.
Bookmarks