| Samsung Galaxy M40 | Samsung Galaxy M04 | |
| Specifications | ||
| Brand | Samsung | Samsung |
| Model | - | - |
| Release Date | June 2019 | December 2022 |
| Operating System | One UI (Android 9.0) | One UI (Android 12) |
| Dimensions | ||
| Size | 155.3 x 73.9 x 7.9 mm 6.11 x 2.91 x 0.31 in |
164.2 x 75.9 x 9.1 mm 6.46 x 2.99 x 0.36 in |
| Weight | 168 g 5.93 oz |
188 g 6.63 oz |
| Screen | ||
| Size | 6.3 inches | 6.5 inches |
| Resolution | 1,080 x 2,340 pixels | 720 x 1,600 pixels |
| PPI | 409 | 270 |
| Features | - | - |
| Cameras | ||
| Rear | Triple camera 32 MP f/1.7 Wide 8 MP f/2.2 Ultra Wide 5 MP f/2.2 Depth |
Dual camera 13 MP f/2.2 Wide 2 MP f/2.4 Depth |
| Front | 16 MP f/2.0 Wide | 5 MP f/2.2 |
| Storage | ||
| Memory | 4 GB 6 GB |
4 GB |
| Fixed | 64 GB 128 GB |
64 GB 128 GB |
| Removable | microSDXC | microSDXC |
| Processor | ||
| Chip | Qualcomm Snapdragon 675 SM6150 Octa-core processor 11 nm |
MediaTek Helio P35 Octa-core processor 12 nm |
| CPU | 2x 2.00 GHz Kryo 460 Gold 6x 1.70 GHz Kryo 460 Silver |
4x 2.35 GHz Cortex-A53 4x 1.80 GHz Cortex-A53 |
| GPU | Adreno 612 | PowerVR GE8320 |
| Battery | ||
| Capacity | 3,500 mAh | 5,000 mAh |
| Features | Fast charging 15W | Fast charging 15W |
| Removable | ||
| Connectivity | ||
| 5G | ||
| NFC | ||
| 3.5 mm Audio Jack | ||
| Micro USB | ||
| USB Type-C | ||
| Lightning | ||