Megapixel Calculator
Calculate megapixels from image dimensions. See print sizes at different DPI and estimate file sizes for RAW and JPEG formats.
About this calculator
Megapixels are just width in pixels times height in pixels, divided by one million — this calculator does exactly that, then uses the same width and height to derive three practical numbers photographers actually need. Print sizes at 72, 150, and 300 DPI divide each pixel dimension by the DPI value to get inches, since DPI (dots per inch) defines how many pixels are packed into each printed inch: 300 DPI is the standard for sharp, close-viewing prints, 150 DPI is acceptable for larger prints viewed from a normal distance, and 72 DPI (historically a screen-resolution default) produces much larger dimensions but at a print quality too coarse for anything meant to be viewed up close. File size estimates come from three different assumptions about bytes per pixel: uncompressed 8-bit RGB assumes exactly 3 bytes per pixel (one byte each for red, green, blue channels) divided by 1024² to convert to megabytes; the RAW estimate uses roughly 1.75 bytes per pixel as a rough stand-in for 14-bit RAW sensor data with typical compression and file overhead (real RAW file sizes vary meaningfully by camera manufacturer and compression scheme, so treat this as an approximation, not a spec); and the JPEG estimate simply divides the uncompressed size by 10, reflecting JPEG's typical (but highly content-dependent) compression ratio.
The print quality assessment is a straightforward megapixel-count lookup table, from "thumbnails only" below 2MP up through "gallery prints, large format" at 50MP and above. It's worth knowing this only accounts for resolution, not other real limits on print quality — lens sharpness, sensor noise, and camera shake all affect how large you can genuinely print an image, so this calculator's guidance is a ceiling based on pixel count alone, not a guarantee that any given file will look good at that size.
Inputs
Results
Megapixels
24 MP
Print Size at 300 DPI
20" x 13.3"
How to Use This Calculator
- Enter Image Width and Image Height.
- Review Megapixels (MP) and Print Size at 300 DPI.
- Use Total Pixels and Print Size at 150 DPI to inform your decision.
How the result changes with Image Width
| Image Width | Megapixels | Print Size at 300 DPI |
|---|---|---|
| 3,000 | 12 MP | 10" x 13.3" |
| 4,500 | 18 MP | 15" x 13.3" |
| 9,000 | 36 MP | 30" x 13.3" |
| 15,000 | 60 MP | 50" x 13.3" |
What each input means
- Image Width
- Image width in pixels.
- Image Height
- Image height in pixels.
How this is calculated
Worked example, using the default values
- Identify Input ParametersImage Width = 6000, Image Height = 4000 = 2 input(s) provided
- Calculate MegapixelsMegapixels24 = 24
- Calculate Print Size at 300 DPIPrint Size at 300 DPI = `${printAt300W20" x 13.3" = 20" x 13.3"
- Calculate Total PixelsTotal Pixels24000000 = 24000000
- Calculate Print Size at 150 DPIPrint Size at 150 DPI = `${printAt150W40" x 26.7" = 40" x 26.7"
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why do the print sizes at 72, 150, and 300 DPI come out so different for the same image?
Each print size divides your pixel width and height directly by that DPI value, so a lower DPI produces larger printed dimensions from the exact same pixel count. 300 DPI is the standard for sharp, close-viewing prints, 150 DPI is acceptable for larger prints viewed from farther away, and 72 DPI yields much bigger dimensions but at quality too coarse for anything viewed up close.
How accurate are the RAW and JPEG file size estimates?
They're approximations built on assumed bytes-per-pixel: uncompressed RGB uses exactly 3 bytes/pixel, RAW uses roughly 1.75 bytes/pixel as a stand-in for 14-bit sensor data, and JPEG is estimated as one-tenth of the uncompressed size. Real RAW file sizes vary by camera manufacturer and compression scheme, and JPEG compression ratios depend heavily on image content, so treat these as ballpark figures rather than exact file sizes.
Does Print Quality Assessment factor in anything besides megapixel count?
No — it's a straight lookup table based only on total megapixels, from "thumbnails only" below 2MP up to "gallery prints, large format" at 50MP and above. It doesn't account for lens sharpness, sensor noise, or camera shake, all of which affect how large an image can genuinely print well, so the assessment is a resolution-based ceiling, not a quality guarantee.
If I crop an image after shooting, should I re-enter new dimensions?
Yes — Image Width and Image Height should reflect the actual pixel dimensions of the file you're evaluating, so after cropping you should enter the cropped dimensions rather than the original capture size. Megapixels, print sizes, and file size estimates all scale directly off whatever width and height you provide.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Aspect Ratio Calculator
Calculate the aspect ratio of an image or video. Compare to standard ratios and get crop suggestions for common formats.
Photography BusinessDepth of Field Calculator
Calculate the depth of field, hyperfocal distance, and near/far focus limits based on lens and camera settings.
Graphic DesignPrint Resolution Calculator
Calculate required DPI and pixel dimensions from print size and viewing distance.
Specialized PhotographyFood Photography Setup Calculator
Lighting and styling equipment from shot type.
Photography BusinessPhoto Licensing Calculator
Calculate image licensing fees based on usage type, distribution scope, duration, and exclusivity. Price your stock and commercial images.
More in Creative, Media & Design.