Pixels are often the unit of measurement used to express the width and height of a photo for digital or web use. As an example, a square image that is 1080 x 1080 pixels would have an aspect ratio of 1:1 — or the width of the image in relation to its height.