The figure below shows the megaAVR® 0-series devices, laying out pin count variants and memory sizes:
Devices with different Flash memory sizes typically also have different SRAM and EEPROM.
The name of a device in the megaAVR 0-series is decoded as follows: