Learn how to check RAM using Command Prompt on Windows with our quick, step-by-step guide. Discover RAM size, speed, manufacturer, and full specs using CMD and PowerShell.
Random Access Memory (RAM) is the heartbeat of your computer, determining how efficiently your system handles multitasking, gaming, and heavy applications. Knowing your RAM specifications is not just helpful—it’s essential for troubleshooting performance issues, planning upgrades, and verifying system requirements for demanding software.

At Izoate Tech, we walk you through every method, ensuring you gain full control and understanding of your system memory.
Whether you’re using Windows 10 or 11, this guide covers Command Prompt (CMD) and PowerShell, offering deep insights beyond the standard Task Manager or System Properties views.
Why You Should Check RAM with CMD or PowerShell
Understanding your RAM goes beyond knowing “how much is installed.” Here’s why it’s crucial:
- Confirm Software Requirements: Check if your PC meets RAM needs for software, games, or professional tools.
- Plan Smart Upgrades: Avoid buying incompatible modules by knowing exact capacity, speed, and type.
- Troubleshoot Performance Issues: Identify memory bottlenecks affecting multitasking or application performance.
- Verify Technical Details: Access information like manufacturer, serial number, form factor, and module speed, which standard GUI tools don’t reveal.
While Task Manager or System Properties provide basic data, CMD and PowerShell give raw, precise details that every PC user should know.
Step 1: Open Command Prompt or PowerShell
Before diving into commands:
- Press Windows + R, type
cmd
orpowershell
, and hit Enter. - For comprehensive results, right-click the terminal icon and choose Run as administrator.
Running with elevated privileges ensures full access to memory information, including module-specific data.
Step 2: View Total Installed RAM
To quickly see your system’s total physical memory:
systeminfo | findstr /C:"Total Physical Memory"
- Shows usable memory in MB/GB.
- Example:
Total Physical Memory: 16,384 MB
→ 16 GB. - Important: The reported total may be slightly lower than actual installed RAM, as some memory is reserved for system hardware (e.g., integrated graphics).
PowerShell alternative:
(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory
This provides memory in bytes, which can be converted to GB for clarity.
Step 3: Check RAM Capacity Per Module
For each RAM stick installed:
wmic memorychip get capacity
- Output is in bytes; divide by 1,073,741,824 to get GB.
- Useful for configurations like 2×8GB, 1×16GB, or multiple smaller modules.
PowerShell alternative:
Get-CimInstance Win32_PhysicalMemory | ft DeviceLocator, @{N="Capacity(GB)";E={[math]::round($_.Capacity / 1GB, 2)}}
This generates a clean, readable table showing each slot’s capacity.
Step 4: Identify Manufacturer and RAM Speed
Knowing your RAM brand and speed is essential for matching modules during upgrades.
wmic memorychip get manufacturer, speed
- Manufacturer: Samsung, Kingston, Corsair, etc.
- Speed: Frequency in MHz (e.g., 2666, 3200).
PowerShell alternative:
Get-CimInstance Win32_PhysicalMemory | ft DeviceLocator, Manufacturer, Speed
Step 5: Retrieve Part Number and Serial Number
For warranty, inventory, or module verification:
wmic memorychip get devicelocator, partnumber
wmic memorychip get devicelocator, serialnumber
- DeviceLocator: Shows physical slot location.
- PartNumber & SerialNumber: Confirm exact module specifications.
PowerShell alternative:
Get-CimInstance Win32_PhysicalMemory | ft DeviceLocator, PartNumber, SerialNumber
Step 6: Determine RAM Type and Form Factor
To check type and physical layout:
wmic memorychip get devicelocator, memorytype
wmic memorychip get devicelocator, formfactor
- Memory Type: DDR3, DDR4, DDR5, etc.
- Form Factor: DIMM (desktop) or SO-DIMM (laptop).
Note: These outputs are numeric codes, which are explained below for clarity.
Interpreting Numeric Codes
Memory Type Codes:
Code | Type |
---|---|
24 | DDR3 |
26 | DDR4 |
34 | DDR5 |
Form Factor Codes:
Code | Form Factor |
---|---|
8 | DIMM (Desktop) |
12 | SO-DIMM (Laptop) |
PowerShell alternative:
Get-CimInstance Win32_PhysicalMemory | ft DeviceLocator, MemoryType, FormFactor
This displays module type and form factor in a table format, ready for quick interpretation.
Step 7: Retrieve Full RAM Specifications
For detailed module-level info, including manufacturer, serial, speed, and capacity:
wmic memorychip list full
Or, to focus on key specs:
wmic memorychip get devicelocator, manufacturer, partnumber, serialnumber, capacity, speed, memorytype, formfactor
PowerShell alternative:
Get-CimInstance Win32_PhysicalMemory | ft DeviceLocator, Manufacturer, PartNumber, SerialNumber, @{N="Capacity(GB)";E={[math]::round($_.Capacity / 1GB, 2)}}, Speed, MemoryType, FormFactor
This single command provides a comprehensive view of all installed RAM modules.
Step 8: When to Upgrade Your RAM
Consider upgrading if:
- Multitasking slows down your system.
- Games or applications use large amounts of memory.
- Chrome tabs, video editors, or VMs consistently max out RAM.
Recommended sizes:
- 8 GB: Everyday use, light multitasking
- 16 GB: Gaming and heavier workloads
- 32 GB+: Professional editing, 3D design, virtual machines
Always confirm system compatibility before purchasing new modules.
If your PC starts slowing down during multitasking, gaming, or heavy applications, it’s a clear sign you might need a RAM upgrade. To get the most out of your system, we also recommend checking out our guide on the best CMD commands for gaming performance optimization. Combining these performance tips with your RAM check can give your computer a noticeable boost and keep it running smoothly under demanding workloads.
Quick Reference: CMD & PowerShell Commands
RAM Detail | CMD Command | PowerShell Alternative (Shorthand) |
---|---|---|
Total Installed RAM | `systeminfo | findstr /C:”Total Physical Memory”` |
Capacity per Module | wmic memorychip get capacity | `Get-CimInstance Win32_PhysicalMemory |
Manufacturer & Speed | wmic memorychip get manufacturer, speed | `Get-CimInstance Win32_PhysicalMemory |
Part & Serial Number | wmic memorychip get devicelocator, partnumber / wmic memorychip get devicelocator, serialnumber | `Get-CimInstance Win32_PhysicalMemory |
Memory Type & Form Factor | wmic memorychip get memorytype, formfactor | `Get-CimInstance Win32_PhysicalMemory |
Full Specs | wmic memorychip list full | `Get-CimInstance Win32_PhysicalMemory |
Final Thoughts
Using Command Prompt or PowerShell gives power users and professionals unparalleled insights into RAM, including module-level details not visible in GUI tools.
By following these steps, we can diagnose system performance issues, verify technical details, and plan upgrades confidently. Highlighting module capacity, speed, manufacturer, and form factor ensures that any RAM upgrade or troubleshooting step is precise and informed.
At Izoate Tech, we recommend making this a regular check for your system health—understanding your RAM is not optional; it’s empowering.
Check out our latest posts on the Blog Page!
I’m Vanshika Vampire, the Admin and Author of Izoate Tech, where I break down complex tech trends into actionable insights. With expertise in Artificial Intelligence, Cloud Computing, Digital Entrepreneurship, and emerging technologies, I help readers stay ahead in the digital revolution. My content is designed to inform, empower, and inspire innovation. Stay connected for expert strategies, industry updates, and cutting-edge tech insights.