The 20 mm caliber is a specific size of cannon or autocannon ammunition.
There are few weapons (aside from shotguns and large game hunting rifles) which have been built that fire projectiles between .50 caliber (0.50 inch/12.7 mm, roughly 13 mm caliber) and 20 mm caliber, though the 14.5 mm caliber is used by some Soviet machineguns such as the KPV and antitank rifles such as PTRS, PTRD, and NTW-20.
A very small number of anti-tank rifles have been produced in 20 mm and larger calibers.
20 mm caliber cartridges have an outside shell diameter and inside barrel diameter of 0.79 inches (20 mm). Projectiles or shells are typically 75–127 mm (3–5 in) long. Cartridges are typically 75–152 mm (3–6 in) long. Many but not all 20 mm shells have an explosive filling and detonating fuze.
As an example, the 20x102 has a 100 gram bullet fired at a muzzle velocity of 1,035 m/s (3,396 ft/s). For a simple slug round this is a muzzle energy of 53,567 joules (39,509 ft·lbf).
Read more about 20 Mm Caliber: Usage, Types of Ammunition