Google Pixel 2 XL vs Huawei P40

Compare recorded specifications, size and practical differences.

+ Add a third phone

Key differences

Calculated from recorded specifications using minimum difference thresholds. These are differences, not an overall ranking. For three phones, numeric highlights compare the two extremes.

  • Width

    P40: 5.6 mm narrower

    Pixel 2 XL:
    76.7 mm
    P40:
    71.1 mm
  • Chipset

    Pixel 2 XL:
    Qualcomm MSM8998 Snapdragon 835 (10 nm)
    P40:
    HiSilicon Kirin 990 5G (7 nm+)
  • Rear camera layout

    Pixel 2 XL:
    Single
    P40:
    Triple
  • Depth

    Pixel 2 XL: 0.6 mm thinner

    Pixel 2 XL:
    7.9 mm
    P40:
    8.5 mm
  • Height

    P40: 9 mm shorter

    Pixel 2 XL:
    157.9 mm
    P40:
    148.9 mm
  • Release year

    Pixel 2 XL:
    2017
    P40:
    2020

Physical size

Relative size, not calibrated actual size. Front and side outlines share one scale and a bottom baseline. Generic outlines use recorded body dimensions, excluding camera bumps.

  1. 1. Pixel 2 XL

    Height:
    157.9 mm +9 mm versus P40
    Width:
    76.7 mm +5.6 mm versus P40
    Depth:
    7.9 mm
  2. 2. P40

    Height:
    148.9 mm
    Width:
    71.1 mm
    Depth:
    8.5 mm +0.6 mm versus Pixel 2 XL

Weight

Bars start at zero and share a scale within this chart.

  1. 1. Pixel 2 XL

    175 g

  2. 2. P40

    175 g

Screen size

Approximate rectangular screens calculated from recorded diagonal and aspect ratio at one relative scale. Rounded corners and cutouts are not subtracted. These are not phone outlines or calibrated actual sizes.

  1. 1. Pixel 2 XL

    Screen diagonal:
    6 in
    Aspect ratio (height:width):
    18:9
    Approximate rectangular screen area:
    92.9 cm²
  2. 2. P40

    Screen diagonal:
    6.1 in
    Aspect ratio (height:width):
    19.5:9
    Approximate rectangular screen area:
    91.3 cm²

Memory variants

Each row compares the same storage capacity. Cells show recorded RAM alternatives, not combined maxima. Not recorded does not mean unavailable in every market.

Recorded RAM for Pixel 2 XL, P40, compared at the same storage capacity.
StoragePixel 2 XLP40
128 GB Unknown 6 / 8 GB RAM Alternative RAM configurations
256 GB Unknown 8 GB RAM
Pixel 2 XL: Original memory entry

64/128 GB · 512GB 4GB

Practical features

Explicit Yes and No values are shown directly. Qualified or regional records retain their details. Unknown means the record is missing.

1. Pixel 2 XL

NFC:
Yes
Headphone jack:
No
Memory card support:
No

2. P40

NFC:
Yes
Headphone jack:
No
Memory card support:
See details NM (Nano Memory) · up to 256GB (uses shared SIM slot)

Battery capacity

Capacity is not battery life. No endurance test is implied.

Recorded battery capacity

Bars start at zero and share a scale within this chart.

  1. 1. Pixel 2 XL

    3520 mAh

  2. 2. P40

    3800 mAh

    +280 mAh versus Pixel 2 XL

Specifications

Open a section for more detail. On narrow screens, swipe sideways or use Left/Right arrow keys while the table is focused. Unknown means missing data, not No. Recorded zero values are shown as recorded.

1. Pixel 2 XL2. P40

Everyday essentials
Everyday essentials — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Dimensions (HxWxD)
  • 157.9 Х 76.7 Х 7.9 mm
  • 148.9 Х 71.1 Х 8.5 mm
Weight
  • 175 g
  • 175 g
