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.
When to use which
DRAM
When you need a lot of memory at a low cost per bit and can tolerate some latency: main memory in PCs, servers and smartphones, and graphics memory for GPUs.
SRAM
When speed matters most and the capacity can be small: CPU caches, register files, and small buffers where you do not want refresh circuitry.
Together
Real computers use both. A fast SRAM cache holds frequently used data and hides the latency of the slower DRAM.
FAQ
Is SRAM faster than DRAM?
Yes. SRAM holds each bit in a latch of transistors, so on-chip SRAM can be accessed in about a nanosecond. DRAM must first activate a row and takes tens of nanoseconds, which is why SRAM is used for CPU caches.
Why is DRAM cheaper than SRAM?
A DRAM cell needs only one transistor and one capacitor, while an SRAM cell usually needs six transistors. The smaller cell packs far more bits into the same silicon area, which lowers the cost per bit.
Why does DRAM need refresh?
The capacitor in a DRAM cell slowly leaks its charge, so the data must be read and rewritten periodically, typically within 64 ms. SRAM keeps its value as long as power is applied, so it needs no refresh.
Is DRAM or SRAM non-volatile?
Neither. Both lose their data when power is removed. Non-volatile memories such as flash, MRAM and ReRAM keep their data without power.
BIts cells are small and the cost per bit is low, but it needs refresh
CIt retains data when the power is turned off
Show answer and explanation
Answer: B. Its cells are small and the cost per bit is low, but it needs refresh
DRAM's small 1T1C cell (about 6F²) packs roughly 20 times denser than a 6T SRAM cell (about 120–150F²), lowering cost per bit. But DRAM needs refresh, and an access takes tens of ns for row activation and the like, versus about 1 ns for SRAM. Systems therefore use DRAM for main memory and SRAM for CPU caches, building a memory hierarchy that combines their strengths.
A DRAM cell consists of one transistor and one capacitor (1T1C), storing a bit as the presence or absence of charge on the capacitor. The capacitor is tiny—around 10 fF—so 0 and 1 differ by only tens of thousands of electrons. With so few components the cell is small (about 6F²), ideal for high density. Six transistors is the SRAM cell, and a floating-gate transistor is the flash memory cell.
CBecause the charge stored in the capacitor is gradually lost through leakage current
Show answer and explanation
Answer: C. Because the charge stored in the capacitor is gradually lost through leakage current
Charge on the capacitor gradually leaks away through the cell transistor's subthreshold and junction leakage. Refresh reads and rewrites each cell before its data becomes unreadable. In the normal temperature range, every row must be refreshed within 64 ms up to DDR4 and within 32 ms in DDR5, with shorter intervals at high temperature. During refresh, the banks being refreshed (all banks, for an all-bank refresh) cannot be accessed and power is consumed, a burden that grows with capacity. A limit on write cycles is a characteristic of flash memory.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.