
Command
mapThe computer sends a write over PCIe. The controller looks up its map in DRAM and picks a fresh, empty page, because flash cannot be overwritten in place.
An SSD keeps your files as electrons trapped in billions of tiny cells. Writing pushes them in with about 20 volts, and they stay put for months with the power off.
| TitleHow a ssd (solid-state drive) works | Dwg no.FIG. 23 | |
| DrawnTestIt3D | Updated | RevC |
| ScaleNTS | Reading8 min | ModelLive 3D |
An SSD stores data as electrons trapped in billions of flash cells, with no moving parts. To write, the controller picks an empty 16 KB page and pushes electrons in with pulses of about 20 V; the amount of charge sets each cell's bits. Old data is never overwritten, only marked stale and erased later, a block at a time.
The 1 TB NVMe drive from Fig. 23 against a 7,200 rpm desktop hard drive. Rounded typical figures.
When requests jump around, the SSD is about 130 times quicker. For long files read in order the gap shrinks to a few times, and the hard drive still wins on price per terabyte.
Under a millisecond in real life, unless it has to clean up: map, push, check, sweep.

The computer sends a write over PCIe. The controller looks up its map in DRAM and picks a fresh, empty page, because flash cannot be overwritten in place.

Voltage pulses rising towards 20 V push electrons through a thin insulator into each cell's charge trap. A cell that reaches its level is locked out of further pulses.

The controller reads the cells back against its reference voltages, and error correction fixes the few bits that came out wrong.

The old copy is marked stale. When space runs short, the valid pages of a worn-out block are copied away and the whole block is erased at once, spreading the wear.
Every one is labelled in the 3D lab. Turn the model to find them.