Technology
  • P-OLED
  • OLED
Screen size
  • 6" inch
  • 6.1" inch
Screen resolution
  • 1440 x 2880 px
  • 1080 x 2340 px
Internal memory Recorded storage / RAM variants. Entries are alternatives, not a combined maximum. Ambiguous formats stay as recorded.
  • 64/128 GB
  • 512GB 4GB
  • 128GB 6GB RAM
  • 128GB 8GB RAM
  • 256GB 8GB RAM
Memory card support
  • No
  • NM (Nano Memory)
  • up to 256GB (uses shared SIM slot)
Battery Capacity is not battery life. No endurance test is implied.
  • 3520 mAh
  • Non-removable Li-Ion
  • 3800 mAh
  • Non-removable Li-Po
Operating system OS
  • Android 8.0 (Oreo)
  • upgradable to Android 9.0 (Pie)
  • Android 10.0 (AOSP + HMS); EMUI 10.1
Chipset
  • Qualcomm MSM8998 Snapdragon 835 (10 nm)
  • HiSilicon Kirin 990 5G (7 nm+)
NFC
  • Yes
  • Yes
Headphone jack
  • No
  • No
Display
Display — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Touchscreen
  • capacitive touchscreen
  • capacitive touchscreen
Display colors
  • 16M
  • 16M
Screen area
  • 92.6 cm2
  • 91.3 cm2
Screen format
  • 18:9 (height:width)
  • 19.5:9 (height:width)
Screen to body ratio
  • 76.4%
  • 86.3%
PPI /points per inch/
  • 538 PPI
  • 422 PPI
Screen protection
  • Corning Gorilla Glass 5
  • Corning Gorilla Glass 6
Camera and Video

Scores marked * are historical catalogue entries. Test conditions are unspecified; no new testing is implied.

Camera and Video — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Rear camera, main
  • 12.2 MP
  • Single
  • 50 MP
  • Triple
Camera specs
  • 12.2 MP
  • f/1.8
  • 27mm (wide)
  • 1/2.55''
  • 1.4µm
  • OIS
  • dual pixel PDAF & laser AF
  • 50 MP
  • f/1.9
  • 23mm (wide)
  • 1/1.28''
  • 2.44µm
  • omnidirectional PDAF
  • OIS -8 MP
  • f/2.4
  • 80mm (telephoto)
  • PDAF
  • OIS
  • 3x optical zoom -16 MP
  • f/2.2
  • 17mm (ultrawide)
  • AF
Functions
  • HDR
  • HDR
Video
  • 1080p@30fps
  • 2160p@30/60fps
  • 1080p@30/60fps
Front camera, selfie
  • 8 MP
  • Single
  • 32 MP
  • Dual
Specifications
  • 8 MP
  • f/2.4
  • 25mm (wide)
  • 1/3.2''
  • 1.4µm
  • 32 MP
  • f/2.0
  • 26mm (wide)
  • 1/2.8"
  • 0.8µm IR TOF 3D
  • (biometrics sensor only)
DxOMark Main Score *
  • 99
Unknown
DxOMark Photo *
  • 80
Unknown
DxOMark Video *
  • 71
Unknown
DxOMark Selfie Score *
  • 77
Unknown
Performance

Scores marked * are historical catalogue entries. Test conditions are unspecified; no new testing is implied.

Performance — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Processor CPU
  • Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo)
  • Octa-core (2x2.86 GHz Cortex-A76 & 2x2.36 GHz Cortex-A76 & 4x1.95 GHz Cortex-A55)
Graphics processor GPU
  • Adreno 540
  • Mali-G76 MP16
Antutu 7 score *
  • 203156
Unknown
GeekBench 4 Single Core *
  • 1826
Unknown
GeekBench 4 Multi-Core *
  • 6121
Unknown
GeekBench 4 RenderScript *
  • 7088
Unknown
Antutu 8 score * Unknown
  • 496357
