DRAM vs SRAM: Key Differences Explained
DRAM stores each bit as charge on a tiny capacitor, so it is dense and cheap but must be refreshed. SRAM stores each bit in a latch built from transistors, so it is faster and needs no refresh, but takes much more area per bit. That is why computers use DRAM for large main memory and SRAM for small, fast caches.
| Aspect | DRAM | SRAM |
|---|---|---|
| Storage element | One transistor and one capacitor (1T1C). The bit is the presence or absence of charge on the capacitor | Usually six transistors (6T): two cross-coupled inverters forming a latch, plus two access transistors |
| Refresh | Required. Charge leaks away, so every row must be read and rewritten periodically (typically within 64 ms) | Not required. The latch holds its data as long as power is applied |
| Without power | Data is lost (volatile) | Data is lost (volatile) |
| Area per bit | Small (a cell is about 6F², where F is the minimum feature size) | Large (an order of magnitude or more bigger than DRAM) |
| Speed | Slower. A row must be activated and later precharged, so an access takes tens of nanoseconds | Fast. On-chip SRAM can be accessed in about a nanosecond, a few clock cycles |
| Cost per bit | Low | High (because of the larger area) |
| Standby power | Needs refresh even when idle (reduced by self-refresh modes) | No refresh, but transistor leakage in a large array adds up |
| Manufacturing | Uses deep capacitor structures and high-k dielectric films, and is made in dedicated memory fabs | Built in a standard logic CMOS process, so it can sit on the same chip as the processor |
| Typical capacity | Several to tens of gigabits per chip | Kilobytes to tens of megabytes per cache level in a typical processor |
| Typical uses | Main memory (DDR, LPDDR) and graphics memory (GDDR, HBM) | CPU and GPU caches, register files and small on-chip buffers |
Figures are typical orders of magnitude and vary by process generation and product.