
Activate
openThe chip switches on one row of cells. Their tiny charges spill onto the bit lines, and the sense amplifiers read and hold the whole row of 8,192 bits.
Every bit in RAM is a speck of charge in a capacitor far smaller than a bacterium. It leaks, so the chip tops up every row 30 times a second, and it is all gone soon after the power goes.
| TitleHow a ram (memory) works | Dwg no.FIG. 20 | |
| DrawnTestIt3D | Updated | RevC |
| ScaleNTS | Reading8 min | ModelLive 3D |
RAM stores each bit as a tiny charge in a capacitor, arranged in rows and columns inside each chip. To read, the chip opens a row, copies it into a row buffer and streams 64 bytes to the processor. The charges leak, so every row is refreshed every 32 ms, and everything fades soon after power is cut.
Every one is labelled in the 3D lab. Turn the model to find them.

About 36 nanoseconds in real life: open a row, send the data, close it, refill.

The chip switches on one row of cells. Their tiny charges spill onto the bit lines, and the sense amplifiers read and hold the whole row of 8,192 bits.

After the CAS latency, the chip picks the wanted columns from the open row and streams them out in a burst of 16 beats. Four chips together deliver a 64-byte line to the CPU.

Reading drained the cells, so the sense amplifiers write the charge back first. Then the row closes and the bit lines reset to half voltage, ready for the next row.

