A USB stick unplugged in a drawer still holds its files years later, with no battery and no moving parts. Each bit is kept as a small number of electrons sealed inside an insulator, unable to leave on their own because the insulating wall is too thick for them to cross, and pushed in or pulled out only when a high voltage thins that wall enough for them to tunnel through. Everything else about flash memory, from how many bits a cell holds to why some SSDs wear out sooner, follows from that arrangement. The descriptions below come from KIOXIA, the company that invented NAND flash, and the numbers were worked out from basic physics in Python.
The memory cell
A transistor with a pocket for charge
KIOXIA, formerly Toshiba’s memory business, notes that it invented the world’s first NAND flash memory in 1987. Its explanation of the cell is short: data is stored by moving electrons into and out from a charge storage film enclosed in an insulator. The cell is a transistor with that extra layer between its control gate and the silicon channel. Older designs used a conducting “floating gate” as the storage layer; newer 3D designs use a charge-trapping film, but the principle is the same.
Scale
The same page notes that flash memory now consists of hundreds of billions of memory cells. A 1 TB drive holds 8 trillion bits. At one bit per cell that would need 8 trillion cells; at four bits per cell, 2 trillion.

Writing and erasing: tunneling through an insulator
Pushing electrons in
To write, KIOXIA explains, a high voltage is applied to the control gate, and the electrons pass through the insulator and enter the charge storage film from the silicon substrate. When the power is turned off, the stored electrons stay. To erase, a high voltage is applied on the substrate side instead, and the electrons pass back out. IBM’s explanation of NAND names the mechanism: write operations use Fowler-Nordheim tunneling, which pushes electrons into the floating gate where they become trapped.
Why insulation doesn’t stop them
In classical physics, an electron without enough energy cannot cross an insulating barrier at all. In quantum mechanics it has a small probability of appearing on the other side. That probability falls off exponentially with the barrier’s thickness. A strong electric field bends the barrier into a thinner, triangular shape, so electrons can get through; remove the field and the full thickness is back.
How steep the exponential is
A simple calculation shows the scale. For an electron facing a flat barrier 3.1 eV high (a commonly used figure for the silicon–silicon dioxide interface), the WKB approximation gives these tunneling probabilities per attempt:
| Barrier thickness | Probability |
|---|---|
| 2 nm | 2 × 10⁻¹⁶ |
| 4 nm | 5 × 10⁻³² |
| 6 nm | 1 × 10⁻⁴⁷ |
| 8 nm | 2 × 10⁻⁶³ |
Each extra nanometer cuts the probability by a factor of about 68 million. That is why a few nanometers of oxide can hold charge for years with no power, and why a high programming voltage, which effectively thins the barrier, is needed to move charge in a fraction of a second instead.
Reading: the threshold voltage
Charge changes when the transistor turns on
A cell is read by checking how hard it is to switch on. KIOXIA defines the threshold voltage as the control gate voltage at which a current begins to flow in the memory cell. Trapped electrons repel the electrons in the channel below, so a cell holding many electrons in the charge storage film has a higher threshold voltage. In KIOXIA’s convention, the low-threshold state, where current flows easily, is “1”, and the high-threshold state is “0”.
The read
To read, the chip applies a readout voltage between the two thresholds and checks whether current flows. If it does, the cell holds few electrons: a 1. If not, it holds many: a 0. No electrons move in or out during a read, which is why reading does not wear the cell the way writing does.
How few electrons
The charge involved is tiny. A cell’s threshold shift is the stored charge divided by its capacitance, and each femtofarad of capacitance needs about 6,240 electrons per volt of shift (one femtofarad times one volt, divided by the electron’s charge). Modern cells are far smaller than a femtofarad, so the difference between two levels can come down to dozens or hundreds of electrons; losing a few of them over time is what eventually blurs a bit.

