When you shop for an M.2 NVMe SSD you will see a four-digit code — 2280, 2242, 2230 — attached to it. Those numbers describe the drive’s physical size, and getting them wrong means a drive that does not fit or does not mount. For desktop builders the vast majority of slots want one size, but handhelds, laptops, and some compact boards use the smaller ones, so it pays to read the label.

Our Top Picks

  1. Samsung 980 PRO SSD 2TB PCIe NVMe Gen2TB0.87 x 3.15 x 0.94 inches0.12 pounds
    Check on Amazon
  2. Samsung 980 PRO NVMe M.2 SSD1 TB0 pounds
    Check on Amazon
  3. SAMSUNG Samsung 990 PRO 2TB5.91 x 5.91 x 5.91 inches0 pounds
    Check on Amazon

Decoding the numbers

The code is simply width and length in millimeters. The first two digits are width (almost always 22 mm for M.2), and the remaining digits are length. So M.2 2280 is 22 mm wide and 80 mm long; 2242 is 42 mm long; 2230 is 30 mm long. Shorter drives fit less NAND, which caps their maximum capacity.

Why length affects capacity

A longer PCB has room for more memory chips, so 2280 drives reach the highest capacities and best sustained performance. The tiny 2230 format — popularized by gaming handhelds — historically topped out lower, though 2 TB 2230 drives now exist. If you want 4 TB or 8 TB in one stick, you are almost always looking at 2280.

Form factor comparison

Form factor Size (mm) Typical max capacity Common use
M.2 2280 22 × 80 Up to 8 TB Desktops, most laptops
M.2 2242 22 × 42 Up to 2 TB Some laptops, NAS
M.2 2230 22 × 30 Up to 2 TB Handhelds, ultrabooks

What desktop builders need to know

Nearly every desktop motherboard M.2 slot is built for 2280 and has a standoff at the 80 mm position. That is why 2280 is the default recommendation for a gaming PC — biggest capacities, widest selection, best prices per terabyte. You can usually mount a shorter drive by moving the standoff, but there is rarely a reason to on a desktop.

Key vs form factor

Do not confuse size with the connector key. Modern NVMe drives use an M-key notch; older SATA M.2 drives may be B+M keyed. A slot can be the right length but wired for SATA only, so check that your slot supports NVMe (PCIe) if you are buying a fast drive. The form-factor code tells you fit; the key and slot spec tell you compatibility and speed.

Upgrading a handheld or laptop

Form factor matters most when upgrading compact devices. Popular gaming handhelds ship with a cramped 2230 slot, so a desktop 2280 drive simply will not fit and you must buy a 2230 drive specifically. Thin laptops vary between 2242 and 2280, and some have only a single slot. Before ordering, open the device or check its manual to confirm the exact supported length, and note whether the slot is PCIe (NVMe) or SATA. Matching both the size and the interface avoids the frustration of a drive that physically fits but will not run, or one that runs but will not seat.

FAQ

Can I put a 2230 drive in a desktop 2280 slot?

Yes, if you relocate the mounting standoff to the 30 mm position. It works fine electrically, but on a desktop you may as well use a 2280 for more capacity and value.

Which form factor should I buy for a gaming PC?

M.2 2280. It fits virtually every desktop slot, offers the largest capacities and best price per terabyte, and has the widest range of fast PCIe 4.0 and 5.0 options.

Bottom line

The four-digit code is just width and length: 2280 is the desktop standard, while 2242 and 2230 are shorter formats for laptops and handhelds with tighter space and lower capacity ceilings. For a gaming build, buy 2280 and confirm the slot supports NVMe rather than SATA-only. Match the size to your board’s standoff and the connector key to your drive, and installation is straightforward.

Related guides

Browse all PC Builds guides →