What is the difference between file size and dimensions?
Dimensions are the width and height in pixels; multiply them and divide by a million to get megapixels (4032 × 3024 is about 12 MP). File size is the number of bytes on disk, which depends on the dimensions, the format and the compression quality. The same 1600 × 1200 picture can be 120 KB as a JPEG or 3 MB as a PNG. The dpi or ppi figure is only a print hint and does not change either: see image DPI for the web.
How do I check image size on Windows?
- Right-click the image in File Explorer and choose Properties (or select it and press Alt+Enter).
- The General tab shows Size.
- The Details tab, under Image, shows Dimensions, Width and Height.
Faster: hover over a file in File Explorer to see its dimensions and size in a tooltip, or switch to Details view, right-click a column header and add the Dimensions column to compare a whole folder. Ignore Size on disk; it includes unused space in disk blocks.
How do I check image size on a Mac?
- Finder: select the file and press Command-I (Get Info). Size is under General, Dimensions under More Info.
- Preview: open the image and choose Tools > Show Inspector (Command-I) to see the image size in pixels and the file size.
- Terminal:
sips -g pixelWidth -g pixelHeight photo.jpgprints the dimensions;ls -lh photo.jpgprints the file size.
How do I check photo size on iPhone?
Open the photo in Photos and swipe up, or tap the info button (i). On recent iOS versions the panel shows the format (HEIF or JPEG), the megapixels, the pixel dimensions and the file size, for example 24 MP, 5712 × 4284, 2.8 MB. To shrink it from there, see reduce photo size on iPhone.
How do I check photo size on Android?
In Google Photos, open the photo and swipe up (or tap the three dots) to see Details, with the megapixels and pixel dimensions. In Samsung Gallery, swipe up or tap the info button for the file size and resolution. Menu names vary by brand; your Files app also shows a file's size when you open its details.
How do I check an image's size in a browser?
- Right-click the image and choose Open image in new tab. Chrome and Edge show the dimensions in the tab title, for example photo.jpg (1600×1200); Firefox shows the format and dimensions.
- Open DevTools (F12, or Option+Command+I on a Mac), go to the Network panel, filter by Img and reload: the Size column shows how many bytes each image cost to download.
- In the Elements panel, hover over an image's src address to see its Rendered size next to its Intrinsic size. If the intrinsic size is far larger, the page downloads pixels nobody sees.
- For a whole page at once, paste its address into the image audit: it lists every image and how much compression would save.
What image size is too big?
Working targets. A detailed photo can justify more; a flat graphic should come in well under.
| Use | Good target | Too big |
|---|---|---|
| Thumbnail on a website | 10–40 KB | Over 100 KB |
| Photo inside an article | 50–150 KB | Over 400 KB |
| Full-width hero image | 100–250 KB | Over 500 KB |
| Photo attached to an email | 200 KB–1 MB | Over 3 MB |
| Upload to an online form | Under the stated limit | Anything over it |
The reasoning behind these numbers is in what is a good image file size. To hit a precise number, see compress an image to a specific size, or open the compressor and type the target.