| Apple iPhone XR | Samsung Galaxy A40 | |
| Specifications | ||
| Brand | Apple | Samsung |
| Model | A1984, A2105, A2106, A2107, A2108 | - |
| Release Date | October 2018 | April 2019 |
| Operating System | iOS 12 | One UI (Android 9.0) |
| Dimensions | ||
| Size | 150.9 x 75.7 x 8.3 mm 5.94 x 2.98 x 0.33 in |
144.4 x 69.2 x 7.9 mm 5.69 x 2.72 x 0.31 in |
| Weight | 194 g 6.84 oz |
140 g 4.94 oz |
| Screen | ||
| Size | 6.1 inches | 5.9 inches |
| Resolution | 828 x 1,792 pixels | 1,080 x 2,340 pixels |
| PPI | 326 | 437 |
| Features | - | OLED |
| Cameras | ||
| Rear | 12 MP f/1.8 Wide | Dual camera 16 MP f/1.7 Wide 5 MP f/2.2 Ultra Wide |
| Front | Dual camera 7 MP f/2.2 Standard SL |
25 MP f/2.0 Wide |
| Storage | ||
| Memory | 3 GB | 4 GB |
| Fixed | 64 GB 128 GB 256 GB |
64 GB 128 GB |
| Removable | - | microSDXC |
| Processor | ||
| Chip | Apple A12 Bionic Hexa-core processor 7 nm |
Samsung Exynos 7904 Octa-core processor 14 nm |
| CPU | 2x 2.49 GHz Vortex 4x 1.52 GHz Tempest |
2x 1.80 GHz Cortex-A73 6x 1.60 GHz Cortex-A53 |
| GPU | Apple-designed four-core | Mali-G71 MP2 |
| Battery | ||
| Capacity | 2,942 mAh | 3,100 mAh |
| Features | Fast charging 15W | Fast charging 15W |
| Removable | ||
| Connectivity | ||
| 5G | ||
| NFC | ||
| 3.5 mm Audio Jack | ||
| Micro USB | ||
| USB Type-C | ||
| Lightning | ||