Apple iPhone XR 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.

  • Display technology

    OLED versus LCD

    iPhone XR:
    LCD
    P40:
    OLED
  • Weight

    P40: 19 g lighter

    iPhone XR:
    194 g
    P40:
    175 g
  • Width

    P40: 4.6 mm narrower

    iPhone XR:
    75.7 mm
    P40:
    71.1 mm
  • Memory variants

    At 256 GB storage

    iPhone XR:
    3 GB RAM
    P40:
    8 GB RAM
  • Chipset

    iPhone XR:
    Apple A12 Bionic (7 nm)
    P40:
    HiSilicon Kirin 990 5G (7 nm+)
  • Rear camera layout

    iPhone XR:
    Single
    P40:
    Triple

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. iPhone XR

    Height:
    150.9 mm +2 mm versus P40
    Width:
    75.7 mm +4.6 mm versus P40
    Depth:
    8.3 mm
  2. 2. P40

    Height:
    148.9 mm
    Width:
    71.1 mm
    Depth:
    8.5 mm

Weight

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

  1. 1. iPhone XR

    194 g

    +19 g versus P40

  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. iPhone XR

    Screen diagonal:
    6.1 in
    Aspect ratio (height:width):
    19.5:9
    Approximate rectangular screen area:
    91.3 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 iPhone XR, P40, compared at the same storage capacity.
StorageiPhone XRP40
64 GB 3 GB RAM Not recorded
128 GB Recorded for all phones 3 GB RAM 6 / 8 GB RAM Alternative RAM configurations
256 GB Recorded for all phones 3 GB RAM 8 GB RAM

Practical features

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

1. iPhone XR

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. iPhone XR

    2942 mAh

  2. 2. P40

    3800 mAh

    +858 mAh versus iPhone XR

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. iPhone XR2. P40

Everyday essentials
Everyday essentials — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Dimensions (HxWxD)
  • 150.9 Х 75.7 Х 8.3 mm
  • 148.9 Х 71.1 Х 8.5 mm
Weight
  • 194 g
  • 175 g
Technology
  • IPS LCD
  • OLED
Screen size
  • 6.1" inch
  • 6.1" inch
Screen resolution
  • 828 x 1792 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/256 GB
  • 3 GB RAM
  • 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.
  • 2942 mAh
  • Non-removable Li-Ion
  • 3800 mAh
  • Non-removable Li-Po
Operating system OS
  • iOS 12
  • upgradable to iOS 12.1.3
  • Android 10.0 (AOSP + HMS); EMUI 10.1
Chipset
  • Apple A12 Bionic (7 nm)
  • HiSilicon Kirin 990 5G (7 nm+)
NFC
  • Yes
  • Yes
Headphone jack
  • No
  • No
Display
Display — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Touchscreen
  • capacitive touchscreen
  • capacitive touchscreen
Display colors
  • 16M
  • 16M
Screen area
  • 90.3 cm2
  • 91.3 cm2
Screen format
  • 19.5:9 (height:width)
  • 19.5:9 (height:width)
Screen to body ratio
  • 79.0%
  • 86.3%
PPI /points per inch/
  • 326 PPI
  • 422 PPI
Screen protection
  • Scratch-resistant glass
  • oleophobic coating
  • 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 iPhone XR, P40.
SpecificationiPhone XRP40
Rear camera, main
  • 12 MP
  • Single
  • 50 MP
  • Triple
Camera specs
  • 12 MP
  • f/1.8
  • 26mm (wide)
  • 1/2.55''
  • 1.4µm
  • OIS
  • PDAF
  • 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@60fps
  • 2160p@30/60fps
  • 1080p@30/60fps
Front camera, selfie
  • 7 MP
  • Single
  • 32 MP
  • Dual
Specifications
  • 7 MP
  • f/2.2
  • 32mm (standard)
  • 32 MP
  • f/2.0
  • 26mm (wide)
  • 1/2.8"
  • 0.8µm IR TOF 3D
  • (biometrics sensor only)
DxOMark Main Score *
  • 101
Unknown
DxOMark Photo *
  • 103
Unknown
DxOMark Video *
  • 96
Unknown
Performance

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

Performance — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Processor CPU
  • Hexa-core (2x2.5 GHz Vortex + 4x1.6 GHz Tempest)
  • Octa-core (2x2.86 GHz Cortex-A76 & 2x2.36 GHz Cortex-A76 & 4x1.95 GHz Cortex-A55)
Graphics processor GPU
  • Apple GPU (4-core graphics)
  • Mali-G76 MP16
Antutu 7 score *
  • 346555
Unknown
GeekBench 4 Single Core *
  • 4819
Unknown
GeekBench 4 Multi-Core *
  • 11408
Unknown
Antutu 8 score *
  • 418882
  • 496357
GeekBench 5 Single Core * Unknown
  • 774
GeekBench 5 Multi-Core * Unknown
  • 3181
General specs
General specs — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Release date
  • 2018
  • September
  • 2020
  • March 26
Colors
  • Black
  • Red
  • Yellow
  • Blue
  • Coral
  • White
  • Silver Frost
  • Blush Gold
  • Deep Sea Blue
  • Ice White
  • Black
Historical recorded price Legacy catalogue value; date unknown. Not a current offer.
  • 850 EUR
  • 800 EUR
Battery life
  • Talking time- Up to 25 h (3G) Music play - Up to 65 h
Unknown
Body build
  • Front/back glass
  • aluminum frame (7000 series)
  • Glass front
  • glass back
  • aluminum frame
Communication and Connectivity
Communication and Connectivity — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
SIM card
  • Nano-SIM
  • Electronic 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)
  • 14(700)
  • 17(700)
  • 18(800)
  • 19(800)
  • 20(800)
  • 25(1900)
  • 26(850)
  • 29(700)
  • 30(2300)
  • 32(1500)
  • 34(2000)
  • 38(2600)
  • 39(1900)
  • 40(2300)
  • 41(2500)
  • 66(1700/2100)
  • 71(600)
  • 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
  • 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
  • hotspot
  • Wi-Fi 802.11 a/b/g/n/ac/ax
  • dual-band
  • Wi-Fi Direct
  • hotspot
GPS
  • Yes
  • with A-GPS
  • GLONASS
  • GALILEO
  • QZSS
  • Yes
  • with dual-band A-GPS
  • GLONASS
  • BDS
  • GALILEO
  • QZSS
  • NavIC
USB
  • 2.0
  • proprietary reversible connector
  • 3.1
  • Type-C 1.0 reversible connector
  • USB On-The-Go
Bluetooth
  • 5.0
  • A2DP
  • LE
  • 5.1
  • A2DP
  • LE
Music and Audio
Music and Audio — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Radio
  • No
  • No
Others
  • True-tone -Wide color gamut -120 Hz touch-sensing
  • Active noise cancellation with dedicated mic
  • DCI-P3 -HDR10 -90Hz
  • 32-bit/384kHz audio
Other features
Other features — specifications for iPhone XR, P40.
SpecificationiPhone XRP40
Dop
  • Sensors Face ID
  • accelerometer
  • gyro
  • proximity
  • compass
  • barometer - Fast battery charging: 50% in 30 min -Qi wireless charging -Siri natural language commands and dictation - IP67 dust/water resistant (up to 1m for 30 mins) -Apple Pay (Visa
  • MasterCard
  • AMEX certified)
  • 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