Huawei P40 vs Xiaomi 12 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.

Huawei P40 Xiaomi 12
Released · Apr 07, 2020
Released · Dec 31, 2021
6.1-inch · 2340x1080px
6.3-inch · 2400x1080px
Triple camera
Triple camera
6GB · 128GB
8GB · 128GB
3800 mAh
4500 mAh
Check prices

Availability

Officially announced
Mar 26, 2020 Dec 28, 2021

Design

Dimensions
5.86 x 2.80 x 0.33 inches
148.9 x 71.06 x 8.5 mm
6.01 x 2.75 x 0.32 inches
152.7 x 69.9 x 8.2 mm
Weight
6.17 oz (175.0 g) 6.35 oz (180.0 g)
Materials
Back: Glass
Frame: Metal
Back: Glass
Frame: Aluminum
Resistance
Splash, Dust; IP53
Biometrics
2D Face unlock, Optical in-screen fingerprint Fingerprint (touch)
Keys
Right: Volume control, Lock/Unlock key Right: Volume control, Lock/Unlock key
Colors
Deep Sea blue, Ice white, Black, Blush gold, Silver frost Black, Green, Blue, Pink

Display

Size
6.1-inch, 86.29% screen-to-body 6.3-inch, 89.30% screen-to-body
Type
OLED, 90Hz, HDR AMOLED, 120Hz, HDR, 1100 nits
Resolution
2340x1080px, 422 PPI 2400x1080px, 20:9 ratio, 419 PPI
Protection
Corning Gorilla Glass Victus

Hardware

System chip
HiSilicon Kirin 990 (7 nm) Snapdragon 8 Gen1 SM8450 (4 nm)
Processor
Octa-core
ARM Cortex-A76 and ARM Cortex-A55
Octa-core
1x3.00GHz Cortex-X2
3x2.50G​Hz Cortex-A710
4x1.8​0GHz Cortex-A510
GPU
Mali-G76 MP16 Adreno 730
Memory
6GB/128GB
8GB/128GB
8GB/256GB
8GB (LPDDR5)/128GB (UFS 3.1)
8GB/256GB
12GB/256GB
Storage expansion
Nano Memory (NM) up to 256 GB not expandable
OS
Android (10) Android (12)

Battery

Type
3800 mAh 4500 mAh
Charging
Huawei SuperCharge
Qi wireless charging, Reverse wireless charging
Fast charging
Qi wireless charging, Reverse wireless charging
Charge speed
Wired: 22.5W Wired: 67.0W
Wireless: 50.0W

Camera

Rear
Triple camera Triple camera
Main camera
50 MP (OIS, PDAF)
Aperture size: F1.9
Focal length: 23 mm
Sensor size: 1/1.28"
50 MP (OIS, PDAF)
Aperture size: F1.9
Focal length: 26 mm
Sensor size: 1/1.56"
Pixel size: 1.0 μm
Second camera
16 MP (Ultra-wide)
Aperture size: F2.2
Focal Length: 17 mm
13 MP (Ultra-wide)
Aperture size: F2.4
Focal Length: 12 mm
Sensor size: 1/3.06"
Pixel size: 1.12 μm
Third camera
8 MP (Telephoto, OIS)
Optical zoom: 3.0x
Aperture size: F2.4
Focal Length: 80 mm
5 MP (Telephoto, Macro)
Focal Length: 50 mm
Flash
Dual LED Dual LED
Video recording
4K UHD (60 fps)
Time-lapse video, EIS
8K UHD (24 fps), 4K UHD (30 fps), 1080p (960 fps)
EIS
Front
32 MP (Dual-Camera, HDR)
Video capture: 4K UHD (60 fps)
32 MP
Video capture: 1080p

Connectivity & Features

Bluetooth
5.1 5.2
WLAN
a,b,g,n,ac,Wi-Fi 6,dual-band
MIMO, Wi-Fi Direct, Hotspot
802.11 a, b, g, n, ac, ax
a,b,g,n,ac,Wi-Fi 6
Wi-Fi Direct, Hotspot
802.11 a, b, g, n, ac, ax
USB
Type-C, USB 3.1 Type-C, USB 2.0
Sensors
Accelerometer, Gyroscope, Compass, Hall (for flip covers), Ambient light sensor, Proximity sensor Accelerometer, Gyroscope, Compass, Ambient light sensor, Proximity sensor
Location
GPS, A-GPS, Glonass, Galileo, Dual-band positioning, Cell ID, Wi-Fi positioning GPS, A-GPS, Glonass, Galileo, BeiDou, QZSS, NavIC, Cell ID, Wi-Fi positioning
Other
NFC NFC, Infrared

Multimedia

Headphones
No 3.5mm jack No 3.5mm jack
Speakers
Earpiece, Loudspeaker Earpiece, Multiple speakers
Screen mirroring
Wireless screen share
Additional microphone(s)
Noise cancellation

Cellular

5G Bands
n1, n3, n28, n38, n41, n77, n78, n79 n1, n3, n5, n8, n20, n28, n38, n40, n41, n66, n77, n78, n79, SA, NSA
4G (FDD) Bands
1, 2, 3, 4, 5, 7, 8, 9, 12, 17, 18, 19, 20, 26, 28, 32 1, 2, 3, 4, 5, 7, 8, 12, 13, 17, 18, 19, 20, 25, 26, 28, 32, 66
4G (TDD) Bands
34, 38, 39, 40, 41 34, 38, 39, 40, 41, 42
3G Bands
1, 2, 4, 5, 6, 8 1, 2, 4, 5, 6, 8
Data Speed
LTE-A, HSDPA+ (4G) 42.2 Mbit/s, HSUPA 5.76 Mbit/s LTE-A, HSDPA+ (4G) 42.2 Mbit/s
Dual SIM
Yes
SIM type
Nano SIM, eSIM Dual Nano SIM
VoLTE
Yes

Alternative variants

with 8GB RAM
Memory 8GB
With 256GB internal storage
Memory 256GB
with 256GB storage
Memory 8GB/256GB
With 12GB RAM and 256GB internal storage
Memory 12GB/256GB
FCC OKs Cingular\'s purchase of AT&T Wireless