- Home
- Technology
- How a computer works
- Memory and storage
Memory vs storage
Why a computer has two places to put things, and why one forgets when you switch off.
The short version
Memory, or RAM, is where a computer keeps what it is working on right now. It is very fast and loses everything when the power goes off. Storage is where files are kept for good. It is slower, but it remembers. It builds on how a computer works.
I always thought memory and storage were two words for the same thing.
They are two different jobs.
It is a desk and a filing cabinet.
Desk and filing cabinet
Memory
Fast to reach, small, and cleared when you leave.
Storage
The filing cabinetSlower to reach, much bigger, and keeps everything.
Why not one big fast store
The processor is so fast that it must have its data close by. Memory can keep up with it. Storage cannot, but it is far cheaper per gigabyte and does not need power to remember. Having both gives you speed where it counts and space where it is cheap.
When you open a program, the computer copies it from storage into memory, so that it can run quickly. When you save, it copies your work back to storage. This is why unsaved work is lost in a power cut: it only existed in memory.
When memory runs out
If you open more than fits in memory, the computer borrows some storage as extra memory. This works, but storage is much slower, so everything starts to drag. That is why a computer with too little memory feels slow while a computer with plenty of storage but little memory does too.
Hard drives and SSDs explains how storage itself works.
Key takeaways
- Memory holds what is being used now.
- Storage keeps files while the power is off.
- Memory is fast, small and forgets.
- Storage is slower, bigger and remembers.
Now you know.
Memory is the desk.
Storage is the cabinet.
Unsaved work lives only on the desk.
Last reviewed 3 Nov 2026