The capacitors leak all the time. Every row is read and topped up about every 32 ms, or the ones and zeros would fade within seconds.
Use the model's own controls. The numbers below are what its readouts show.
About 8 minutes of reading.
Open twenty browser tabs on an 8 GB laptop, then click back to the first. Sometimes it reloads from scratch, or the whole machine hangs for a second while the drive works. You've just seen a computer run short of RAM and shuffle things out to its SSD.
RAM (random access memory) is where running programs and the data they're busy with live. The processor can't work straight off the SSD or hard drive. Whatever it needs is copied into RAM first and pulled from there into its caches. Storage makes the opposite trade. It keeps your files with the power off and holds far more per dollar or rupee, but it's slow to answer. A typical SSD read takes tens of microseconds, while the DDR5 stick in our model starts sending data within about 20-36 ns, hundreds to thousands of times sooner, and moves 38.4 GB/s where a fast SSD manages a few GB/s.
So when a phone is sold as 8 GB RAM and 128 GB storage, those are two separate parts with separate jobs. More storage holds more photos. More RAM keeps more apps open without reloading.
Each chip on the stick is a grid of cells, and each cell is one transistor plus one capacitor, a microscopic cup that holds charge. Charged is a 1, empty is a 0. The transistor acts as a gate. Gates along a row share a wire called the word line, and cells down a column share a bit line. Our 16 GB stick has eight chips of 16 Gbit; every chip holds 32 banks, and each bank has 65,536 rows of 8,192 cells. We drew one bank as 8 rows of 16 cells, roughly 200,000 times real size.
A read begins with an address, and the model prints how it gets split up, for instance 0x1_280D_3680 becomes group 2, bank 1, row 18,947, column 720. Activate switches on that row's word line. Every cell in the row tips its charge onto its bit line, and the sense amplifiers turn those faint nudges into firm 1s and 0s and hold the entire row. That row buffer is what Read picks from. After the CAS latency, 128 bits leave the chip as 16 beats of 8 bits. Chips 1 to 4 do the same in step, so each beat is 32 bits wide and the 16 beats add up to 64 bytes, one cache line for the processor.
Reading drains the cells, so the sense amplifiers push full charge back while the row is still open. Precharge then closes the row and parks every bit line at half voltage for the next one. At DDR5-4800 a row miss, from opening the row to the last beat, takes 36.3 ns. When the next read falls in the row that's already open, it's a row hit and goes straight to Read in 20.0 ns. Programs that walk through memory in order get a lot of those.
Those times cover the stick alone. Add the trip through the processor's caches and its memory controller and the full wait seen by a core comes to roughly 90 ns, the figure our processor model uses.
The capacitors leak. Charge seeps out through the transistor and the insulation, so a stored 1 slowly sags toward 0. The chip fights back by reading and rewriting every row every 32 ms, around 31 times a second, all day, even while you're not touching the keyboard. A refresh command goes out about every 3.9 µs and keeps the chip busy for about 295 ns, so close to a thirteenth of its time goes on simply keeping data alive.
Cut the supply and the topping-up stops. Real cells hold on for anything from well under a second to minutes when very cold, and then the bits are gone. That's why unsaved work vanishes in a power cut, a summer outage in Chennai or a thunderstorm in Texas alike, and why a desktop on a UPS (battery backup box) gives you time to save. Sleep mode keeps a trickle of power on the RAM so refresh carries on. Hibernate copies the RAM onto the SSD and then switches it off.
More RAM helps only if you were running out. When your programs don't fit, the system parks some of their memory on the SSD (paging, or swap) and fetches it back when needed, at SSD speed. That's the stutter. Add RAM and it goes away. If everything already fits, the extra sits idle and you won't notice it.
To check, open the Performance tab of Task Manager on Windows or the Memory tab of Activity Monitor on a Mac during your normal day. Memory in use pinned near the total, or a memory pressure graph in yellow or red, means more would help. A reading of 60-70% with little open is fine, because the system fills spare RAM with cached files and hands it back the moment an app asks.
Typical needs, not hard rules. 8 GB covers schoolwork, office files and a browser with a sensible number of tabs, though it feels tight now. 16 GB is comfortable for most people, most gaming included. 32 GB suits video editing, big photo libraries, music production, virtual machines, or gaming while streaming. Many thin laptops have their RAM soldered down, so choose the amount when you buy.
Both come as 288-pin desktop sticks, but the key notch sits in a different spot, so neither fits the other's slot and each motherboard takes one type. A common DDR4 stick runs 3,200 MT/s (million transfers a second) for 25.6 GB/s. Standard DDR5 starts at 4,800 MT/s, 38.4 GB/s, and fast kits reach 8,000 MT/s, 64 GB/s. The arithmetic is MT/s times 8 bytes, because a stick is 64 bits wide.
Inside, DDR5 splits the stick into two independent 32-bit subchannels (printed on our board as SUBCHANNEL A and SUBCHANNEL B), doubles the burst from 8 beats to 16 so each half still delivers a whole 64-byte line, and puts its own power chip, the PMIC, on the stick. It runs at 1.1 V instead of 1.2 V and refreshes every 32 ms instead of 64.
Latency is the part people don't expect. The wait for the first data barely improved. DDR4-3200 CL22 waits 13.75 ns, and DDR5-4800 CL40 waits 16.7 ns. The CL number counts clock cycles, and DDR5's cycles are shorter, so a bigger CL can still mean less time. Memory has become much better at moving bulk data while the first-byte wait has hovered around 10-17 ns for years.
A desktop board has two memory channels, each with its own 64-bit path to the processor. One stick uses one channel. Two matching sticks in the right pair of slots use both, and bandwidth doubles, to 76.8 GB/s at DDR5-4800. The right pair is usually the second and fourth slots from the processor, often labelled A2 and B2, but the motherboard manual has the final say.
It matters most when graphics share the RAM. A graphics card carries its own memory, VRAM, soldered around its chip and built for enormous bandwidth. Processors with built-in graphics have none, so they borrow system RAM, and a single stick can starve them badly. Two 8 GB sticks usually beat one 16 GB stick for that reason.
Rounded figures for common retail sticks, the same ones the model uses.
| DDR4-3200 | DDR5-4800 | DDR5-6000 | DDR5-8000 | |
|---|---|---|---|---|
| Transfers per second | 3,200 million | 4,800 million | 6,000 million | 8,000 million |
| Memory clock | 1,600 MHz | 2,400 MHz | 3,000 MHz | 4,000 MHz |
| Bandwidth, one stick | 25.6 GB/s | 38.4 GB/s | 48 GB/s | 64 GB/s |
| CAS latency | CL22 | CL40 | CL36 | CL38 |
| Same wait in time | 13.75 ns | 16.7 ns | 12.0 ns | 9.5 ns |
| Channels per stick | one 64-bit | two 32-bit | two 32-bit | two 32-bit |
| Burst | 8 beats | 16 beats | 16 beats | 16 beats |
| Power control | on the motherboard, 1.2 V | PMIC on the stick, 1.1 V | PMIC on the stick | PMIC on the stick |
| Every row refreshed | each 64 ms | each 32 ms | each 32 ms | each 32 ms |
Sticks sold at the same speed can carry different timings, and tuned kits often run above the standard voltage. Faster DDR4 kits exist too.
The sum behind the CAS latency readout, worked for the default stick.
Activate takes tRCD, 39 cycles on this stick, and the 16-beat burst takes 16 ÷ 4,800 million seconds, about 3.3 ns. A row hit skips Activate and lands at 20.0 ns.
"My phone has 128 GB of memory." That's storage. The RAM is a separate, much smaller amount, often 6-12 GB, and it empties when the phone switches off.
"A bigger CL number means slower RAM." Not across speeds. CL counts clock cycles, so DDR5-6000 CL36 waits 12.0 ns while DDR4-3200 CL22 waits 13.75 ns.
"High RAM usage means something is wrong." Systems deliberately fill unused RAM with cached files and release it on demand. Worry only when it's full and the machine stutters.
"Shutting down keeps what was in RAM." Without power the charges fade within seconds, which is why the computer reloads everything from the SSD when it starts.
Short, straight answers. Open one to read it.
As a typical guide, 8 GB is enough for browsing, schoolwork and office files, 16 GB suits most people including most gamers, and 32 GB is for video editing, music production, virtual machines or gaming while streaming. Check how much you actually use before buying more.
Only if you were running out. When programs don't fit, the computer swaps memory to the SSD and stutters, and more RAM stops that. If your usage already sits well below the total, adding more changes nothing you'd notice.
No. Both have 288 pins, but the notch is in a different place, so a DDR5 stick won't go into a DDR4 slot or the other way round. Each motherboard supports one type, listed in its manual and specifications.
RAM is the computer's main working memory, shared by the processor and every program. VRAM is separate memory on a graphics card, next to the graphics chip, holding textures and frames. Built-in graphics without their own VRAM borrow part of the system RAM instead.
CL is CAS latency, the number of memory clock cycles between asking for data from an open row and the first data coming out. Convert it to nanoseconds before comparing sticks: CL × 2,000 ÷ MT/s. DDR5-4800 CL40 works out at 16.7 ns, and DDR5-6000 CL36 at 12.0 ns.
Many tools report the memory clock, while the box gives transfers per second. DDR memory moves data twice per clock cycle, so a DDR5-4800 stick runs a 2,400 MHz clock. That's normal. If it shows a lower figure than that, the faster profile may not be switched on in the firmware settings.
It often works, but every stick then runs at the settings of the slowest one, and mismatched sizes can lose some dual-channel benefit. A matched kit bought together is the safest choice, and the motherboard's support list shows what has been tested.
Yes, at cell level. Phones use low-power DRAM soldered right beside or on top of the main chip, with the same capacitor cells that need refreshing. It can't be upgraded later, so the amount you buy is the amount you keep.

































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