Print DPI/PPI, Megapixels & Physical Photo Size Calculator

Check maximum sharp print size at 300 DPI from image pixel resolution.

Print Width at Selected DPI 13.333 inches
Print Height (inches) 10 inches
Sensor Resolution (Megapixels) 12 MP
Uncompressed 24-bit RGB Size 34.332 MiB
Inputs
Try:
px
Image horizontal resolution in pixels.
px
Image vertical resolution in pixels.
DPI
Target print resolution in dots/pixels per inch (DPI/PPI).
Results & Graph
Print Width at Selected DPI
13.333 inches
Print Height (inches)
10 inches
Sensor Resolution (Megapixels)
12 MP
Uncompressed 24-bit RGB Size
34.332 MiB

Print Width at Selected DPI

Graph 1 • How the inputs feed DPI & Print Size
Print DPI/PPI, Megapixels & Physical Photo Size Calculator • Custom Domain Schematic (Design & Typography) Exact SI / Imperial Factor Bridge (DPI & Print Size) Width Px: 4.0k px • Height Px: 3.0k px PRINT WIDTH AT SELECTED DP 13.333 inches • Print Height (inches): 10 inches • Sensor Resolution (Meg: 12 MP Eq: Width_in = widthPx / dpi; Megapi
Graph 2 • Print Width at Selected DPI as Width Px changes (40% to 160% of current)
0 inches 11.73 inches 23.47 inches 5.33 1.6kpx 8 2.4kpx 10.67 3.2kpx 13.33 4.0kpx 16 4.8kpx 18.67 5.6kpx 21.33 6.4kpx
Graph 3 • Width Px and Height Px together Compares Print Width at Selected DPI when Height Px is shifted +25% (solid) vs. −25% (dashed).
0 inches 9.53 inches 19.07 inches --- Height Px @ 75% 9.33 -30% 11.33 -15% 13.33 +0% 15.33 +15% 17.33 +30%
Summary: 4000 × 3000 px (12 MP) prints at 13.33 × 10 inches (33.9 × 25.4 cm) at 300 DPI.
Summary: 4000 × 3000 px (12 MP) prints at 13.33 × 10 inches (33.9 × 25.4 cm) at 300 DPI.
Interactive chart & math engine powered by CalculatorGraph

Formula: DPI & Print Size Conversion & Formula

Widthin = widthPx / dpi
Megapixels = (widthPx × heightPx) / 10⁶
Width_in = widthPx / dpi; Megapixels = (widthPx × heightPx) / 10⁶
  • widthPx: Width (px)
  • heightPx: Height (px)
  • printDpi: Print (DPI)

Rounding: Exact NIST/BIPM conversion factors are used internally; displayed values round to 2–4 decimal places.

Frequently Asked Questions

How big can I print a 24 megapixel photo at 300 DPI?

A typical 24 MP camera file is 6000 by 4000 pixels. At 300 DPI the calculator gives 20 by 13.333 inches, about 50.8 by 33.9 cm. If you accept half that density for a print viewed from across a room, both sides double. The 68.665 MiB uncompressed figure stays the same whichever density you pick.

Does changing the DPI in Photoshop change the image quality?

Not if you leave resampling switched off. Changing the DPI tag alone only rewrites the suggested print size; the pixels are untouched. Resampling to a new pixel count is a different operation that adds or removes pixels. This calculator models the first case: same pixels, different density, so megapixels and file size never move when you change the DPI field.

Why does my 12 MP JPEG take up much less than 34.332 MiB?

The calculator reports the raw pixel data at three bytes per pixel with no compression. JPEG throws away detail the eye is unlikely to miss and packs the rest tightly, so a camera JPEG is usually far smaller. Uncompressed TIFF or the memory an editor uses to hold the image open is much closer to the figure shown.

Is 72 DPI only for screens?

The 72 figure is an old screen convention, and many cameras still write it into file metadata. Screens display images pixel for pixel and ignore the tag. For print it simply means a very low density: the default 4000 by 3000 image at 72 DPI would cover 55.556 inches across, with each pixel large enough to see at arm's length.

What pixel size do I need for a 20 inch wide print?

Multiply the inches by the density. At 300 DPI, 20 inches needs 6000 pixels across, which matches the 6000 by 3000 comparison run on this page. At half that density you would need half the pixels, 3000 across. Enter your actual pixel width with your chosen density and check that the width line reaches 20 inches or more.

Should I enter the size before or after cropping?

After. A crop removes pixels, and the print size depends only on the pixels left. If you take a 4000 by 3000 photo and crop it to 2400 by 3000 for an 8 by 10 frame, enter 2400 and 3000 as the size. The calculator then gives exactly 8 by 10 inches at 300 DPI, which tells you the crop still has enough resolution.

Why are the width and height not the same shape as my paper?

The calculator works out each side independently from your pixel counts, so it shows the image's own shape. A 4000 by 3000 file is 4:3, while an 8 by 10 sheet is 4:5 and many photo papers are 3:2. When the shapes differ, the lab either crops the picture or leaves borders. Compare the two ratios before ordering.

Can I use this for scanned prints and slides?

Yes. A scanner's output is just a pixel grid, so enter the width and height of the scan. If you scanned a small print at a high setting, the calculator shows how large you can reprint it at your chosen density. Scanning beyond what the original film or paper actually recorded adds pixels but not real detail.

Do megapixels tell me how sharp a camera is?

Only how many pixels it records. The calculator shows that 12 MP prints to 13.333 by 10 inches at 300 DPI, but lens quality, focus, sensor noise and camera shake decide whether those pixels hold fine detail. Two cameras with the same megapixel count can produce very different prints at the same size.

What happens if I type 0 for the DPI?

The calculator shows an input error asking for a print resolution greater than zero DPI, and no print size appears until you fix it. Dividing pixels by zero has no meaning, so this is the correct response. Enter the pixels per inch your printer or lab has asked for, which for photos viewed up close is usually 300 DPI.

Why does the centimetre size show only one decimal place?

The inch figures are the primary result and the centimetre values in the summary line are those inches multiplied by 2.54, rounded for reading. The default 13.333 by 10 inches appears as 33.9 by 25.4 cm. If you need an exact metric size for a frame or mount, multiply the inch figure yourself and round only at the end.

What 4000 by 3000 pixels at 300 DPI actually gives you

Out of the box the calculator holds a 12 megapixel image, 4000 pixels wide and 3000 pixels tall, and asks what size it prints at 300 DPI. The answer is 13.333 inches wide by 10 inches tall, or about 33.9 by 25.4 cm. Below that it reports 12 MP and an uncompressed size of 34.332 MiB.

Every one of those numbers comes from simple division and multiplication. Width in inches is the pixel width divided by the DPI, so 4000 divided by 300 gives 13.333. Height is 3000 divided by 300, which is exactly 10. The centimetre figures are the inch figures times 2.54. Megapixels are width times height divided by a million.

Nothing here looks at the photo itself. The calculator does not know whether the image is sharp, noisy, cropped from a phone or scanned from a slide. It only knows how many pixels you have and how densely you want to pack them onto paper. That is still the first question a print shop will ask, and it is the one people most often get wrong when they order a poster from a small file.

DPI and PPI are being used as the same thing here

Strictly, PPI is pixels per inch in the image and DPI is dots per inch laid down by a printer. An inkjet may spray many tiny dots of ink to render one image pixel, so the two numbers are not the same in the hardware. For working out print size, though, what matters is how many image pixels land on each inch of paper, and that is what the Print (DPI) field means.

So when a lab tells you it wants files at 300 DPI, read that as 300 image pixels per inch. Enter 300 in the field and the calculator tells you the largest size your pixels can cover at that density. Do not enter your printer's advertised dot resolution. That figure describes how finely the printer places ink, and using it here would make every print come out tiny.

The DPI value stored in a JPEG's metadata is a separate trap. Many cameras write 72 or some other default into the file. That tag does not change a single pixel. You can retag the same 4000 by 3000 file at 72 or 300 and the image is identical; only the suggested print size in some software changes. The calculator ignores file tags and works from the number you type.

Lowering the DPI makes the print bigger, not better

Halve the density from 300 and the same 12 MP file reports 26.667 by 20 inches. Halve the pixels per inch and each side doubles, so the print covers four times the area. Go down to 72 and the width climbs to 55.556 inches.

None of those larger figures add detail. The megapixel count and the 34.332 MiB file size stay exactly the same in every run, because the picture has not changed. You are only deciding how far apart to spread the pixels you already own.

Whether a lower density is acceptable depends on how far away people stand. A print held in the hand is looked at closely, and that is where the 300 figure the page is built around makes sense. A large print on a wall, or a banner across a room, is seen from further back, and the eye cannot pick out individual pixels so easily. That is why big formats are often printed at lower densities without anyone noticing.

Treat 300 as the safe default for photos people will pick up, and treat a lower number as a judgement call you make with the viewing distance in mind. The calculator will do the arithmetic for any figure; it cannot tell you which figure your audience will accept.

Width and height scale on their own, so check the shape

The three comparison runs on this page change only the width and leave the height at 3000 pixels. At 2400 pixels wide the print is 8 by 10 inches. At 4000 it is 13.333 by 10. At 6000 it is 20 by 10. Height stays at 10 inches every time because the height input never moved.

That makes a point the formula hides. Width and height are worked out separately, and the calculator does not care whether the shape matches a standard paper size. A 4000 by 3000 image has a 4:3 shape. An 8 by 10 print is 4:5. A 6000 by 3000 image is 2:1, which is a panorama rather than a normal photo.

If your target paper has a different shape from your image, something has to give. Either the print shop crops part of the picture, or it shrinks the image to fit and leaves white borders. The calculator shows you the natural print size of your pixels. You still need to compare that shape with the paper you are ordering.

Portrait images work the same way. Swap the inputs to 3000 wide by 4000 tall and the result reads 10 by 13.333 inches. Same pixels, same 12 MP, turned on its side.

Working backwards to an 8 by 10 from a 12 MP photo

A common real task is the reverse question: I want an 8 by 10 at 300 DPI, do I have enough pixels? Multiply each inch dimension by the density. Eight inches times 300 is 2400 pixels, and 10 inches times 300 is 3000 pixels. Type 2400 and 3000 into the calculator and it confirms 8 by 10 inches at 7.2 MP and 20.599 MiB.

Now compare that with the default photo. Held the usual landscape way, the 4000 by 3000 image is already exactly 3000 pixels tall. Cut a portrait slice 2400 pixels wide out of it and you have an 8 by 10 at full 300 DPI, with the strips on either side discarded. Alternatively, turn the frame to portrait and trim the long side to a 4:5 shape; that leaves more than 2400 by 3000 pixels, so it clears 300 DPI with room to spare.

This is the most useful way to use the tool before you crop. Enter the pixel size you would have left after cropping, not the camera's full resolution. If the cropped size still reaches your target inches at your chosen density, the print will be fine. If it falls short, either accept a lower density or choose a smaller print.

Why the file size line says 34.332 MiB and not 36

The bottom line of the result is the uncompressed size of the image at 24 bits per pixel. That means one byte each for red, green and blue, so three bytes for every pixel. For 12 million pixels that is 36 million bytes.

The calculator then divides by a mebibyte, which is two to the power of 20 bytes, and labels the line MiB to say so. That is why 36 million bytes appears as 34.332 MiB. Some programs report sizes in these binary units and some use a plain million bytes, often both written as MiB. Neither is wrong, but if your file browser shows about 36 MB for the same uncompressed TIFF, this is the reason.

Your real files will rarely match this number. A JPEG of the same photo is compressed and is normally a small fraction of it. A 16-bit TIFF stores two bytes per channel, so it doubles; a 12 MP image at 16 bits comes to 68.665 MiB, which happens to equal the 8-bit size of a 24 MP image of 6000 by 4000 pixels. A CMYK file stores four channels instead of three, and anything with a transparency channel adds another.

What the figure is good for is a rough sense of memory and storage when you edit. The 18 MP panorama at 6000 by 3000 needs 51.498 MiB just to hold the raw pixels open, before any layers. Every layer you add in an editor costs roughly that again.

Mistakes the calculator will not catch for you

Upscaling is the big one. If you enlarge a 2400 by 3000 image to 4000 by 3000 pixels in software and then type the new size in, the calculator will happily report 13.333 inches at 300 DPI. The extra pixels were invented by interpolation, so the print is larger but not sharper. Use the pixel size the camera or scanner actually captured.

Phone screenshots and images downloaded from social media are another. They are often resized on upload, so the file you have may be much smaller than the original photo. Check the real pixel dimensions in the file's properties before trusting any print size.

The density field is the one input the calculator polices. Type 0 there and it stops with an input error asking for a resolution greater than zero DPI, rather than producing a size. A very small density is still accepted, though, and gives huge inch figures, so if the result looks absurd, look at that field first.

Finally, the result is about pixel count only. Focus, motion blur, noise and heavy compression all show up in print, and no density figure fixes them. A sharp 7.2 MP file will usually make a better 8 by 10 than a blurry 12 MP one.