More bits per cell
Splitting the threshold window
Nothing forces a cell to have only two states. The threshold voltage is an analog quantity: put a little more or a little less charge in, and it lands somewhere in between. If the chip can place it precisely and read it back precisely, one cell can hold several bits. KIOXIA explains that if four threshold voltage distributions can be created, four patterns, “11”, “10”, “01” and “00”, fit in one cell, storing two bits. Eight distributions give three bits, sixteen give four. In general, for N bits, the number of threshold voltage distributions is 2 to the power of N.
The cost: narrower gaps
If the usable range of threshold voltages, the window, stays the same, more levels must share it. Dividing a fixed window W among the levels:
| Type | Bits per cell | Levels | Gap between levels | Relative to SLC |
|---|---|---|---|---|
| SLC | 1 | 2 | W | 100% |
| MLC | 2 | 4 | W/3 | 33% |
| TLC | 3 | 8 | W/7 | 14% |
| QLC | 4 | 16 | W/15 | 6.7% |
| PLC | 5 | 32 | W/31 | 3.2% |
Telling the levels apart also takes more comparisons: one reference voltage separates SLC’s two levels, but sixteen levels need fifteen boundaries, each of which may have to be checked. Going from three bits to four adds 33 percent more capacity but halves the space between neighboring levels. A fifth bit would add 25 percent more capacity and halve it again.
What KIOXIA says it costs
KIOXIA’s page spells out the consequences. More bits per cell need finer threshold distributions, so writing must be done more slowly; the intervals between levels get narrower, so reading must be slower too, and the lifespan is shorter compared with fewer bits per cell. Larger N suits applications where capacity and cost come first; smaller N suits those where performance and longevity matter most.
Why cells wear out and forget
Wear from tunneling
Every program and erase drives electrons through the insulator under a strong field, and over many cycles that damages it: charge gets stuck in the oxide, and the barrier leaks more. IBM’s overview gives SLC endurance as up to 100,000 erase cycles, the top of the range; each extra bit per cell lowers the count, because the narrower gaps tolerate less drift before a level is misread.
Forgetting over time
Retention is the other side. KIOXIA’s technical brief on data retention describes how a TLC cell’s threshold distributions start out evenly spaced and then, with temperature stress and more program/erase cycles, shift and spread until neighboring levels begin to overlap. Heat speeds the escape of trapped charge, and a worn insulator lets it leak faster. An old, heavily written drive left in a hot car is the worst case.
What the controller does about it
Drives do not rely on perfect cells. The controller spreads writes across all cells so none wears out first, keeps spare blocks to replace failing ones, and uses error-correcting codes to recover bits that have drifted. Many consumer TLC and QLC drives also write first into a region run as SLC, one bit per cell, which is faster, then move data into the denser mode later. The earlier post on iowait and slow disks covers what it looks like from Linux when a drive gets slow.

What this means when buying or using flash
Matching the type to the job
For a USB stick or a game library that is mostly read, QLC’s capacity and price make sense. For a database, a cache, or a drive that is written constantly, TLC or better lasts longer and slows down less under sustained writes. Drive makers publish endurance as terabytes written (TBW); comparing that figure between drives of the same size shows the difference directly.
Long-term storage
Flash is not an archive medium on its own. Charge leaks slowly, faster in heat and in worn cells, so a drive that sits unpowered for years can lose data. For important files, a second copy on another medium, checked now and then, is the safer plan; the earlier post on verifying files with SHA-256 shows how to check a copy is still intact.
Sources
- What is NAND Flash Memory?, KIOXIA: https://www.kioxia.com/en-jp/rd/technology/nand-flash.html
- What is Multi-level Cell Technology?, KIOXIA: https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html
- NAND Flash Data Retention Technical Brief, KIOXIA America: https://americas.kioxia.com/content/dam/kioxia/en-us/business/memory/mlc-nand/asset/KIOXIA_NAND_Flash_Data_Retention_Technical_Brief.pdf
- What is NAND flash memory?, IBM: https://www.ibm.com/think/topics/nand-flash
