telsono
Even if the 20mm shell (HE) is at the end of its range, its an explosive ordinance and relies on fragmentation to cause the greater amount of its damage. I still say that what you were talking about is the damage done by a .50 cal bullet (AP) which was the standard gun on us aircraft in WWII.
Well, we may be dealing with apples and artichokes, too.
Air-to-air 20mm weapons differed significantly from surface-to-air weapons. I want to remember that the aircraft weapons are Hispano-Suiza, the shipboard weapons weapons used by the USN being nearly universally Orlikons.
Further, we clearly are not taking about the same engagement ranges. Air-to-air; plane on plane, the guns were set to converge at useful distances for flying, 3-500 yards out.
When on a surface vessel, you want to engage aerial targets as far away as possible. With the Mk 2 and later 20mm weapons that is 3000-3300 yards out, ten times aircraft dogfighting ranges.
Inverse square rule applies when dealing with the energy available to detonate a fuse train in a projectile less than 1" in diameter. Especially a 0.27# (4.3 oz) shell with a 0.024# (1/3 ounce) HE charge.
USN pulled the 0.50 cal AAA guns very quickly from shipboard use, along with the 1.1" guns. The .50 cal and 37mm guns had excellent use in aircraft, just not much use from ships.
Working from memory (it being long time since Surface Warfare school) the 40mm Bofors had a surface ceiling of 6000 yards, twice that of the 20mm. But, had even a worse record for actually detonating on contact with kamikazes, unless the round struck something substantial (landing gear, engine, main spars, etc,)
The 20x105mm round remains an excellent air-to-air weapon even today.
The 20x72 and 20x110 shipboard weapons, not so much.
Best place to engage an aircraft aiming for your ship is when the CAP intercepts them 40-50 miles out, and the CAP adds their 1-2000 yard range to that 80-100,000 yards. Otherwise the bakers and yeomen are just out there creating ballistic FOD to deal with.