Megapixels, image size, and image resolution are common terms in digital photography. However, few of us understand their meaning and how they relate to each other. We offer various photo editing courses and professional photo editing programs, but let’s break it down so we can make sense of this.
- Pixels and Megapixels
- Image Size
- Image File Size
- Image Resolution
- Get Beginner-Friendly Photo Editing Software
Pixels and Megapixels
We all understand what a pixel is. It’s the tiniest building block of a digital photo. Think of them as the tiles that make a mosaic. You can see the pixels when you zoom in close on a photo. Each pixel we see in a photo is made up of three different colored pixels; red, green, and blue. When stacked on top of each other, each can make up one color in a range of over 16 million. A digital photo is a huge grid of many millions of pixels. What do we call a million pixels? We call them megapixels. A camera with a 20-megapixel sensor records the scene in 20 million pixels.
Image Size
Image size is a measure of photo size Adobe® Photoshop® and other pixel editors use. Image size looks at width and height in pixels, then multiplies by the number of channels (three for an RGB photo) to show the number of bytes the photo would take as a single-layer 8-bit photo saved as a TIFF. Still with me?
I’ll give you an example. A photo that is 3000 pixels by 2000 pixels is 6 million pixels or (6 megapixels). Times that by the three channels for RGB. So 18 million bytes or 18 MB. Many years ago, the file saved would be roughly 18 MB as a TIFF. However, today this is overly simplistic. A photo often contains multiple layers, masks, previews, and thumbnails that can make the size of the disk or file much larger.
Image File Size
Image file size is much easier to understand, at least on the surface. It’s the amount of storage space on a disk a photo uses. As I mentioned above, image and file sizes in the old days were roughly the same. Today, they are often very different. Photo file size can be much smaller than image size if the photo is compressed, like in the case of a JPEG. JPEG compression can make a photo much smaller on a disk. This is good for storage space and when you want to send the photo elsewhere (social media, friends, etc.). Raw photos are also similarly smaller than their image file size. Raw photos have a single color channel of data, so they are about a third of the size on disk compared to their image size. Raw photos are generally about the same as the camera’s megapixel rating. For example, a 20-megapixel camera creates raw photos at about 20 MB.
In other cases, the photo file size can be much larger than the image size. Remember, image size is calculated for a single 8-bit layer. However, when you create a 16-bit photo, it will double in size. Each layer you add doubles in size as well. The same goes for layer masks and transparency. Modern files also have embedded previews, thumbnails, color profiles, and metadata, adding to their size.
Here’s an example to show how quickly the image file size can increase. Let’s start with a 20-megapixel raw file. As I mentioned above, the photo file size will also be about 20 MB. As soon as you open this photo as a 16-bit PSD, the file will blow up to 320 MB! That’s 20 MB for each channel (RGB, plus transparency), times two for being 16-bit, and times two again for the image file size, maximum compatibility, and embedded preview. Some applications, like Photoshop, use compression and other optimizations to decrease layered photo file sizes in these cases. We will also be adding compression and other optimizations to saved PSD files here at ON1 for the future.
Image Resolution
Last but not least is image resolution. Probably the most misused term of the bunch. Some say that their camera has a 20-megapixel image resolution, which is an incorrect term. Image resolution is a measure of density–how tightly packed the pixels are in a photo. Image resolution is measured in pixels per inch (or pixels per cm). Some printer manufacturers also use the term dots per inch, but that is a bit different and often confusing. The image resolution only comes into play when you are going to print your photos. The size of your prints is determined by the number of pixels on a side divided by the image resolution.
For example, a 3000 x 2000 pixels photo with a resolution of 300 PPI would yield a print of 10” x 6.67”. The same 3000 x 2000 pixels on a television or normal computer display (72 or 96 PPI) would fill a display 31.25” x 20.83”. So when you zoom in on a photo to 100%, you need to pan around to see all of it. Most digital cameras define their image resolution at 72 PPI, which creates a huge “canvas” if you were to print it, but it wouldn’t be sharp at that size. So save yourselves the headache and use the Resize module or Print options in ON1 to rescale the image resolution to what your printer needs properly.
Get Beginner-Friendly Photo Editing Software
The ON1 Photo RAW editor is a premium, beginner-friendly photo editing software accessible to everyone. Download it today, or try Photo RAW editor free for 14 days and take your photography to the next level.
7 comments on “Megapixels, Image Resolution, & Image File Size: Photography Fundamentals”
On April 17, 2017 at 4:21 pm Jim Black wrote:
When shooting RAW and utilizing ProPhoto RGB, 16 bit, what settings would your recommend when utilizing resize when you want to print a 35″ X 35″ print. By the way, love Resize. Dont really know what I am doing except the prints have turned out fantastic. Thanks for fixing the gallery wrap line bug in this update.
Right now I am using the default setting with 360 dpi. My files end up being over 2 gig but they print very nice. Is there a better way? I am using an epson p9000 printer.
On April 18, 2017 at 3:57 am Yolanda wrote:
Thanks Dan, a lot is clear. But not all about resize, as Jim Black pointed out: “I really do not know what I am doing” the same applies to me about RESIZE.
Example document: 2764×2073 at 300 dpi exif says after cropping in Develop.
Resize: document size choosing the preset 30×40. It turns out in inches, but I want cm. I change it. My document grows to a spectacular 101x76cm from a small 23.4×17.5cm and both in 300dpi the resolution box claims.
Is resize calculating those extra pixels? Is Resize making those pixels up?
I use to work with PS6 and when resizing (connecting the resolution and size in cm) I could see when I made the resolution going from 300DPI to 240 DPI, the cm size of the file grow.
I can not see this happening in Resize. I can not connect the resolution to the size measurements.
Same applies to photo size in export. If I go from 300 dpi to 600dpi, is export making those pixels up as well?
Although I watched all the video’s, read the manual of ON1 PR, I can not figure out the principle behind resize and export and its algoritmen.
And please consider that not all users are working in inches.
thanks for taking the time to answer…. greetings from Holland, Yolanda
On April 18, 2017 at 7:51 am David Price wrote:
Hi Dan
Have not yet had a chance to see the video, but I have read the text that acompanies it.
The concept of how the number of pixels, and the colour depth translates into the size of a digital file was new info. Thanks for a brilliantly clear explanation.
Best wishes, David
On April 20, 2017 at 9:14 am Jill replied:
What video? This seems to be just text. Which is fine.
On April 23, 2017 at 2:50 pm Tony Beale replied:
I’m with you, Jill.
On April 18, 2017 at 8:33 am ganafrancisco@yahoo.com wrote:
As a plugin I can´t use layers icon. It´s not highlighted
On April 18, 2017 at 8:34 am ganafrancisco@yahoo.com wrote:
I use PS and ON1 is a plugin of it
Please review our our privacy policy for information about how we use the data we collect.