Difference between Volatile and Non Volatile Memory

Volatile Memory:

Volatile memory is a kind of memory that holds the information till the computer or device is running on power. But it loses the stored memory when the power supply is turned off.

Non Volatile Memory:

Non-volatile memory is a type of digital memory that does not lose content due to interruption of power or when the power is lost. It is also called permanent memory because the system can retrieve the stored information even after the power is turned off and back on.

Volatile vs Non Volatile Memory:

Volatile Memory
Non Volatile Memory
1. Volatile Memory is a temporary memory1. Non Volatile Memory is a permanent memory
2. It loses the stored memory when the power supply is turned off.2. It doesn't lose stored memory when the power supply is turned off.
3. Data transfer is very easy in this type of memory.3. Data transfer isn't easy this type of memory.
4. Volatile Memory contains less storage4. Non Volatile Memory contains more storage
5. Volatile memory used for read-write purpose5. Non Volatile memory used for only write purpose
6. Here, the processor has the direct access to the data.6. Here, the processor doesn't have the direct access to the data.
7. It is less cost efficient.7. It is more cost efficient.
8. Example: RAM8. Example: ROM