Note on terminology:

The first 2 digits are the width, the next two digits are the length. The “0” at the end means the cell is rolled up in a metal can as opposed to being a lipo cell in a foil envelope.

So a “16340” is approximately 16mm wide, 34mm long, and is in a metal can.
And an “18500” is approximately 18mm wide, 50mm long, and is in a metal can.

Note however that these numbers tend to be approximations. Cells manufactured by different manufacturers may vary slightly from the standard dimensions.