Hardware
DRAM vs NAND: Memory vs Storage, Explained
DRAM vs NAND: DRAM is fast, volatile working memory; NAND flash is slower, persistent storage. Compare speed, cost, endurance and how computers use both.
In the DRAM vs NAND question, the short answer is that they do different jobs. DRAM (dynamic random-access memory) is a computer's fast, short-term working memory: it holds whatever is running right now and forgets everything when the power goes off. NAND flash is the long-term storage inside SSDs, phones and memory cards: it's slower, but it keeps your files without power and costs far less per gigabyte. Every modern computer needs both, which is why a laptop lists "16 GB of RAM" and "512 GB of storage" as two separate numbers.
This guide explains the nand and dram difference in plain language: how each one stores a bit, why DRAM must be refreshed, what NAND flash is and why NAND flash wears out, how they compare on speed, cost and endurance, a worked example of loading a large file, and how to decide whether to add RAM or buy a bigger SSD.
DRAM vs NAND at a Glance
| DRAM | NAND flash | |
|---|---|---|
| Role | Working memory (RAM) | Persistent storage (SSD, phone, memory card) |
| Keeps data without power | No (volatile) | Yes (non-volatile) |
| Stores a bit as | Charge in a tiny capacitor, one transistor per cell | Charge trapped in a transistor's insulated layer |
| Access unit | Individual bytes, any order | Pages to read and write, whole blocks to erase |
| Latency | Tens of nanoseconds | Tens to hundreds of microseconds |
| Bandwidth (typical) | Tens of GB/s per channel | A few to about 15 GB/s per SSD |
| Wears out with writes | Effectively no | Yes, limited program/erase cycles |
| Needs refresh | Yes, about every 64 ms | No |
| Cost per gigabyte | High | Much lower |
| Where you find it | DIMMs, laptop RAM, GPU VRAM, HBM | SSDs, USB sticks, SD cards, phones |
If you remember one line, remember this: DRAM is where the computer thinks, NAND flash is where it remembers.
What Is DRAM?
DRAM stores each bit in a cell made of one transistor and one tiny capacitor (called a 1T1C cell). A charged capacitor means 1 and an empty one means 0. The transistor acts as a gate that lets the chip read or change the charge. This design is simple and small, which is why DRAM can be built in huge capacities.
The catch is in the name: "dynamic". A capacitor leaks, so the stored charge fades within milliseconds. The memory controller has to read and rewrite every row regularly, a process called refresh. The standard refresh window is about 64 ms for DDR4, with commands issued roughly every 7.8 microseconds, and the window is shorter (32 ms) for DDR5. Hotter chips need more frequent refreshes. Refresh costs a little performance and power, but it's what makes DRAM both dense and cheap compared with the alternatives.
DRAM is also random access: any byte can be read or written directly in tens of nanoseconds, in any order, with no need to erase anything first. That's what makes it suitable as working memory. When you open a program, the operating system copies it from storage into DRAM, and the processor works from there. Closely related kinds of DRAM show up elsewhere: GDDR sits on graphics cards and HBM is stacked next to AI accelerators (see our guide to HBM memory). The faster but costlier SRAM inside processor caches is a different technology, covered in SRAM vs DRAM.
What Is NAND Flash?
What is NAND flash? It's a type of non-volatile memory that stores data as electric charge trapped inside a transistor, in an insulated layer that holds the charge even when the power is off. Reading a cell means checking how much charge is trapped, which shifts the voltage at which the transistor turns on. The name NAND comes from how the cells are wired: they sit in series strings that resemble a NAND logic gate, a layout that packs cells very tightly. "Flash" is usually credited to Toshiba, whose engineers thought erasing a whole block at once resembled a camera flash.
Modern NAND is 3D NAND: instead of shrinking cells on a flat surface, manufacturers stack cells in many layers, like a skyscraper. Stacking is how storage capacity keeps growing without the cells getting too small to hold a reliable charge.
NAND has a few rules that shape how SSDs behave:
- Reads and writes work in pages. A page is a few kilobytes (commonly 16 KiB in current chips). You can't change a single byte; the chip reads or programs a whole page.
- Erasing works in blocks. A block is many pages. A page that already holds data can't be overwritten directly: the cell must be erased first, and erasing happens only for the whole block.
- Writes are limited. Each erase and rewrite cycle damages the insulating layer slightly (more on that below).
Because of these rules, every SSD contains a controller running firmware called the flash translation layer. It maps the logical addresses your computer uses to the physical pages, moves data around so erases are spread evenly (wear leveling) and collects stale pages into blocks it can erase (garbage collection). That's why an SSD feels like simple storage even though the chips underneath are awkward.
SLC, MLC, TLC and QLC
NAND can store more than one bit per cell by distinguishing more charge levels. More bits per cell means more capacity per chip and lower cost, but slower and less durable cells.
| Type | Bits per cell | Typical endurance (program/erase cycles) | Typical page read | Typical page program | Typical block erase |
|---|---|---|---|---|---|
| SLC | 1 | about 100,000 | 20 to 25 µs | 50 to 200 µs | 2 to 5 ms |
| MLC | 2 | about 10,000 | 40 to 110 µs | 0.4 to 1.5 ms | 5 to 10 ms |
| TLC | 3 | about 3,000 | 66 to 170 µs | 0.8 to 2 ms | 10 to 15 ms |
| QLC | 4 | about 1,000 | 120 to 200 µs | 2 to 3 ms | 15 to 20 ms |
Latency ranges are from a 2025 survey of SSD device-level research; endurance figures are the commonly quoted approximations from industry guides (IBM, TechTarget). Exact numbers vary by manufacturer, layer count and generation, so treat the table as the shape of the trade-off, not a spec sheet. Most consumer SSDs today are TLC or QLC, and they hide the slow cell behaviour with a faster cache (see below).
Why Does NAND Flash Wear Out?
Why does NAND flash wear out when DRAM doesn't? Each time a NAND cell is programmed and erased, electrons are pushed through a thin oxide layer, and every pass slightly damages it. After enough cycles, the cell can no longer hold a charge reliably or tell its levels apart. That's the program/erase cycle limit in the table above: roughly 3,000 for TLC, 1,000 for QLC.
DRAM doesn't have this problem because refreshing a capacitor is just charging it; nothing is pushed through an insulating layer, so a DRAM cell can be rewritten billions of times.
For everyday use, wear is rarely an issue because:
- Wear leveling spreads writes across all blocks, so no single block is hammered.
- Over-provisioning keeps some spare capacity hidden for the controller to use.
- Error correction repairs bits that drift as cells age.
- Drive ratings are expressed as TBW (terabytes written) or DWPD (drive writes per day), and a typical desktop user writes far less than the rating allows.
Wear matters more for heavy, constant writing: databases, logging servers, video editing scratch disks and swap. Look for an endurance rating and a TLC (not QLC) drive in those cases.
DRAM vs NAND Speed and Bandwidth
In the NAND flash vs DRAM comparison, the speed gap is large and has two parts: latency (how long one access takes) and bandwidth (how much data flows per second).
| DRAM (DDR5-4800) | NVMe SSD (PCIe 4.0 x4) | NVMe SSD (PCIe 5.0 x4) | |
|---|---|---|---|
| Latency for one access | Tens of nanoseconds | Tens to hundreds of microseconds | Tens to hundreds of microseconds |
| Peak bandwidth | 38.4 GB/s per channel | about 7.9 GB/s (link limit) | about 15.8 GB/s (link limit) |
| Dual-channel desktop | 76.8 GB/s | n/a | n/a |
The figures come from the specifications: DDR5-4800 moves 4,800 million transfers per second over a 64-bit (8-byte) channel, which is 38.4 GB/s; PCIe 4.0 runs 16 GT/s per lane with 128b/130b encoding, about 1.97 GB/s per lane or 7.88 GB/s over four lanes; PCIe 5.0 doubles that. Real drives top out near those link limits on large sequential transfers and fall well below them on small random ones.
Put simply, DRAM answers about a thousand times faster than NAND and has roughly five to ten times the bandwidth. That's why a program running from RAM feels instant and the same program waiting on storage doesn't. If you're comparing SSD interfaces, our NVMe vs SATA guide covers the storage side in detail.
How a Computer Uses Both
The two memories form a hierarchy. The fastest, smallest memory (CPU caches built from SRAM) sits closest to the processor, DRAM comes next and NAND storage is largest and farthest away. Data moves up when it's needed and down when it's not.
When you start a program, the operating system reads it from the SSD into DRAM. When you save a file, the data is written from DRAM to the SSD. When DRAM fills up, the system can push rarely used data out to a swap file on the SSD, which keeps things running but is dramatically slower than real memory.
SSDs contain DRAM too, usually a small amount used for the table that maps your logical addresses to physical NAND pages. With one 4-byte entry per 4 KiB page, that table is roughly 1 GB per 1 TB of flash. "DRAM-less" SSDs skip that chip and keep a smaller table in the flash itself or borrow a slice of your computer's RAM through the NVMe Host Memory Buffer feature. They work fine for light use, but can slow down in sustained random writes.
Worked Example: Loading a 14 GB File
Say you want to load a 14 GB language model's weights, or any dataset that size, into memory. Using the peak numbers from the table:
| Source | Peak bandwidth | Minimum time to read 14 GB |
|---|---|---|
| PCIe 4.0 x4 NVMe SSD | about 7.9 GB/s | about 1.8 s |
| PCIe 5.0 x4 NVMe SSD | about 15.8 GB/s | about 0.9 s |
| SATA SSD (about 0.55 GB/s) | about 0.55 GB/s | about 25 s |
| Dual-channel DDR5-4800 | 76.8 GB/s | about 0.2 s |
These are best-case minimums; real transfers are slower because of file-system overhead and sustained speed limits. The takeaway: storage speed decides how long the first load takes, and DRAM speed decides how fast the program runs after it's loaded. If the whole 14 GB won't fit in your RAM, the system will keep going back to storage, and the program slows from "memory speed" to "SSD speed". That is the real cost of not having enough RAM, and it's why AI users care so much about how much memory their machine has; see how much RAM for AI for the sizing rules.
DRAM vs NAND vs HBM vs SRAM
Four names come up together, and they're easy to mix up.
| Type | Volatile? | Speed | Where it lives | Main trait |
|---|---|---|---|---|
| SRAM | Yes | Fastest (about a nanosecond) | Inside CPU and GPU as cache | Fast but large per bit, so tiny capacity |
| DRAM | Yes | Fast (tens of ns) | DIMMs, laptop RAM, VRAM (GDDR) | Dense, cheap working memory |
| HBM | Yes | Fast, very wide | Stacked beside AI chips | DRAM stacked for huge bandwidth |
| NAND flash | No | Slower (tens of µs and up) | SSDs, phones, cards | Cheap persistent storage |
HBM is not a separate kind of memory cell: it's DRAM stacked in layers and placed right next to a processor to give it enormous bandwidth. NAND is the odd one out, since it's the only non-volatile one and the only one that wears out.
Should You Add RAM or Upgrade the SSD?
Use this checklist:
- The computer slows down when many apps or browser tabs are open, or the fan spins and the disk light is constantly busy: you're out of RAM and swapping. Add RAM.
- Boot time, app launches and file copies are slow, but memory usage is low: the bottleneck is storage. Move to an SSD (or a faster NVMe drive).
- You're running large AI models, video editing, virtual machines or big datasets: prioritise RAM (or GPU memory) first, then fast storage for loading.
- You're out of disk space: buy a bigger SSD. More RAM will not help.
- Your SSD is nearly full and slow to write: free up space. SSDs slow down and wear faster when almost full because the controller has little spare room to work with.
A bigger SSD will not make a program run faster once it's loaded, and extra RAM will not make files open faster the first time. They solve different problems.
Common Mistakes
- Calling an SSD "memory". The words "memory" and "storage" are often used loosely. In specs, memory means DRAM and storage means NAND.
- Expecting an SSD to replace RAM. Even the fastest NVMe drive is about a thousand times slower per access than DRAM and has far less bandwidth.
- Using a QLC drive for constant heavy writes. Its endurance is the lowest of the four types. Choose TLC or a drive with a higher TBW rating for databases, scratch disks and logging.
- Filling an SSD to 100%. With no free blocks, writes slow down and wear rises.
- Ignoring dual-channel RAM. One module halves the memory bandwidth of many desktops; check the configuration.
- Believing DRAM wears out like flash. It doesn't, but it does lose its data instantly without power, so unsaved work in RAM is gone after a crash.
Which Should You Care About?
You don't choose between DRAM and NAND; you size both for your work. For general use, 16 GB of RAM and a 512 GB to 1 TB NVMe SSD is a balanced starting point. For heavier work, spend on RAM first and storage second, and pick a TLC drive with a clear endurance rating for write-heavy jobs. For AI and video, remember that the amount of fast memory decides what fits, and the SSD decides how quickly you get started.
FAQ
What is the difference between DRAM and NAND?
DRAM is volatile working memory with very low latency and high bandwidth, used while a computer runs. NAND flash is non-volatile storage that keeps data without power but is slower, works in pages and blocks, and wears out after many program/erase cycles.
What is NAND flash used for?
NAND flash is the storage in SSDs, USB drives, SD cards, smartphones and tablets. It holds the operating system, apps and files, and keeps them when the device is off.
Is DRAM faster than NAND?
Yes. A DRAM access takes tens of nanoseconds, while a NAND page read takes tens to hundreds of microseconds. DRAM also has several times the bandwidth, roughly 38 GB/s per DDR5-4800 channel against about 8 GB/s for a PCIe 4.0 x4 SSD at its link limit.
Why is DRAM volatile?
DRAM stores bits as charge in tiny capacitors that leak within milliseconds. The memory must be refreshed constantly to keep its data, and when the power is cut the refreshing stops and the data is lost.
Does an SSD have DRAM?
Many do. SSD DRAM holds the map from logical addresses to physical NAND pages. DRAM-less SSDs use a smaller table in flash or borrow some of the computer's RAM, which is fine for light use but can slow down under sustained random writes.