Checking Image Dimensions: Width, Height, DPI, and More
Checking Image Dimensions: Width, Height, DPI, and More
Knowing the exact properties of an image before you use it saves time and prevents problems. Uploading an image that is too small for a banner, printing at the wrong resolution, or embedding an image with the wrong aspect ratio — all of these are avoidable if you check the dimensions first.
The Properties That Matter
Width and height (pixels). The actual pixel dimensions — 1920x1080, 4000x3000, etc. This is the most fundamental property: it determines how large the image is and what it can be used for. A 400px-wide image cannot be a full-width website banner; a 4000px-wide image is overkill for a thumbnail.
Aspect ratio. The proportional relationship between width and height, expressed as a simplified ratio (16:9, 4:3, 1:1). The aspect ratio determines the shape of the image and which platforms or layouts it fits without cropping or distortion.
Megapixels. The total pixel count (width x height) divided by one million. A 4000x3000 image is 12 megapixels. This gives a quick sense of the image's overall resolution and detail capacity.
File size. How many bytes the file occupies on disk. This matters for upload limits, email attachments, and web performance. A 15 MB image may exceed an upload limit even if its dimensions are acceptable.
Color depth. How many bits per channel represent each pixel — typically 8 bits (24-bit RGB) for standard images. Higher color depth means more possible colors and smoother gradients.
Orientation. Whether the image is landscape (wider than tall), portrait (taller than wide), or square. This affects which layouts and platforms the image suits naturally.
Dimensions vs Resolution (DPI)
A common confusion: dimensions (pixel count) and resolution (DPI) are different things.
Dimensions are the actual pixel size — 1920x1080 means 1920 pixels wide and 1080 pixels tall. This is fixed and determines what the image looks like on screen.
DPI (dots per inch) is a print setting — it tells the printer how many pixels to place per inch of paper. A 1920x1080 image at 300 DPI prints at 6.4 x 3.6 inches. The same image at 72 DPI prints at 26.7 x 15 inches. The pixels do not change; only the physical print size changes.
For screen and web use, DPI is irrelevant — only pixel dimensions matter. DPI matters only when preparing images for print.
When to Check Dimensions
Before uploading to a platform. Each social media site, marketplace, and web form has specific dimension requirements. Check your image dimensions before uploading to avoid rejection or unwanted cropping.
Before printing. Verify that your image has enough pixels for the intended print size. For a 6x4 inch print at 300 DPI, you need at least 1800x1200 pixels. Smaller images produce blurry prints.
Before designing layouts. If you are building a web page or presentation, knowing your image dimensions helps you plan the layout and avoid stretching or gaps.
Before resizing or compressing. Understanding the current dimensions helps you decide how much to resize and what quality level to use for compression.
Common Surprises
Images from phones are often much larger than expected — 4000x3000 or more. These are great for print but overkill for web display. Images downloaded from websites are often already optimized (compressed and resized), which is why re-compressing them produces little additional savings.
Try the Image Dimensions Checker to inspect any image.