Compare Samsung Galaxy M40 vs Samsung Galaxy S8

Specifications
Key Specifications
Display Size 6.3 inches 5.8 inches
Operating System Android 9.0 (Pie); One UI Android 7.0 (Nougat), upgradable to Android 8.0 (Oreo)
RAM 128GB 6GB RAM 4 GB RAM
Rear Camera 32MP 12 MP
Battery Capacity Non-removable Li-Po 3500 mAh battery Non-removable Li-Ion 3000 mAh battery (11.55 Wh)
General Features
Release Date 2019, June 2017, March
SIM Support Hybrid Dual SIM (Nano-SIM, dual stand-by) Single SIM (Nano-SIM) or Hybrid Dual SIM (Nano-SIM, dual stand-by)
Phone Dimensions 6.11 x 2.91 x 0.31 in 5.86 x 2.68 x 0.31 in
Phone Weight 168 g 155 g
Operating System Android 9.0 (Pie); One UI Android 7.0 (Nougat), upgradable to Android 8.0 (Oreo)
Display
Screen Size 6.3 inches 5.8 inches
Screen Resolution 1080 x 2340 pixels 1440 x 2960 pixels
Screen Type PLS TFT capacitive touchscreen, 16M colors Super AMOLED capacitive touchscreen, 16M colors
Screen Protection Corning Gorilla Glass (unspecified) Corning Gorilla Glass 5
Memory
Internal Memory 64GB 64 GB
RAM 128GB 6GB RAM 4 GB RAM
Card Slot microSD, up to 1 TB (uses shared SIM slot) microSD, up to 512 GB (uses SIM 2 slot) - dual SIM model only
Performance
Processor Octa-core (2x2.0 GHz Kryo 460 Gold & 6x1.7 GHz Kryo 460 Silver) Octa-core (4x2.3 GHz Mongoose M2 & 4x1.7 GHz Cortex-A53) - EMEAOcta-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo) - USA & China
GPU Adreno 612 Mali-G71 MP20 - EMEAAdreno 540 - USA & China
Battery
Type Non-removable Li-Po 3500 mAh battery Non-removable Li-Ion 3000 mAh battery (11.55 Wh)
Camera
Front Camera 16 MP 8 MP
Front Flash Light No No
Front Video Recording 1080p@30fps 1440p@30fps
Back Flash Light Yes Yes
Back Camera 32MP 12 MP
Back Video Recording 2160p@30fps, 1080p@30fps 2160p@30fps, 1080p@60fps, 720p@240fps, HDR, dual-video rec.
Connectivity
Bluetooth Yes Yes
3G Yes Yes
4G/LTE Yes Yes
Radio FM radio No
WiFi Yes Yes
NFC Yes Yes