When a computer has been used for a long time and becomes slow, when you are preparing to upgrade the memory, or when you want to check the specs of a second-hand computer you are buying, many people’s first reaction is: where do I see the computer’s memory? In fact, Windows, macOS, and Linux all have built-in tools; they just have different entry points. More importantly, the “available memory” you see is not equal to the “installed memory.” The former is affected by system usage, integrated graphics sharing, and virtual memory.

This article explains the common methods for checking computer memory by operating system, including Task Manager, System Information, About This Mac, Activity Monitor, and terminal commands. After reading it, you will be able to understand memory capacity, speed, model, slot usage, and current usage, and also make a preliminary judgment about whether you need to add memory.

Windows: How to check computer memory

The most intuitive method in Windows is Task Manager. Press Ctrl + Shift + Esc to open Task Manager, click the “Performance” tab, and then click “Memory” on the left. Here you can see installed capacity, speed, slots used, in use, available, committed, and other information. If you only want to quickly see the total amount, this page is already enough.

To see more complete device specifications, you can open “Settings > System > About” and check “Installed RAM” under “Device specifications.” The wording of the entry point differs slightly between Windows 10 and Windows 11, so refer to the actual system version you are using. What is shown here is the total capacity recognized by the system, but it usually does not show the speed and brand of each memory module.

If you need to see detailed information about each memory module, you can use System Information or the command line. Press Win + R, type msinfo32, and press Enter. In “System Summary,” find “Installed Physical Memory (RAM).” If you want to see speed, manufacturer, and slot, you can use PowerShell:

Get-CimInstance Win32_PhysicalMemory | Select-Object BankLabel, Capacity, Speed, Manufacturer, PartNumber

The unit of Capacity is bytes; divide by 1073741824 to get GB. Older versions of Windows can also use the CMD command:

wmic memorychip get BankLabel,Capacity,Speed,Manufacturer,PartNumber

If wmic says it is unavailable, it means that tool has been deprecated in your system version; just use the PowerShell command above instead.

macOS: Where to see computer memory

On macOS, click the Apple menu in the upper-left corner and choose “About This Mac” to directly see an overview of the memory. To view more detailed information, click “More Info” or “System Report,” then go to “Hardware > Memory.” Intel models usually show memory slots, speed, and type; Apple silicon models use unified memory and usually cannot be upgraded by the user later, so refer to the actual model.

If you want to know the current memory usage, open “Activity Monitor” and switch to the “Memory” tab. Here you can see memory used, cached, swap, and memory pressure. If memory pressure remains yellow or red for a long time, it means physical memory is relatively tight; green generally means it is sufficient. Note that “swap” does not mean bad memory; it is simply a mechanism by which the system temporarily puts some data on the drive.

The terminal can also check memory capacity. Open “Terminal” and enter:

sysctl hw.memsize

The return value is the number of bytes; divide by 1073741824 to get GB. To view memory hardware information, use:

system_profiler SPMemoryDataType

Apple silicon models may display less content; this is normal.

Linux: Where to see computer memory and commands to check computer memory

On the Linux graphical interface, you can open “Settings > About,” or use System Monitor to view total memory and usage. On servers or in environments without a desktop, you mainly rely on the terminal. The most commonly used command is:

free -h

It displays total, used, free, shared, buff/cache, and available. available better represents “how much memory can still be used by new programs” than free. To view lower-level information, run:

cat /proc/meminfo

To view the slot, speed, manufacturer, and serial number of each memory module, root privileges are required:

sudo dmidecode -t memory

You can also use:

sudo lshw -class memory

If Linux is running in a virtual machine, dmidecode may only show the information allocated by the virtual machine, not necessarily the real hardware of the physical machine.

Do not confuse capacity, available memory, and virtual memory

“Installed memory” is how much memory is actually plugged into the motherboard; “available memory” is the part that the operating system and running programs can still temporarily call on. Windows reserves some memory for hardware, and integrated graphics also share some, so it is common for 8 GB of memory to show around 7.8 GB. A 32-bit system can generally recognize only about 4 GB at most, and the excess cannot be used directly.

Virtual memory is a page file on the drive, used to temporarily substitute when physical memory is insufficient. It is far slower than memory and cannot be treated as real memory capacity. Memory speed is not simply better the higher it is; it also depends on whether the motherboard and CPU support it. Before adding memory to a laptop, confirm whether it is DDR4 or DDR5, and whether it is standard memory or SO-DIMM.

Common questions and troubleshooting suggestions

If Task Manager only shows total capacity and cannot show information for each module, you can switch to PowerShell, msinfo32, or dmidecode. If the displayed capacity is less than expected, first check the system bit version, integrated graphics usage, and hardware reservation, then check whether the memory module is seated firmly and whether the slot is faulty. If you suspect memory errors, Windows users can run mdsched.exe to open “Memory Diagnostics Tool” and restart to test as prompted; the process may take a long time.

Before opening the case and inserting or removing memory, be sure to shut down and unplug the power. For laptops, disconnect the battery if possible, and take anti-static precautions. Back up important data before upgrading, and confirm the motherboard’s maximum supported capacity and per-slot limit. For daily prevention, you can regularly check memory usage, reduce startup programs, and avoid keeping too many browser tabs open for long periods. If usage is often close to full, then consider adding memory rather than blindly using “memory optimization” software.