What Is RAM? How Much Memory You Need and Why
- 11 views
- 0 likes
- 0 comments
- All languages combined

Sign in and earn +52 points by reading this
Read to the end, wait a few seconds, then tap the claim button below.
In short
RAM (random access memory) is a computer's fast, temporary working memory: it holds the programs and data in use right now, and it is wiped when the power goes off [1]. How much you need depends on what you run at the same time, so check your own memory use before buying more [2][7].
Key takeaways
- RAM is the short-term working memory of a computer or phone; storage, such as an SSD or hard drive, keeps files when the power is off [1].
- Every open app, browser tab and document lives in RAM while you use it, which is why running many things at once needs more of it [1].
- RAM is much faster than storage but holds far less, so the system keeps only what is active in it [1][5].
- When RAM fills up, the system moves or compresses less-used data and borrows slower storage space, which makes everything feel sluggish [4][5][6].
- Microsoft lists 4 GB of RAM as the minimum for Windows 11; that is a floor for installing it, not a comfortable amount for heavy use [2].
- The best guide to how much you need is your own memory pressure or commit charge during a normal busy day [4][7].
- Unused RAM does not speed anything up; more memory helps only when you regularly run short of it [7].
On this page 14 sections
- What is RAM?
- What is RAM on a computer used for?
- What is the difference between RAM and storage?
- How does RAM work?
- What happens when your computer runs out of RAM?
- How much RAM do you need?
- How to check how much RAM you have and how much you use
- What are DDR4, DDR5 and LPDDR memory?
- Does more RAM make a computer faster?
- Where did RAM come from?
- Common mistakes
- Frequently asked questions
- Glossary
- Sources
What is RAM?
RAM, short for random access memory, is the working memory of a computer: a fast area of chips where the processor keeps the code and data it is using at this moment [1].
Stanford University's introductory computing course describes RAM as a whiteboard or scratchpad: temporary working storage under the control of the CPU [1]. When you open a photo, its data is loaded into RAM; when a program runs, its code sits in RAM; when you have many tabs open in a browser, the data for each tab is in RAM [1].
Two features define it:
- It is fast. RAM can retrieve any particular byte in a few nanoseconds, a nanosecond being a billionth of a second [1].
- It is temporary. RAM keeps its contents only while it has power. If the power fails, whatever was in RAM is gone, and you are left with what you last saved to disk [1].
The words random access mean the processor can reach any location directly, in roughly the same time, instead of reading through the data in order. People often just say memory when they mean RAM, and that is how the word is used in this guide.
Microsoft's own explanation for Windows buyers puts it simply: RAM is the computer's quick-access memory, keeping the data you need right now at your fingertips [2].
What is RAM on a computer used for?
RAM holds everything that is active: the operating system, every open app and the documents, pages and images those apps are working on [1][5].
A computer has three main parts that work together: the CPU, which runs instructions; RAM, which holds what is being worked on; and persistent storage, which keeps files for the long term [1]. The CPU cannot work directly on a file sitting in storage. The file is first copied into RAM, the CPU works on it there, and the result is written back to storage when you save [1].
A simple way to picture it:
- Storage is the filing cabinet. It is large and keeps everything, but fetching from it is slow.
- RAM is the desk. It is smaller, but whatever lies on it can be used at once.
- The CPU is the person at the desk. The bigger the desk, the more papers can be open at the same time without walking back to the cabinet.
Phones work the same way. Android's developer documentation describes three types of memory in a device: RAM, which is the fastest but limited in size; a compressed area inside RAM; and storage, which holds the persistent data such as the file system and app code [5]. On Android devices the processor and the graphics chip use the same RAM [5].
This is why the amount of RAM matters most when you multitask. Each extra app, tab or large file adds to what has to fit on the desk at once [1].
What is the difference between RAM and storage?
RAM is fast, temporary and relatively small; storage is slower, permanent and much larger [1].
Both are measured in bytes, and shops often list them side by side, which is why they are easy to mix up. They do different jobs:
- Speed. RAM answers in nanoseconds; storage, even a fast SSD, is much slower [1][5].
- Persistence. Storage keeps its contents when the power is off; RAM does not [1].
- Capacity and cost. Storage is cheaper per byte, so devices have far more of it than RAM [1].
Stanford's course notes that flash storage, the kind used in SSDs, memory cards and phones, has no moving parts and is faster and more reliable than a spinning hard drive, but it is still storage: it keeps files, it does not replace working memory [1].
A common mistake follows from the confusion. Deleting files to free up storage space does not give you more RAM, and adding RAM does not give you more room for photos. If your phone or laptop says it is out of space, the problem is storage. If it slows down when many apps are open, the problem may be RAM. For freeing up space on a phone, see the separate guide "Free Up Storage on iPhone and Android Without Losing Data".
How does RAM work?
Most RAM is dynamic RAM (DRAM): each bit is stored as a tiny electric charge in a capacitor, guarded by a single transistor, and the charge must be refreshed over and over to keep the data [9].
IBM's history of the invention explains the idea. In the mid-1960s, the semiconductor memory Dennard's team was working on used six transistors to store one bit, which took a lot of space and was slow. In 1966 the IBM engineer Robert Dennard worked out how to hold a bit with one transistor, storing it as a positive or negative charge on a capacitor that is refreshed repeatedly by tiny amounts of energy. That repeated refresh is what makes the memory dynamic [9].
Because the stored charge has to be refreshed constantly, DRAM keeps data only while it has power, and it loses everything when the power is cut. That is the physical reason RAM is temporary [1][9].
Operating systems manage RAM in fixed blocks called pages. Android's documentation notes that a page is typically 4 KB, and that each page is either free or in use [5]. Used pages can hold:
- Cached data that is an exact copy of a file in storage, which the system can simply drop and reload later [5].
- Modified data that exists only in RAM, such as a document you have not saved yet, which cannot be dropped without being saved or moved somewhere else first [5].
This split explains why a system can show most of its RAM as in use and still be healthy: much of it may be cache that can be released instantly when an app needs room [5][6].
What happens when your computer runs out of RAM?
When RAM fills up, the system frees space by dropping cached data, compressing memory or moving less-used pages to storage; because storage is much slower, the device feels sluggish, and if all of that is not enough, apps can freeze, crash or be closed [4][5][6].
Windows: the page file
Windows keeps a page file on the drive. It lets the system move rarely used pages out of physical memory so the RAM can serve the pages that are used often [4]. Microsoft calls the total of RAM plus all page files the commit limit, and the memory that programs have been promised the commit charge. If the commit charge reaches the commit limit, the system and programs may not get the memory they ask for, which can cause freezing, crashing and other malfunctions [4].
Mac: compression and swap
Apple's Activity Monitor shows how much memory has been compressed to make more RAM available and how much swap is being used on the startup disk to move data to and from RAM [6]. When a Mac gets close to its maximum memory, inactive apps are compressed first [6].
Phones: compression and closing apps
Android compresses some pages into a special area of RAM. If free memory still falls below a threshold, the low-memory killer starts closing processes, beginning with background apps you are not using and leaving system processes until last [5]. That is why an app you left in the background may restart from the beginning when you return to it.
In every case the warning sign is the same: the device slows down when many things are open and recovers when you close some of them. For other causes of a slow PC, see the separate guide "Why Is My Computer So Slow? Common Causes and Safe Fixes".
How much RAM do you need?
You need enough RAM for everything you run at the same time on a normal busy day, plus some headroom; the operating system's minimum is only the floor [2][4][7].
There is no single right number, because the answer depends on your own mix of apps. The official figures give useful anchors:
- Floor. Microsoft lists 4 GB of RAM as a minimum requirement for installing Windows 11 [2]. A computer at the minimum can run the system, but it has little room left for many tabs and apps at once.
- Feature tiers. As of 2026, Microsoft requires 16 GB of RAM for the class of Windows 11 PCs it calls Copilot+ PCs, and says devices with less are not in that class [2].
- Ceilings. Windows 11 Home supports up to 128 GB of physical memory, while Windows 11 Pro supports up to 2 TB [3]. A 32-bit version of Windows 10 can use at most 4 GB, whatever is installed [3].
For your own needs, think in terms of what you keep open at once:
- List your heaviest normal day. Count the browser tabs, office files, chat and video calls, photo or video editors and games you have open together.
- Check the requirements. Demanding software and games publish minimum and recommended RAM figures; plan for the recommended figure of the most demanding one, not the minimum.
- Measure before you buy. On a computer you already own, watch the memory figures during that busy day, as described in the next section [4][6][7].
- Leave headroom. Some computers cannot have memory added later, so a little extra at purchase time can extend a device's useful life [7].
If you are comparing prices, note that memory prices rise and fall with the market; that topic is covered in the separate guide "RAM Shortage: Why Memory Prices Are Soaring".
How to check how much RAM you have and how much you use
Windows shows memory in Task Manager, a Mac shows it in Activity Monitor, and on both the key sign is not how full RAM is but whether the system is under pressure [4][6][7].
On Windows
- Open Task Manager, go to the Performance tab and choose Memory to see how much RAM is installed and how much is in use.
- Compare the commit charge with the commit limit. Microsoft explains that both can be measured on the Performance tab of Task Manager; a commit charge that stays close to the limit means the system is short of memory [4].
- Look at the Processes tab to see which apps use the most memory, and close what you do not need.
On a Mac
- Open Activity Monitor and click Memory [7].
- Read the Memory Pressure graph. Apple's guidance is clear: green means the Mac is using its RAM efficiently, yellow means it might eventually need more RAM, and red means it needs more RAM [7].
- Check Swap Used. It shows how much of the startup disk is being used to swap data to and from RAM; a large figure means RAM is regularly overflowing [6].
- To see whether memory can be added, open System Information, choose Memory under Hardware and look for Upgradeable Memory. If the Memory Slots pane does not appear, the memory cannot be upgraded [7].
Do not be alarmed by a high used number on its own. Apple points out that free or unused memory does not necessarily improve performance, because the system gets the best results by using and managing all of its memory, including cached files [7][6].
What are DDR4, DDR5 and LPDDR memory?
DDR4 and DDR5 are generations of the standard memory used in most PCs, and LPDDR is the low-power family used in phones and other mobile devices; all of them are defined by JEDEC, the standards body of the microelectronics industry [8].
DDR stands for double data rate, and each new generation is a separate standard. JEDEC's DDR5 standard, JESD79-5, defines the features, timing and electrical characteristics of DDR5 chips, and its current version covers chips from 8 Gb to 32 Gb each, gigabits rather than gigabytes [8]. JEDEC notes that DDR5 was built on the DDR4 standard and on parts of the earlier DDR, DDR2, DDR3 and LPDDR4 standards [8]. Low-power memory has its own line of JEDEC standards [8].
What this means for a buyer:
- Generations do not mix. A computer is designed for one memory standard, so check the exact type in the maker's specifications or manual before buying modules.
- Enough capacity comes first. For everyday use, having enough RAM usually matters more than its generation, because running out forces the system onto much slower storage [4][5].
- Not every device can be upgraded. Some computers have slots for extra modules; others, including phones, do not, so the RAM you buy with them is the RAM you keep. Apple's tools, for example, tell you plainly whether a Mac has upgradeable memory [7].
Microsoft's Copilot+ PC requirement, for instance, names both DDR5 and LPDDR5 memory, showing that both families are used in laptops [2].
Does more RAM make a computer faster?
More RAM makes a computer faster only if it was running short of memory; once there is enough, extra RAM sits unused and changes nothing [7].
Microsoft says that with more RAM a PC can handle multiple tasks more smoothly [2]. The key word is multiple. If your computer has plenty of free memory during your busiest work, adding more will not make a single app open faster, a game run at a higher frame rate or a web page load sooner. Apple makes the same point from the other side: having free or unused memory does not necessarily improve performance [7].
More RAM does help when:
- Windows shows the commit charge often near the commit limit, or the drive is constantly busy with paging [4].
- A Mac's Memory Pressure graph is often yellow or red, or swap keeps growing [6][7].
- Apps in the background on a phone keep restarting from scratch, a sign the system is closing them to free memory [5].
When those signs are absent, a slow computer usually has a different cause, such as a nearly full drive, too many startup apps or an ageing hard disk. The processor, the storage and the graphics chip all affect speed as well, and RAM is only one part of the picture [1].
Where did RAM come from?
Computer memory moved from cathode-ray tubes and magnetic cores to semiconductor chips; IBM received the patent for Robert Dennard's DRAM in 1968 [9][10].
The Computer History Museum dates the first high-speed, fully electronic memory to 1947, when Freddie Williams and Tom Kilburn at Manchester University tested a memory built on a cathode-ray tube [10]. Magnetic core memory then became the main memory technology of computers well into the 1970s [10].
Semiconductor chips replaced it. In 1970 IBM introduced the System/370 Model 145, its first computer with all-semiconductor main memory [10]. Dennard's idea was patented in 1968, and DRAM came into wide use in 1970, when Intel built a successful 1-kilobit DRAM chip using a three-transistor cell, and its simplicity, low cost and low power made the earlier magnetic technologies obsolete almost at once [9]. The Computer History Museum notes that the Intel 1103 chip marked the beginning of the end for magnetic core memory [10].
The basic principle of a charge held in a capacitor and refreshed again and again is still how the DRAM in modern computers, servers, game consoles and phones stores data [9].
| Feature | RAM (memory) | Storage (SSD or hard drive) |
|---|---|---|
| Main job | Holds what is in use right now | Keeps files and apps for the long term |
| Speed | Very fast; any byte in nanoseconds | Much slower than RAM |
| When power is off | Contents are lost | Contents are kept |
| Typical size | Smaller | Much larger |
| Cost per byte | Higher | Lower |
| Sign it is too small | Slowdowns with many apps or tabs open | "Storage full" warnings |
| Figure | Amount | Source |
|---|---|---|
| Minimum RAM to install Windows 11 | 4 GB | Microsoft |
| RAM required for Copilot+ PCs (as of 2026) | 16 GB | Microsoft |
| Maximum RAM, Windows 11 Home | 128 GB | Microsoft Learn |
| Maximum RAM, Windows 11 Pro | 2 TB | Microsoft Learn |
| Maximum RAM, 32-bit Windows 10 | 4 GB | Microsoft Learn |
Common mistakes
Confusing RAM with storage.
Fix: RAM is working memory that empties when the power is off; storage keeps your files. Freeing disk space does not add RAM [1].
Buying a computer with only the minimum RAM.
Fix: The minimum is the floor for installing the system, not for comfortable multitasking; plan for your busiest normal day [2].
Worrying because most RAM shows as used.
Fix: Systems fill spare memory with cache they can release at once; look at memory pressure or commit charge instead [5][7].
Expecting more RAM to fix every slowdown.
Fix: Extra memory helps only when you run short; check the memory figures first [7].
Buying memory modules without checking the type.
Fix: Each generation is a separate standard; check the exact type in your device's specifications [8].
Assuming any laptop can be upgraded later.
Fix: Check whether the device has upgradeable memory before you buy it [7].
Frequently asked questions
What is RAM on a computer?
It is the computer's fast working memory, where the processor keeps the programs and data in use at the moment; it empties when the power is turned off [1].
What does RAM stand for?
Random access memory: the processor can reach any location directly instead of reading through the data in order [1].
Is RAM the same as storage?
No. RAM holds what is active and is temporary; storage such as an SSD keeps files permanently and is much larger and slower [1].
Does RAM get erased when you turn off the computer?
Yes. RAM keeps its contents only while it has power, which is why unsaved work is lost in a power cut [1].
How much RAM do I need?
Enough for everything you run at the same time on a busy day, with some headroom; check your memory pressure or commit charge and the recommended figures of your most demanding apps [2][4][7].
What is virtual memory?
It is the system's way of extending RAM with space on the drive, such as the Windows page file or macOS swap; it works but is much slower than real RAM [4][6].
Is more RAM always better?
Only up to the point where you stop running short; beyond that, unused memory does not improve performance [7].
Why do phone apps restart when I switch back to them?
When free memory runs low, Android closes background apps first to make room, so they have to start again [5].
Glossary
- RAM
- Random access memory, the fast and temporary working memory of a device [1].
- DRAM
- Dynamic RAM, which stores each bit as a charge in a capacitor that must be refreshed [9].
- Storage
- Persistent memory, such as an SSD or hard drive, that keeps data without power [1].
- Commit charge
- In Windows, the total memory promised to programs; its maximum is the commit limit [4].
- Memory pressure
- On a Mac, a measure of how well memory is meeting demand [6].
- DDR
- Double data rate, the family of JEDEC memory standards used in most computers [8].
Sources
- Computer Hardware (CS101 course notes) Stanford University, CS101
- Windows 11 specifications and system requirements Microsoft
- Memory Limits for Windows and Windows Server Releases Microsoft Learn · 2025-06-11
- Introduction to the page file Microsoft Learn · 2026-02-12
- Overview of memory management Android Developers (Google) · 2026-09-21
- View memory usage in Activity Monitor on Mac Apple Support
- Check if your Mac needs more RAM in Activity Monitor Apple Support
- DDR5 SDRAM standard JESD79-5D JEDEC Solid State Technology Association
- Dynamic random-access memory (DRAM) IBM Heritage
- Timeline of Computer History: Memory and Storage Computer History Museum
Comments
Top comments