Pixel density is calculated by dividing the diagonal pixel resolution of a display by its diagonal size, higher pixel density better display quality.
It is measured by multiplying the native focal length of the camera by the crop factor of the sensor.