Computer memory, or random access memory (RAM), is fast, short-term memory that holds the data and instructions a computer is actively using. It lets the processor reach open apps, browser tabs, and files almost instantly, and it clears when the power turns off. The type, speed, capacity, and channel setup of RAM all affect how smoothly a computer multitasks.
Memory Essentials at a Glance
RAM holds data for apps and files in use, while storage keeps files long term
DDR5 is the current standard for most new desktops and laptops
Speed is listed in megatransfers per second (MT/s), such as DDR5-5600
16GB suits most users, while creative and technical work benefits from 32GB or more
Installing memory in matched pairs enables dual-channel mode for more bandwidth
How Does RAM Work?
When you open an app or file, the computer copies it from storage into RAM, because RAM is many times faster to read and write. The processor then pulls instructions and data from RAM as it works and writes results back.
RAM is volatile, which means it needs power to hold data. When you shut down the computer, everything in RAM is cleared, which is why you save your work to storage.
If RAM fills up, the operating system moves some data to a reserved area of storage. Storage is much slower than RAM, so the computer can feel sluggish when you have too many apps or tabs open for the amount of memory installed.
RAM | Storage | |
Purpose | Holds data for apps and files in use | Keeps the operating system, apps, and files |
Speed | Much faster | Slower than RAM |
Keeps data without power | No | Yes |
Typical capacity | 8GB to 64GB in most PCs | 256GB to several terabytes (TB) |
RAM is one of the core computer components, and having enough of it is one of the simplest ways to keep a computer responsive.
Types of RAM
Most computers use double data rate (DDR) memory. Each generation is faster and more power-efficient than the last, and generations aren't interchangeable, so a computer supports only the type its processor and motherboard were designed for.
RAM type | Where it's used | What to know |
DDR4 | Older desktops and laptops | Common speeds up to 3200 MT/s |
DDR5 | Most new desktops and laptops | Starts at 4800 MT/s, with higher speeds on newer systems |
LPDDR4X and LPDDR5/LPDDR5X | Thin laptops and compact devices | Low-power DDR (LPDDR) memory, usually soldered, often with high speeds |
RAM form factors
Dual inline memory module (DIMM): A full-size memory module used in desktops. Learn more about desktop memory and storage.
Small outline DIMM (SO-DIMM): A smaller module used in many laptops, mini PCs, and all-in-ones.
Soldered memory: Memory chips attached directly to the motherboard. It saves space and power in thin laptops but can't be upgraded later. Learn more about laptop memory and storage.
If your computer uses soldered memory, choose enough capacity at purchase, since you won't be able to add more later.
RAM Speed and Latency
RAM speed in MT/s
RAM speed is listed in megatransfers per second (MT/s), the number of data transfers the memory makes each second. A label like DDR5-5600 means DDR5 memory running at 5600 MT/s. You'll sometimes see this written as MHz, but MT/s is the more accurate measure for DDR memory, which transfers data twice per clock cycle. Faster memory helps most with integrated graphics, gaming, and data-heavy apps.
CAS latency
Column address strobe (CAS) latency, or CL, is the delay, in clock cycles, between when memory receives a request and when the data is ready. A lower CL number is better at the same speed. Because faster memory runs more cycles per second, a higher CL at a higher speed can deliver similar real-world latency to a lower CL at a lower speed.
Does RAM speed matter?
For everyday tasks, having enough RAM matters more than having the fastest RAM. Speed makes a bigger difference for systems with integrated graphics, which use system memory for graphics, and for gaming and creative work. Your memory can only run as fast as the processor and motherboard support, so faster modules may run at a lower speed in an older system.
How Much RAM Do You Need?
How you use your computer | Recommended RAM |
Browsing, email, and documents | 8GB to 16GB |
Everyday home, school, and office multitasking | 16GB |
Gaming | 16GB to 32GB |
Photo and video editing | 32GB or more |
3D design, engineering, data science, and virtual machines | 32GB to 64GB or more |
AI features are another reason to aim higher, since Copilot+ PCs require at least 16GB of RAM. For a detailed breakdown, read how much RAM you need for every use.
Single-Channel vs. Dual-Channel Memory
A memory channel is a pathway between the RAM and the processor's memory controller. Using more than one channel at once increases memory bandwidth, the amount of data that can move each second.
Configuration | How it's set up | Effect |
Single channel | One module, or modules in the same channel | Lowest bandwidth |
Dual channel | Matched modules in two channels, such as 2 x 8GB | About double the bandwidth of single channel |
Quad channel and more | Four or more channels on some workstation platforms | More bandwidth for heavy professional workloads |
Dual channel helps most with integrated graphics, gaming, and data-heavy work. To use it, install matching modules in the slots your motherboard manual recommends. On a spec sheet, "16GB (2 x 8GB)" indicates dual channel, while "16GB (1 x 16GB)" indicates single channel with room to add a second module.
ECC Memory
Error-correcting code (ECC) memory detects and fixes certain data errors automatically. It's used in workstations and servers, where long calculations and critical data make reliability especially important. ECC requires a processor and motherboard that support it. Most home and office computers use standard non-ECC memory. DDR5 includes on-die error correction inside each chip, but that isn't the same as full ECC memory. Learn more about workstations.
How to Choose or Upgrade RAM
Check what your computer supports: Find the memory type, maximum capacity, number of slots, and supported speeds in your product's specifications or service documentation.
Check how it's installed now: Look for free slots, or whether the memory is soldered and can't be upgraded.
Match the type and form factor: DDR4 and DDR5 aren't interchangeable, and desktops and laptops use different module sizes.
Install matched pairs for dual channel: Use modules with the same capacity and speed.
Plan ahead on systems with soldered memory: Choose enough RAM at purchase.
To see how much memory you have now, learn how to check your PC's specs. For upgrade steps, see our guide to desktop upgrades.
Frequently Asked Questions About Memory (RAM)
Is 8GB of RAM enough?
8GB of RAM is enough for light tasks like browsing, email, and documents with a few apps open. 16GB is a better choice for most people, because it handles multitasking, video calls, and many browser tabs more smoothly and stays useful longer.
Can you mix DDR4 and DDR5 RAM?
DDR4 and DDR5 RAM can't be mixed. They use different slots and connections, and a computer supports only the memory type its processor and motherboard were designed for.
Does faster RAM improve performance?
Faster RAM improves performance most for computers with integrated graphics, for gaming, and for data-heavy creative work. For everyday tasks, having enough RAM makes a bigger difference than having faster RAM.
What happens when a computer runs out of RAM?
When a computer runs out of RAM, it moves some data to storage, which is much slower. Apps may respond slowly, switching between them can lag, and the computer can feel sluggish until memory is freed or more RAM is added.
Related Components Topics
Computer components: the main parts of a computer and how they work together
Storage: SSDs, HDDs, NVMe, SATA, and M.2
Processors (CPU): cores, threads, clock speed, and generations
Motherboards: chipsets, sockets, form factors, and expansion slots