Sony Xperia XZ2 Compact vs Samsung Galaxy A40 Specs Comparison

Compare mobile phone specifications of up to three devices at once. Our specs comparison tool helps you find and compare the perfect phone for your needs.

7.5
Sony Xperia XZ2 Compact
Sony Xperia XZ2 Compact Samsung Galaxy A40
Released · Apr 05, 2018
Released · Apr 10, 2019
5.0-inch · 2160x1080px
5.9-inch · 2340x1080px
Single camera
Dual camera
4GB · 64GB
4GB · 64GB
2870 mAh
3100 mAh
Check prices

Design

Dimensions
5.31 x 2.56 x 0.48 inches
135 x 65 x 12.1 mm
5.69 x 2.72 x 0.31 inches
144.4 x 69.2 x 7.9 mm
Weight
5.93 oz (168.0 g) 4.94 oz (140.0 g)
Materials
Back: Plastic
Frame: Aluminum
Back: Plastic
Frame: Plastic
Resistance
Water, Dust; IP68
Biometrics
Fingerprint (touch) 2D Face unlock, Fingerprint (touch)
Features
Notification light
Keys
Right: Volume control, Camera shutter, Lock/Unlock key Right: Volume control, Lock/Unlock key
Colors
Black, Silver, Pink, Green Black, Coral, Blue, White

Display

Size
5.0-inch 5.9-inch
Resolution
2160x1080px, 18:9 ratio, 483 PPI 2340x1080px, 19.5:9 ratio, 437 PPI
Technology
IPS LCD Super AMOLED
Screen-to-body
73.56 % 85.73 %
Peak brightness
700 cd/m2 (nit)
Features
HDR support, Scratch-resistant glass (Corning Gorilla Glass 5), Ambient light sensor, Proximity sensor Scratch-resistant glass (Corning Gorilla Glass 3), Ambient light sensor, Proximity sensor

Hardware

System chip
Qualcomm Snapdragon 845 SDM845 (10 nm) Exynos 7904 (14 nm)
Processor
Octa-core
2800 MHz
Kryo 385
Octa-core
1800 MHz
ARM Cortex-A73 and ARM Cortex-A53
GPU
Adreno 630 Mali-G71 MP2
RAM
4GB (LPDDR4) 4GB (LPDDR4)
Internal storage
64GB, available to use: 48 GB 64GB, available to use: 49.4 GB
Storage expansion
microSDXC up to 400 GB microSDXC up to 512 GB
OS
Android (8.0 Oreo) Android (11, 10, 9.0 Pie), Samsung One UI

Battery

Capacity
2870 mAh 3100 mAh
Type
Li - Polymer Li - Polymer
Charging
Qualcomm Quick Charge 3.0, USB Power Delivery Samsung Adaptive Fast Charging

Camera

Rear
Single camera Dual camera
Main camera
19 MP (Laser and PDAF, CMOS image sensor)
Aperture size: F2.0
Focal length: 25 mm
Sensor size: 1/2.3"
Pixel size: 1.22 μm
16 MP (PDAF)
Aperture size: F1.7
Focal length: 27 mm
Sensor size: 1/2.8"
Pixel size: 1.12 μm
Second camera
5 MP (Ultra-wide)
Aperture size: F2.2
Focal Length: 13 mm
Sensor size: 1/5"
Pixel size: 1.12 μm
Flash
LED LED
Video recording
3840x2160 (4K UHD) (60 fps), 1920x1080 (Full HD) (960 fps), 1280x720 (HD)
HDR, Time-lapse video, EIS, Video calling, Video sharing
1920x1080 (Full HD) (30 fps)
Hyperlapse, Video calling, Video sharing
Front
5 MP, Video capture: 1920x1080 (Full HD) 25 MP, Video capture: 1920x1080 (Full HD)

Connectivity & Features

Bluetooth
5.0 5.0
WLAN
802.11 a,b,g,n,ac,dual-band
MIMO, Wi-Fi Direct, Hotspot
802.11 a,b,g,n,ac,dual-band
Wi-Fi Direct, Hotspot
USB
Type-C, USB 3.1 Type-C, USB 2.0
Location
GPS, A-GPS, Glonass, Galileo, BeiDou GPS, A-GPS, Glonass, Galileo, BeiDou, Cell ID, Wi-Fi positioning
Sensors
Accelerometer, Gyroscope, Compass, Barometer, Step detector, Step counter Accelerometer, Gyroscope, Compass, Hall (for flip covers)
Other
NFC, VoIP, Tethering, Computer sync, OTA sync NFC, ANT+, VoIP, Tethering, Computer sync, OTA sync

Multimedia

Headphones
No 3.5mm jack 3.5mm jack
Speakers
Earpiece, Multiple speakers Earpiece, Loudspeaker
Features
aptX-HD Dolby Atmos, Album art cover, Background playback
Screen mirroring
DLNA,Wireless screen share Wireless screen share
Radio
FM
Additional microphone(s)
Noise cancellation Noise cancellation

Cellular

4G (FDD)
Bands 1(2100), 2(1900), 3(1800), 4(AWS-1), 5(850), 7(2600), 8(900), 12(700 a), 13(700 c), 17(700 b), 19(800 Upper), 20(800 DD), 26(850+), 28(700 APT), 29(700 d), 32(1500 L-band), 66(AWS-3) Bands 1(2100), 3(1800), 5(850), 7(2600), 8(900), 20(800 DD)
4G (TDD)
Bands 38(2600), 39(1900+), 40(2300), 41(2600+) Bands 38(2600), 40(2300), 41(2600+)
3G
Bands 1(2100), 2(1900), 4(1700/2100), 5(850), 6(800), 8(900) Bands 1(2100), 2(1900), 5(850), 8(900)
Data Speed
LTE-A Cat 15/5 (800/75 Mbit/s), HSDPA+ (4G) 42.2 Mbit/s, HSUPA 5.76 Mbit/s, UMTS LTE-A Cat 12/13 (600/150 Mbit/s), HSDPA+ (4G) 42.2 Mbit/s, HSUPA 5.76 Mbit/s
Dual SIM
Yes
SIM type
Nano SIM Nano SIM

Regulatory Approval

FCC approval
Date approved: Jul 25, 2018
FCC ID value: PY7-24118Q
Date approved: Mar 08, 2019
FCC ID value: A3LSMA405FN
Measured SAR
Head: 0.78 W/kg
Body: 0.74 W/kg
Simultaneous Transmission: 1.44 W/kg
Wireless Router: 1.07 W/kg
Head: 0.51 W/kg
Body: 0.46 W/kg
Simultaneous Transmission: 1.02 W/kg
Wireless Router: 0.61 W/kg

Buyers information

In The Box
Charger, USB-C cable, USB-C to 3.5mm headphone jack adapter and Manaul

Availability

Officially announced
Feb 26, 2018 Apr 10, 2019

Alternative variants

Dual SIM
Dual SIM Yes
FCC OKs Cingular\'s purchase of AT&T Wireless