There’s a simple check to see which Raspberry Pi version is sitting on the desk in front of you.
To check which RAM version you have, you can:
Method 1: Check via Terminal
Open a terminal on your Raspberry Pi.
Run the following command:
bashCopyEditfree -h
This will display the total available RAM.
Alternatively, use:
bashCopyEditcat /proc/meminfo | grep MemTotal
If it shows around 2,000,000 kB, you have 2GB RAM.
If it shows around 4,000,000 kB, you have 4GB RAM.
If it shows around 8,000,000 kB, you have 8GB RAM.
Method 2: Check on the Board Itself
Look at the Raspberry Pi board.
The RAM chip has a code that can help identify the capacity.
o identify the RAM size of your Raspberry Pi 4 based on the chip marking, check the text on the LPDDR4 RAM chip, which is the large black chip near the center of the board.
Here are the common RAM markings and their corresponding sizes:
The Raspberry Pi 4 is currently available in 1 GB, 2GB, 4GB and 8GB variants.
RAM Size (Bytes) | RAM Size (bit) | Memory Type | Chip Marking | Manufacturer |
---|---|---|---|---|
1 GB | 8 Gb (Giga bit) | 3200 MHz LPDDR4 | K4F8E30 4HBMGCJ | Micron |
2 GB | 16 Gb (Giga bit) | 3200 MHz LPDDR4 | 9LD77 part#: D9WHZ | Micron |
4 GB | 32 Gb (Giga bit) | 3200 MHz LPDDR4 | 9FD77 part#: D9WHV | Micron |
8 GB | 64 Gb (Giga bit) | 3200 MHz LPDDR4 | OAA47 part#: D9ZCL | Micron |
The Raspberry Pi 5 is currently available in 1 GB, 2GB, 4GB, 8GB and 16GB variants.
RAM Size (Bytes) | RAM Size (bit) | Memory Type | Chip Marking | Manufacturer |
---|---|---|---|---|
1 GB | 8 Gb (Giga bit) | 3200 MHz LPDDR4 | Micron | |
2 GB | 16 Gb (Giga bit) | 3200 MHz LPDDR4 | Micron | |
4 GB | 32 Gb (Giga bit) | 3200 MHz LPDDR4 | D9ZQX | Micron |
8 GB | 64 Gb (Giga bit) | 3200 MHz LPDDR4 | D9ZQP | Micron |
16 GB | 128 Gb (Giga bit) | 3200 MHz LPDDR4 | Micron |
Many of the Raspberry PI RAM parts are made by Micron.
You can use this tool to decode Micron BGA markings.
Once you have the part number you can find the respective part page.
Comparison of RAM Parameters: Raspberry Pi 4 vs. Raspberry Pi 5
Feature | Raspberry Pi 4 | Raspberry Pi 5 |
---|---|---|
Memory Type | LPDDR4-3200 | LPDDR4X-4267 |
Clock Speed | 3200 MT/s | 4267 MT/s |
Voltage | 1.1V – 1.2V | 0.6V |
Chip Manufacturer | Micron | Micron |
Memory Bandwidth | Lower | Higher (better performance) |
Key Differences:
Faster RAM – Raspberry Pi 5 uses LPDDR4X-4267, which is 33% faster than LPDDR4-3200 on the Pi 4.
Lower Power Consumption – LPDDR4X operates at 0.6V vs. 1.1V-1.2V on LPDDR4, making Pi 5 more power-efficient.
Better Performance – Higher memory bandwidth on Pi 5 improves multitasking, graphics, and data-intensive tasks.
3200 MHz / 3200 MT/s → The memory transfer speed, meaning it can transfer 3200 million data transfers per secondper data pin.