Why is caliber used for both a gun's bore diameter and its barrel length?
Short answerThe bore gives the gun's nominal size, while barrel length is expressed as a multiple of that bore diameter.
NotesAn 18-inch gun has an 18-inch bore, while the 45 describes a barrel 45 bore diameters long. The notation distinguishes bore size from barrel length when comparing naval guns.