| Samsung Galaxy M40 | Samsung Galaxy S20 | |
| Specifications | ||
| Brand | Samsung | Samsung | 
| Model | - | - | 
| Release Date | June 2019 | March 2020 | 
| Operating System | One UI (Android 9.0) | One UI (Android 10) | 
| Dimensions | ||
| Size | 155.3 x 73.9 x 7.9 mm 6.11 x 2.91 x 0.31 in  | 
                    
                    151.7 x 69.1 x 7.9 mm 5.97 x 2.72 x 0.31 in  | 
                    
                
| Weight | 168 g 5.93 oz  | 
                    
                    163 g 5.75 oz  | 
                    
                
| Screen | ||
| Size | 6.3 inches | 6.2 inches | 
| Resolution | 1,080 x 2,340 pixels | 1,440 x 3,200 pixels | 
| PPI | 409 | 563 | 
| Features | - | OLED, 120Hz | 
| Cameras | ||
| Rear | Triple camera 32 MP f/1.7 Wide 8 MP f/2.2 Ultra Wide 5 MP f/2.2 Depth  | 
                    
                    Triple camera 12 MP f/1.8 Wide 12 MP f/2.2 Ultra Wide 64 MP f/2.0 Telephoto  | 
                    
                
| Front | 16 MP f/2.0 Wide | 10 MP f/2.2 Wide | 
| Storage | ||
| Memory | 4 GB 6 GB  | 
                    
                    8 GB | 
| Fixed | 64 GB 128 GB  | 
                    
                    128 GB | 
| Removable | microSDXC | microSDXC | 
| Processor | ||
| Chip | Qualcomm Snapdragon 675 SM6150 Octa-core processor 11 nm  | 
                    
                    Samsung Exynos 990 Octa-core processor 7 nm  | 
                    
                
| CPU | 2x 2.00 GHz Kryo 460 Gold 6x 1.70 GHz Kryo 460 Silver  | 
                    
                    2x 2.73 GHz Mongoose M5 2x 2.50 GHz Cortex-A76 4x 2.00 GHz Cortex-A55  | 
                    
                
| GPU | Adreno 612 | Mali-G77 MP11 | 
| Battery | ||
| Capacity | 3,500 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 | ||