RAM and SSD Sizes: DIMM, SO-DIMM, M.2, 2.5-inch and EDSFF Dimensions

Last updated:

Last updated:

RAM and SSDs come in a handful of standard physical sizes. Check the form factor before you buy, as a drive or memory stick that is the wrong size will not fit your device.

RAM module sizes

ModuleSize (mm)Pins
DIMM (desktop DDR4 and DDR5)133.35 x 31.25288
SO-DIMM (laptop DDR5)about 69.6 x 30262
SO-DIMM (laptop DDR4)about 69.6 x 30260
SO-DIMM (laptop DDR3)about 67.6 x 30204

DDR4 and DDR5 DIMMs have the same length and pin count but different notch positions, so they are not interchangeable. Check the speed of your memory in the RAM bandwidth converter.

SSD and drive sizes

Form factorSize (mm)Notes
M.2 223022 x 30Handheld consoles, small laptops
M.2 224222 x 42Compact devices
M.2 226022 x 60Less common
M.2 228022 x 80Most common for desktops and laptops
M.2 2211022 x 110Longer, more chips
2.5-inch100.45 x 69.85Height 7, 9.5 or 15 mm
3.5-inch HDDabout 146 x 101.6Desktop hard drives
mSATAabout 50.8 x 29.85Older laptops
EDSFF E1.S31.5 x 111.495.9 mm thick, servers
EDSFF E1.L38.4 x 318.75Servers

M.2 names are width plus length: 2280 is 22 mm wide and 80 mm long. The bandwidth depends on the interface: an NVMe drive uses PCIe, see the PCIe bandwidth calculator.

Frequently asked questions

What does M.2 2280 mean?

It is a 22 mm wide and 80 mm long M.2 module, the most common SSD size.

Can I use a laptop SO-DIMM in a desktop?

Not directly. A desktop needs a full-size DIMM, though some mini PCs use SO-DIMMs.

Is an M.2 SSD always NVMe?

No. M.2 is a size and connector. Some M.2 SSDs use SATA, so check the specifications.

More guides and calculators

Sources: JEDEC module standards, M.2 and EDSFF specifications, manufacturer drive datasheets.