Dynamic RAM is the temporary workspace your computer uses while it's running

Dynamic Random Access Memory, or DRAM, is the fast, temporary storage your computer uses to hold the information it's actively working on right now. When you open a web browser, edit a document, or run any program, that program and its data sit in DRAM while you use it. The moment you shut down your computer, everything in DRAM vanishes — it doesn't save to disk the way files do.

The word "dynamic" describes how DRAM works: it stores information in tiny capacitors that hold an electrical charge, but that charge leaks away constantly. Your computer has to refresh these capacitors thousands of times per second, recharging them to keep the data intact. This constant refreshing is why it's called "dynamic" — the memory is always in motion, always being recharged.

DRAM is different from the storage drive (your hard drive or SSD) that holds your files permanently. Your drive is like a filing cabinet where documents stay until you delete them. DRAM is like your desk — it holds only what you're working on right now, and it clears when you leave.

Key Takeaways

  • DRAM is temporary memory that your computer uses while programs are running, and it empties completely when you shut down.
  • DRAM is much faster than your storage drive, which is why your computer uses it instead of reading everything from disk.
  • The amount of DRAM you have (measured in gigabytes) limits how many programs you can run smoothly at the same time.
  • DRAM requires constant electrical power to hold its data, so it cannot store information when your computer is off.

Why DRAM is faster than your storage drive

Your storage drive — whether it's a traditional hard drive or a solid-state drive — is designed to hold data permanently and reliably. That design makes it slower. Reading from a drive involves mechanical movement (in a hard drive) or waiting for the drive's controller to find and retrieve data (in an SSD). Both take time.

DRAM is built for speed instead. It's located directly on your computer's motherboard, right next to the processor, so data travels between them in nanoseconds. Your processor can read from DRAM and write to DRAM far faster than it can access your storage drive. This speed difference is enormous — DRAM access might take nanoseconds, while drive access takes microseconds or milliseconds.

Your computer uses DRAM as a middle layer: it loads the program and data you need from the slow storage drive into fast DRAM, then works with it there. When you're done, it writes the results back to the drive. This is why having more DRAM lets you run more programs at once — you have more of that fast workspace available.

How much DRAM you have and what it means

DRAM capacity is measured in gigabytes (GB). A typical laptop or desktop computer today comes with 8 GB, 16 GB, or 32 GB of DRAM. Each program you run takes up some of that space while it's open. A web browser with several tabs might use 1 to 3 GB. A video editing program might use 4 to 8 GB. Your operating system itself uses some as well.

When you run out of DRAM, your computer uses a trick called virtual memory: it spills the least-used data onto your storage drive temporarily, treating part of the drive like DRAM. This works, but it's much slower than real DRAM because the drive is slower. If you regularly run out of DRAM, your computer will feel sluggish — programs will pause while data moves between DRAM and the drive.

The amount you need depends on what you do. Browsing the web and writing documents works fine on 8 GB. Video editing, 3D rendering, or running many programs at once benefits from 16 GB or more. Gaming performance depends partly on DRAM, though the graphics card matters more.

DRAM vs. other types of computer memory

Your computer actually uses several types of memory, each with a different job. Cache is even faster than DRAM but much smaller — it's built into the processor itself and holds only the data the processor is using right now. DRAM is larger and slightly slower, holding the active program and its data. Your storage drive is much larger and much slower, holding everything permanently.

There's also VRAM (video RAM), which is similar to DRAM but lives on your graphics card instead of your motherboard. It holds image data that the graphics card is actively rendering. And there's ROM (read-only memory), which your computer uses to store the firmware that runs when you first turn it on — it doesn't change and doesn't need refreshing.

For everyday use, you mainly need to think about DRAM and storage. DRAM is your working memory, and storage is your filing cabinet.

Why DRAM needs power to keep data

Because DRAM stores data in capacitors that leak charge, it needs constant electrical power to refresh that charge. The moment you turn off your computer, the power stops, the capacitors drain, and all the data in DRAM is gone. This is why you lose unsaved work when the power cuts out — DRAM had it, but DRAM lost it.

Your storage drive, by contrast, stores data in a way that doesn't require power. A hard drive uses magnetic patterns on a spinning disk. An SSD uses electrical charges trapped in special cells that hold them even without power. Both keep their data when you shut down.

This is also why your computer needs a battery or uninterruptible power supply (UPS) to stay running during a power outage. Without power, DRAM can't refresh, and your computer stops working — even though your files on the drive are still safe.

How DRAM fits into your computer's performance

DRAM is one piece of your computer's speed. The processor speed, the storage drive speed, and the amount of DRAM all matter. If you have a fast processor but not enough DRAM, the processor will sit idle waiting for data to move between the slow drive and DRAM. If you have plenty of DRAM but a slow processor, the processor becomes the bottleneck.

For most people, having enough DRAM matters more than having the absolute fastest DRAM. Going from 4 GB to 8 GB makes a noticeable difference if you run out of memory often. Going from 8 GB to 16 GB helps if you regularly use memory-heavy programs. Going from 16 GB to 32 GB helps only if you actually use that much.

The speed of DRAM itself — measured in MHz — also affects performance, but the difference between modern DRAM speeds is usually small compared to the difference between having enough DRAM and not having enough.

Frequently Asked Questions

Can I add more DRAM to my computer?

On most desktop computers and many laptops, yes — DRAM modules plug into slots on the motherboard and are relatively easy to replace or add. On some laptops and most tablets and phones, DRAM is soldered directly to the motherboard and cannot be upgraded. Check your computer's manual or manufacturer's website to see if yours is upgradeable.

What happens if I run out of DRAM?

Your computer uses virtual memory, moving data to your storage drive to make room. This is much slower than DRAM, so your computer will slow down noticeably. If you run out of virtual memory too, programs may crash or your computer may freeze.

Does DRAM affect gaming performance?

DRAM affects gaming, but usually not as much as your graphics card does. Most modern games run fine on 8 GB of DRAM. Some newer games or games with high-resolution textures benefit from 16 GB. If you're getting poor frame rates, your graphics card is usually the limiting factor, not DRAM.

Why does my computer slow down over time if I don't restart it?

Programs sometimes develop memory leaks — they ask for DRAM but don't release it when they're done. Over days or weeks, this fills up your DRAM, forcing your computer to use the slow virtual memory on your drive. Restarting clears DRAM completely, freeing up space.

Is DRAM the same as RAM?

RAM stands for Random Access Memory, which is a category that includes DRAM and other types. DRAM is the most common type of RAM in computers today, so people often use "RAM" and "DRAM" interchangeably, though technically DRAM is a specific type of RAM.