| Samsung Galaxy A31 | Samsung Galaxy S21 5G | |
| Specifications | ||
| Brand | Samsung | Samsung |
| Model | - | - |
| Release Date | April 2020 | January 2021 |
| Operating System | One UI (Android 10) | One UI (Android 11) |
| Dimensions | ||
| Size | 159.3 x 73.1 x 8.6 mm 6.27 x 2.88 x 0.34 in |
151.7 x 71.2 x 7.9 mm 5.97 x 2.80 x 0.31 in |
| Weight | 185 g 6.53 oz |
169 g 5.96 oz |
| Screen | ||
| Size | 6.4 inches | 6.2 inches |
| Resolution | 1,080 x 2,400 pixels | 1,080 x 2,400 pixels |
| PPI | 411 | 421 |
| Features | OLED | OLED, 120Hz |
| Cameras | ||
| Rear | Quad camera 48 MP f/2.0 Wide 8 MP f/2.2 Ultra Wide 5 MP f/2.4 Macro 5 MP f/2.4 Depth |
Triple camera 12 MP f/1.8 Wide 12 MP f/2.2 Ultra Wide 64 MP f/2.0 Telephoto |
| Front | 20 MP f/2.2 Wide | 10 MP f/2.2 Wide |
| Storage | ||
| Memory | 4 GB 6 GB 8 GB |
8 GB |
| Fixed | 64 GB 128 GB |
128 GB 256 GB |
| Removable | microSDXC | - |
| Processor | ||
| Chip | MediaTek Helio P65 Octa-core processor 12 nm |
Samsung Exynos 2100 Octa-core processor 5 nm |
| CPU | 2x 2.00 GHz Cortex-A75 6x 1.70 GHz Cortex-A55 |
1x 2.90 GHz Cortex-X1 3x 2.80 GHz Cortex-A78 4x 2.20 GHz Cortex-A55 |
| GPU | Mali-G52 MC2 | Mali-G78 MP14 |
| Battery | ||
| Capacity | 5,000 mAh | 4,000 mAh |
| Features | Fast charging 15W | Fast charging 25W |
| Removable | ||
| Connectivity | ||
| 5G | ||
| NFC | ||
| 3.5 mm Audio Jack | ||
| Micro USB | ||
| USB Type-C | ||
| Lightning | ||