Physical Pixels vs Logical CSS Pixels
Physical pixels are the actual hardware pixels on a display, for example 3840x2160 on a 4K monitor, while logical (CSS) pixels are the virtual coordinate grid a browser uses to lay out content so text and elements stay a legible size. On a standard-density screen these two numbers are identical, but on high-density displays a single logical pixel is rendered using multiple physical pixels.