On iPhones equipped with hardware 3D Touch, an array of 96 capacitive strain gauges integrated into the display backlight measures microscopic flexing of the cover glass. Mobile Safari exposes that perpendicular force reading via WebKit’s Touch.force property, normalized across [0.0, 1.0] (corresponding to [0, 6.6667] in native UITouch).
By calibrating raw sensor output against a reference digital scale across Light, Medium, and Firm sensitivity settings, TouchScale converts downward touch pressure into grams at ~1g step granularity up to ~385g for conductive objects such as fruit or metal. Read the original experimental writeup and calibration data in How It Works →
Apple replaced hardware 3D Touch strain sensors with duration-based Haptic Touch starting with the iPhone XR and the entire iPhone 11–17 lineup. Without physical pressure sensors beneath the glass, modern phones, tablets, and desktop browsers report Touch.force === 0 and cannot measure static weight in software.
| Device Generation | Display Sensor | Status |
|---|---|---|
| iPhone 6s, 7, 8, X, XS, XS Max | Hardware 3D Touch | Supported (0g – ~385g) |
| iPhone XR, SE, 11 – 17 series | Haptic Touch (timing only) | Not supported |
| Android, iPad & Desktop | Standard capacitive / pointer | Not supported |