About 8 minutes of reading.
Copy a big folder on an old laptop with a hard drive and you hear a faint ticking as the arm hunts for pieces. An SSD is silent, because nothing moves. An SSD (solid-state drive) is a small board carrying a controller chip, some DRAM and packages of NAND flash, and every bit you save ends up as electrons parked inside a cell.
Each cell is a slice of a vertical silicon tube, the channel, wrapped in a charge-trapping layer, a very thin insulator called the tunnel oxide, and a control gate outside. Raise the gate to about 20 V and electrons are pulled through the insulator into the trap. When the voltage goes they can't easily get back, which is why files survive a power cut. The chip fires short pulses climbing from roughly 15 V towards 20 V, checks after each, and locks out cells that have reached their target. The VOLTS ON THE CELL gauge shows that staircase during Program.
Trapped charge raises the voltage a cell needs before current flows, its threshold voltage, so reading means asking at a few set voltages whether current flows yet. Our model's drive is a 1 TB M.2 stick, 22 × 80 mm (0.87 × 3.15 in), with two flash packages of four stacked dies. Real dies stack 200 or more layers; we drew eight. Cells are written in 16 KB pages, about 131,000 bits together, but erased in blocks of about 6 MB. Most of an SSD's odd habits come from that mismatch.
Electrons can only be added to a page. Emptying a cell means erasing its whole block, with about 20 V applied the other way round, which takes around 3 ms against about 50 µs to read a page. So when you save a changed file, the controller writes the new version to a fresh page elsewhere and updates its map, the flash translation layer (FTL), which records which physical page holds each address the computer uses. Ours keeps it in 1 GB of DRAM; DRAM-less drives borrow about 64 MB of the computer's RAM instead (Host Memory Buffer, HMB).
The old copy stays put and is marked stale (brown in DETAIL A). Stale pages pile up. When the controller runs low on empty blocks it chooses the block with the most stale pages, copies the still-valid ones out, and erases it. That's garbage collection, the Clean-up phase in Fig. 23. Our model averages about 1.9 bytes of flash writes per byte from the computer, a write amplification near 2, with a clean-up roughly every fourth write. The controller also spreads new data across blocks so none wears out early, called wear levelling.
Deleting a file only changes the file system's records. The SSD has no clue those pages are now rubbish, so it would keep copying them during clean-up. TRIM fixes that. The operating system tells the drive which addresses are empty, and the controller marks those pages stale at once. Current Windows, macOS and Linux do it automatically for most internal SSDs.
Press Delete a file (TRIM) in the model and a run of pages turns stale. The next clean-up finds blocks that are mostly dead, has little to copy, and the sustained figure in the Write speed readout goes up.
A nearly full drive is the reverse. Few empty blocks remain, so clean-up runs more often with more live data to shuffle. Many TLC and QLC drives also write first into a fast SLC cache (flash run at one bit per cell, left out of our model), and it shrinks as the drive fills. A big copy then starts quick and drops sharply partway. Leave 10-20% of the space free and most of that goes away.
Every program and every erase drags electrons through the tunnel oxide, and that slowly damages it. After enough cycles a cell leaks or can't hold a clean level. A TLC block is rated for about 3,000 erases, which the box turns into TBW (terabytes written), about 600 for a typical 1 TB TLC drive. Our model takes capacity times erase cycles divided by 5, a rough allowance for write amplification and margin.
Put that in days. A busy home computer might write 20-50 GB a day. At 50 GB a day, 600 TB lasts about 33 years. Estimates, yes, and most drives get replaced for being too small or slow long before the flash runs out. Your own drive keeps a tally in its health data (SMART), which free disk tools display. Warranties end at a set number of years or at the TBW figure, whichever comes first; heavy video editors should mind the second.
Drag Bits per cell from SLC to QLC and watch DETAIL C. One bit per cell needs 2 charge levels, two bits need 4, three need 8 and four need 16, all packed into the same voltage range. The same chips then hold more, 333 GB as SLC but 1.33 TB as QLC, at the cost of precision. Charge has to be placed in finer steps, so a QLC page takes about 2,000 µs to program against 600 µs for TLC, and neighbouring levels sit so close that more bits land off target. In the model, ECC (error-correcting code) repairs about 15 bits in a 16 KB TLC page and about 74 in QLC. With targets that narrow, wear shows up sooner, so QLC is rated at around 1,000 erases.
For a home computer, TLC is the sensible middle. QLC suits a large game library or media you write once and read often.
Both are flash; the road to the computer differs. An NVMe drive talks over four PCIe lanes, about 7,000 MB/s at PCIe 4.0, while a SATA SSD sits behind a link built for hard drives that tops out near 550 MB/s (the motherboard page follows both routes). Some M.2 sticks are SATA drives inside, so check the label and what your slot accepts.
Big copies and game installs run many times faster on NVMe. Booting and opening apps lean mostly on small scattered reads, where both kinds answer in roughly a tenth of a millisecond, so those feel much closer than 7,000 against 550 suggests. If your machine has an M.2 slot that takes NVMe, buy NVMe, as prices are usually close. A 2.5 in bay still makes a SATA SSD a great buy.
For the drive your computer starts from, nearly always. A hard drive manages about 75 scattered reads a second; even a modest SSD does around 10,000 one after another, and far more with a queue. An older machine that crawls for minutes after switching on is usually waiting on its disk, and an SSD fixes that better than almost any other upgrade. The hard drive page shows where its 13 ms per read go.
Don't treat an SSD in a drawer as an archive, though. Trapped electrons leak slowly, faster when warm. Drives are rated to keep data for at least 1 year unpowered at 30 °C (86 °F) at the end of their rated life, and much longer when fresh, but that's a floor, not a promise of decades. Press Power off in the model and the write freezes with every page intact, which is right for weeks or months. For years, keep a second copy on another drive or in cloud storage.
How the rating in the Wear readout becomes time, for the default 1 TB TLC drive. Estimates, not promises.
TBW is a warranty figure and many drives go past it. The daily amounts are rough examples; your own drive's health data shows the real total written so far.
"Defragmenting an SSD speeds it up." There's no arm to move, and the FTL scatters pages on purpose, so a full defrag only adds wear. Leave the system's own TRIM schedule to do its job.
"SSDs wear out in a couple of years." A 600 TBW drive written at 50 GB a day has about 33 years of flash in it by the arithmetic. Heavy video work is the case to watch.
"Deleting a file erases it from the flash right away." The pages are only marked stale and get erased later, a block at a time. With TRIM on, though, the drive soon treats them as empty, so undelete tools rarely get them back.
"An SSD in a drawer keeps its data forever." The rating is at least a year unpowered at 30 °C (86 °F) for a worn drive. Fine for a trip, not for a family photo archive with no other copy.
The four settings of the Bits per cell slider, with the numbers the model's readouts give.
| SLC | MLC | TLC | QLC | |
|---|---|---|---|---|
| Bits in each cell | 1 | 2 | 3 | 4 |
| Charge levels to hit | 2 | 4 | 8 | 16 |
| Capacity from the same chips | 333 GB | 667 GB | 1 TB | 1.33 TB |
| Program one 16 KB page | 100 µs | 300 µs | 600 µs | 2,000 µs |
| Read one page | 25 µs | 40 µs | 50 µs | 80 µs |
| Write speed before clean-up | 5,243 MB/s | 3,495 MB/s | 2,621 MB/s | 1,049 MB/s |
| Erases per block | 100,000 | 10,000 | 3,000 | 1,000 |
| Rated writes | 6,670 TBW | 1,330 TBW | 600 TBW | 270 TBW |
| Bits fixed by ECC per page, typical | about 0 | about 4 | about 15 | about 74 |
Write speed here is 8 dies × 4 planes × bits per cell × 16 KB ÷ program time. Real drives add an SLC cache that hides some of the QLC slowness until it fills.
Short, straight answers. Open one to read it.
Most last many years. A typical 1 TB TLC drive is rated for about 600 TBW, which at a heavy 50 GB of writes a day works out to roughly 33 years of flash wear. Other parts can fail sooner, so keep backups whatever the rating says.
Yes for large transfers, about 7,000 MB/s on PCIe 4.0 against about 550 MB/s for SATA. For booting and opening apps the gap is much smaller, because both answer a small scattered read in around 0.1 ms.
TRIM is a command the operating system sends to tell the SSD which pages belong to deleted files. The drive marks them stale, so clean-up doesn't waste time copying them. Leave it switched on; modern systems enable it by default.
With few empty blocks left, the drive has to erase more often and copy more valid pages before each erase, and its fast SLC cache shrinks. Keeping 10-20% of the space free avoids most of the slowdown.
Yes, slowly. Trapped electrons leak away over time, faster in heat. Drives are rated to hold data for at least a year unpowered at 30 °C (86 °F) near the end of their life, and longer when new, so don't make one your only long-term archive.
For the boot drive, yes. Scattered reads jump from about 75 a second to about 10,000, so start-up, updates and app launches feel far quicker. The old hard drive can stay on as cheap bulk storage.
No. Fragmentation slows hard drives because the arm has to travel, but an SSD reaches every page equally fast. Windows' Optimize Drives tool sends TRIM to SSDs rather than defragmenting them, which is fine to leave scheduled.
TLC stores 3 bits per cell in 8 charge levels; QLC stores 4 bits in 16. QLC gives more capacity from the same chips but writes more slowly once its cache fills and is rated for fewer erases, about 1,000 per block against 3,000.

































Name a machine you have always wondered about. We build the most requested ones first.