GeekBench 5 Single Core *
  • 358
  • 774
GeekBench 5 Multi-Core *
  • 1507
  • 3181
General specs
General specs — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Release date
  • 2017
  • October
  • 2020
  • March 26
Colors
  • Just Black
  • Black & White
  • Silver Frost
  • Blush Gold
  • Deep Sea Blue
  • Ice White
  • Black
Historical recorded price Legacy catalogue value; date unknown. Not a current offer.
  • 530 EUR
  • 800 EUR
Body build
  • Front glass
  • aluminum body
  • partial glass back
  • Glass front
  • glass back
  • aluminum frame
Communication and Connectivity
Communication and Connectivity — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
SIM card
  • Nano-SIM card & eSIM
  • Single SIM (Nano-SIM/eSIM)Hybrid Dual SIM (Nano-SIM
  • dual stand-by)
Network
  • Show all network frequencies: -2G - GSM 850 / 900 / 1800 / 1900 CDMA 800 / 1900 -3G - HSDPA 850 / 900 / 1700(AWS) / 1900 / 2100 CDMA2000 1xEV-DO -4G - LTE band 1(2100)
  • 2(1900)
  • 3(1800)
  • 4(1700/2100)
  • 5(850)
  • 7(2600)
  • 8(900)
  • 12(700)
  • 13(700)
  • 17(700)
  • 20(800)
  • 25(1900)
  • 26(850)
  • 28(700)
  • 29(700)
  • 30(2300)
  • 32(1500)
  • 38(2600)
  • 40(2300)
  • 41(2500)
  • 66(1700/2100)
  • Show all network frequencies: -2G - GSM 850 / 900 / 1800 / 1900 - SIM 1 & SIM 2 -3G - HSDPA 800 / 850 / 900 / 1700(AWS) / 1900 / 2100 -4G - LTE -5G - 5G SA/NSA
Speed
  • HSPA 42.2/5.76 Mbps
  • LTE-A (3CA) Cat15 800/75 Mbps
  • HSPA 42.2/5.76 Mbps
  • LTE-A
  • 5G
GPRS
  • Yes
  • Yes
Edge
  • Yes
  • Yes
Wi-Fi
  • Wi-Fi 802.11 a/b/g/n/ac
  • dual-band
  • Wi-Fi Direct
  • DLNA
  • hotspot
  • Wi-Fi 802.11 a/b/g/n/ac/ax
  • dual-band
  • Wi-Fi Direct
  • hotspot
GPS
  • Yes
  • with A-GPS
  • GLONASS
  • BDS
  • GALILEO
  • Yes
  • with dual-band A-GPS
  • GLONASS
  • BDS
  • GALILEO
  • QZSS
  • NavIC
USB
  • 3.1
  • Type-C 1.0 reversible connector (PowerDelivery 2.0)
  • 3.1
  • Type-C 1.0 reversible connector
  • USB On-The-Go
Bluetooth
  • 5.0
  • A2DP
  • LE
  • aptX HD
  • 5.1
  • A2DP
  • LE
Music and Audio
Music and Audio — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Radio
  • No
  • No
Others
  • Always-on display -100% DCI-P3
  • Active noise cancellation with dedicated mic
  • DCI-P3 -HDR10 -90Hz
  • 32-bit/384kHz audio
Other features
Other features — specifications for Pixel 2 XL, P40.
SpecificationPixel 2 XLP40
Dop
  • Sensors Fingerprint (rear-mounted)
  • accelerometer
  • gyro
  • proximity
  • compass
  • barometer - Fast battery charging (capped at 10.5 W) - IP67 dust/water resistant (up to 1m for 30 mins) - Also known as Google Pixel XL2
  • Sensors Infrared face recognition
  • fingerprint (under display
  • optical)
  • accelerometer
  • gyro
  • proximity
  • compass
  • color spectrum
  • Infrared port - Fast charging 22.5W - IP53 dust and splash protection