Pixels, megapixels and DPI: how big is a photo really?
A photo has a size in pixels, a size in megabytes and, when printed, a size in centimeters or inches. They are connected, but not in the way most settings suggest. Here is how to read them, with the numbers for common phone photos.
Published November 18, 2026
Pixels and megapixels
A digital photo is a grid of colored dots, the pixels. Its size is the number of pixels across and down, for example 4032 × 3024. Multiply the two and divide by a million, and you get megapixels (MP): 4032 × 3024 is 12.2 MP.
| What | Pixels | Megapixels | Print at 300 DPI |
|---|---|---|---|
| 12 MP phone photo | 4032 × 3024 | 12.2 MP | 34 × 26 cm (13.4 × 10.1 in) |
| 24 MP phone photo | 5712 × 4284 | 24.5 MP | 48 × 36 cm (19.0 × 14.3 in) |
| 48 MP phone photo | 8064 × 6048 | 48.8 MP | 68 × 51 cm (26.9 × 20.2 in) |
| Full HD screen | 1920 × 1080 | 2.1 MP | – |
| 4K screen | 3840 × 2160 | 8.3 MP | – |
Print size = pixels ÷ DPI, in inches; one inch is 2.54 cm.
A 12 MP photo already has more pixels than a 4K television. That is why photos for screens can be made much smaller without anyone seeing a difference.
More megapixels is not a better photo
Sharpness depends on the lens, the light, focus and movement as much as on the pixel count. Many phones with a 48 MP camera combine groups of four pixels and save 12 or 24 MP photos by default, because they look cleaner in poor light. The large mode helps when you want to crop a small part of a photo, and costs much more space.
Making a photo larger in pixels does not add detail: the new pixels are only guesses from their neighbors. That is why “Resize images” only makes photos smaller.
How many pixels you need
- A photo on a website: 1200 to 2000 px on the long side is usually enough, even on sharp screens.
- A photo in an email: 1000 to 1600 px keeps it sharp on most screens and much smaller.
- A profile picture: a few hundred pixels; the service you upload it to makes it smaller anyway.
- A print: about 300 pixels per inch for photos you look at closely, such as 10 × 15 cm prints; large posters seen from a distance look fine with less, about 150.
For a 10 × 15 cm print (4 × 6 in) at 300 DPI, you need 1200 × 1800 pixels, which every phone photo has. A 12 MP photo is enough for about 34 × 26 cm at 300 DPI, or 68 × 51 cm at 150 DPI.
DPI: a number that changes nothing on screen
DPI (dots per inch), or more precisely PPI, says how many pixels go into one inch of paper when the photo is printed. Many files contain a DPI value such as 72 or 300, but it is only a note for printing programs. It does not change the pixels, the file size or how the photo looks on a screen.
So when a form asks for a photo “at 300 DPI”, what usually matters is the size in pixels. To turn a print size into pixels, multiply the inches by the DPI: 2 inches at 300 DPI means 600 pixels.
Changing only the DPI value, without changing the pixels, makes no difference to an upload limit in KB. To make the file smaller, take away pixels or compress it.
Megabytes in the file, and in memory
A 12 MP photo is usually a file of a few megabytes, because JPEG and HEIC compress it. To show or edit it, a program has to unpack it: each pixel then takes 4 bytes (red, green, blue and transparency). That makes about 49 MB of memory for a 12 MP photo, and about 195 MB for a 48 MP one, often several times over while a tool works.
This is why the tools on this site have a pixel limit: 100 megapixels on a computer and 50 on phones and tablets, where browsers allow less memory for images. Safari on older iPhones and iPads (iOS 17 and earlier) allows only about 16.7 megapixels, so larger photos can fail there. When a photo is over the limit, the site says so instead of making it smaller without asking.
Try it on your own photo
The tool works in your browser. Your photo is not uploaded.
Frequently asked questions
Is 72 DPI worse than 300 DPI?
Not on a screen. With the same pixels, a 72 DPI file and a 300 DPI file look exactly the same; only the size a printing program chooses differs.
How do I make a photo exactly 1080 pixels wide?
Open “Resize images”, choose pixels, and enter 1080 as the width with the aspect ratio kept. The height follows on its own.
Why is my photo larger in MB than another one with the same pixels?
Because the file size depends on the content and the compression too. Photos with a lot of fine detail, such as leaves or gravel, need more bytes than calm photos with sky.
Can I print a phone photo as a poster?
Usually yes, for a poster seen from a distance. A 12 MP photo gives about 68 × 51 cm at 150 DPI. Check sharpness at 100% zoom first, because blur from movement or focus shows more when printed large.
More guides
- JPEG, WebP or AVIF? We measured 10 photosWe saved 10 photos as JPEG, WebP and AVIF with the encoders this site uses: file sizes, similarity scores, speed, and which format to pick.
- How to get a photo under 100 KB, 200 KB, 500 KB or 1 MBForms often limit photos to a few hundred KB. Measured on 10 photos: which pixel size and JPEG quality get a phone photo under each limit.
- How to remove the location from a photo before you share itPhone photos often store where they were taken. How to check it, how to stop it on iPhone and Android, and how to remove it from photos you already took.
- What is a HEIC file, and how do you open or convert it?iPhones save photos as HEIC. Why, which devices open it, how to make an iPhone save JPG instead, and how to convert HEIC to JPG without uploading it.
- How AI background removal works in your browserWhat happens when you remove a background on this site: the AI model, the 78 MB download, why it takes seconds, why hair is hard and how to get cleaner edges.