RAM is your computer's working memory, not its storage

RAM (Random Access Memory) is the fast, temporary memory your computer uses while it is running. It holds the data and instructions your programs need right now — not the files you save to disk. When you close a program or shut down your computer, everything in RAM disappears. When you turn the computer back on, RAM starts empty again.

Think of RAM as your desk: storage (your hard drive or SSD) is the filing cabinet. You pull out the files you need and spread them across your desk so you can work with them quickly. The bigger your desk, the more files you can have open at once without shuffling papers around. When you are done, you put the files back in the cabinet.

Your computer needs RAM to do anything at all. Even turning on your computer and loading the operating system requires RAM. Every program you open — a web browser, a word processor, a video game — uses RAM to hold the code it is running and the data it is working with.

Key Takeaways

  • RAM is temporary memory that your computer clears every time you shut down, so it is different from storage like a hard drive or SSD.
  • More RAM lets you run more programs at the same time without your computer slowing down, because each program has more space to work.
  • RAM speed is measured in megahertz (MHz) or gigahertz (GHz), and faster RAM can help your computer process information more quickly.
  • You can check how much RAM your computer has in Windows (Settings > System > About) or on a Mac (Apple menu > About This Mac).
  • Adding more RAM is one of the most common upgrades people make to improve computer speed, though it only helps if your computer is actually running out of RAM.

How RAM works when you use your computer

When you open a program, your computer copies it from storage into RAM. The processor then reads instructions from RAM and executes them. If you open a second program, it also loads into RAM. Your processor switches between them so fast that both seem to run at the same time.

RAM is much faster than storage. A modern SSD might read data at 500 megabytes per second. RAM reads data at tens of gigabytes per second — roughly 50 to 100 times faster. That speed difference is why your computer does not just use storage for everything: it would be too slow.

When RAM fills up, your computer has to use a trick called virtual memory. It moves some data from RAM back to storage temporarily, freeing up space in RAM for new data. This works, but it is much slower than using RAM directly, so your computer slows down noticeably. This is why people say their computer is "lagging" — usually it means RAM is full and virtual memory is being used.

How much RAM you actually need

The amount of RAM you need depends on what you do. A basic web browser and email need about 2 to 4 gigabytes (GB). If you run multiple browser tabs, a word processor, and a few other programs at once, 8 GB is comfortable. Video editing, 3D rendering, or running virtual machines can need 16 GB or more.

Most new computers come with 8 GB or 16 GB. If your computer feels slow and you have many programs open, you might be running out of RAM. You can check how much RAM is in use by opening Task Manager on Windows (press Ctrl+Shift+Esc) or Activity Monitor on Mac (Applications > Utilities > Activity Monitor). If the "Memory" or "Used" column is consistently near the maximum, adding RAM could help.

If you mostly browse the web and use email, adding more RAM will not make your computer faster — it is already fast enough. RAM only helps if your computer is actually running out of it.

RAM speed and type

RAM comes in different speeds, measured in megahertz (MHz) or gigahertz (GHz). Common speeds for modern computers are 3200 MHz, 3600 MHz, or higher. Faster RAM can help your computer process information more quickly, but the difference is usually small — most people notice a bigger speed boost from upgrading storage to an SSD than from upgrading RAM speed.

RAM also comes in different types. DDR4 and DDR5 are the most common types in computers built in the last few years. DDR5 is newer and faster, but DDR4 is still very common and performs well. Your motherboard only accepts one type, so you cannot mix them. If you want to add RAM, you need to match the type your computer already has.

Laptops and desktops use different physical shapes of RAM. Laptops use SO-DIMM (small outline), which is shorter. Desktops use DIMM (dual in-line memory module), which is longer. You cannot put a laptop RAM stick into a desktop, or vice versa.

Checking and upgrading your RAM

On Windows, right-click "This PC" or "My Computer" and select "Properties". You will see "Installed RAM" listed. Or go to Settings > System > About and look for "Installed RAM".

On Mac, click the Apple menu in the top left, select "About This Mac", and you will see "Memory" listed.

If you want to add RAM, you first need to know what type and speed your computer uses. On Windows, you can read a free tool called CPU-Z (from cpuid.com) and open the "Memory" tab. It will tell you the type, speed, and how many slots are free. On Mac, go to Apple menu > About This Mac > Memory, and it will show you what is installed and how many slots are available.

Adding RAM yourself is possible on most desktops — you open the case, line up the stick with the slot, and push down until the clips lock. Laptops are often harder because you have to remove the bottom panel and sometimes disconnect the battery. If you are not comfortable opening your computer, a repair shop can do it for you, usually for $30 to $100 in labor.

RAM versus storage: what is the difference

RAM and storage are often confused because they both hold data, but they do different jobs. RAM is temporary and fast — your computer uses it while programs are running. Storage (a hard drive or SSD) is permanent and slower — it keeps your files even after you shut down.

When you save a document, it goes to storage. When you open that document, your computer copies it into RAM so you can edit it. When you close the document without saving, the copy in RAM disappears, but the original in storage is still there. If you save the document, the changes are written back to storage.

You cannot replace one with the other. A computer needs both. Storage holds everything permanently. RAM makes the computer fast enough to actually use those files.

Why your computer slows down when RAM is full

When RAM is full, your operating system uses virtual memory — it writes some RAM data to storage temporarily. Storage is much slower than RAM, so this makes your computer noticeably slower. You might hear your hard drive clicking or see your SSD light blinking constantly.

If you have a hard drive (not an SSD), this slowdown is severe. If you have an SSD, it is less bad, but still noticeable. The solution is either to close some programs, or to add more RAM so virtual memory is not needed.

Some people think a full hard drive slows down a computer. That is a different issue — a full storage drive can slow down file operations, but it does not directly cause the lag you feel when RAM is full. Both problems exist, but they are separate.

Frequently Asked Questions

Can I add RAM to my laptop?

Most laptops allow RAM upgrades, but some newer models have RAM soldered to the motherboard and cannot be upgraded. Check your laptop model online or open the bottom panel to see if the RAM sticks are removable. If you are unsure, a repair shop can tell you in minutes.

Does more RAM make my computer faster?

Only if your computer is running out of RAM. If you have 8 GB and you rarely use more than 4 GB, adding 16 GB will not make anything faster. If you consistently use 7.5 GB out of 8 GB, adding more RAM will help noticeably.

What happens to RAM when I shut down my computer?

Everything in RAM is erased. When you turn the computer back on, RAM starts empty. This is why you need to save your work to storage — if you close a program without saving, the data in RAM is lost forever.

Is DDR5 RAM worth buying instead of DDR4?

DDR5 is faster, but the real-world speed difference is small for most people. If you are building a new computer, DDR5 might be the only option available for your motherboard. If you are upgrading an older computer, DDR4 is cheaper and performs well.

How do I know if a RAM stick is compatible with my computer?

Check the type (DDR4 or DDR5), speed (MHz), and form factor (DIMM or SO-DIMM) using CPU-Z on Windows or About This Mac on Mac. Buy RAM that matches all three. If you are unsure, bring your computer model number to a computer shop and they can tell you what fits.