How to Calculate Print Size From Megapixels

Can a 24 megapixel camera fill a 20 by 30 inch frame? It can, and the proof takes two quick steps. Turn the megapixels into pixel dimensions, then divide by the print resolution. One rule about viewing distance then explains why a poster looks sharp at a resolution that would ruin a small print. Here is the method, worked through with real numbers.

Quick Answer

  • Turn the megapixels and the aspect ratio into pixel width and height.
  • Divide each side by the print resolution in DPI to get inches.
  • At 300 DPI, a 24 MP 3:2 photo prints about 20 by 13.3 inches.
  • Big prints are viewed from farther away, so 150 DPI works for a wall poster.
  • Cropping removes pixels, so size the print from what remains after the crop.

How Do You Turn Megapixels Into a Print Size?

Turn the megapixels and aspect ratio into pixel width and height, then divide each side by the print resolution in DPI to get inches. Megapixels alone cannot give a size, because they count pixels without saying how they are arranged.

Step 1 finds the pixels. Width equals the square root of megapixels times one million times the ratio. Height equals that width divided by the same ratio, where the ratio is 1.5 for 3:2 and 1.333 for 4:3.

Step 2 finds the inches. Print inches equal pixels divided by DPI. Multiply the inches by 2.54 for centimeters, since one inch is exactly 2.54 cm. By the same factor, 300 DPI equals about 118 dots per centimeter.

The square root hides a useful lesson. Print width grows with the square root of megapixels, not with megapixels themselves. Going from 24 MP to 48 MP widens a 300 DPI print only from 20 to 28.3 inches. You need four times the megapixels to double the width.

Two Steps From Megapixels to Print Size Step one combines megapixels and aspect ratio into pixel dimensions. Step two divides the pixels by DPI to give the print size in inches. From megapixels to inches in two steps Megapixels + aspect ratio → Pixel width and height ÷ DPI Print size in inches
Megapixels and ratio give the pixels; dividing by DPI gives the inches.

How Does the Method Work on a Real Photo?

A 24 MP photo in the 3:2 camera shape prints 20 by 13.3 inches at 300 DPI, or about 50.8 by 33.9 cm. Here is the math behind that answer.

Step 1. Multiply 24 million by 1.5 to get 36 million, whose square root is 6000. Divide 6000 by 1.5 for the height, which is 4000 pixels. Camera specs usually list 6000 by 4000 directly.

Step 2. Divide 6000 by 300 to get 20 inches, and 4000 by 300 to get 13.3 inches. That is the largest print this file makes at full photo sharpness.

A Phone Photo Example

A 12 MP phone photo usually uses the 4:3 shape, which gives 4000 by 3000 pixels. At 300 DPI it prints 13.3 by 10 inches. For any other camera, ratio, or DPI, the Print Size Calculator returns inches and centimeters at once.

Largest sharp print at 300 DPI by megapixels
Megapixels Ratio Pixels Print at 300 DPI
6 MP 3:2 3000 x 2000 10 x 6.7 in
12 MP 4:3 4000 x 3000 13.3 x 10 in
24 MP 3:2 6000 x 4000 20 x 13.3 in
48 MP 3:2 8485 x 5657 28.3 x 18.9 in

Drop to 150 DPI and every print in the table doubles in both width and height.

How Many Megapixels Does a Target Print Need?

Multiply each print side in inches by the DPI to get pixels, then multiply the two pixel counts and divide by one million. That reverse math tells you whether a camera can make the print.

A 12 by 18 inch print at 300 DPI needs 3600 by 5400 pixels. That is 19.44 million pixels, or about 19.4 MP, so a 24 MP camera covers it with room to spare.

Now size a 24 by 36 inch poster at 150 DPI. It needs the same 3600 by 5400 pixels, because doubling the inches and halving the DPI cancel out.

The same logic answers the question at the top. A 20 by 30 inch print at 200 DPI needs 4000 by 6000 pixels, exactly 24 MP. That print is 3:2, so the whole frame fits with no crop.

Archives run this reverse math every day. U.S. federal FADGI guidelines set scanning targets in pixels per inch of the original print or photograph.

Why Can Big Prints Use a Lower DPI?

Big prints can use a lower DPI because people view them from farther away, and the eye resolves less detail as distance grows. That is not a compromise; it is how vision works.

Normal 20/20 vision resolves detail about 1 arcminute wide, which is 1/60 of a degree. Turn that angle into a rule and you get this: needed PPI is about 3438 divided by the viewing distance in inches.

At 12 inches, a print needs about 286 PPI, which is why 300 DPI is the handheld standard. At 2 feet the need falls to about 143, and at 10 feet to about 29.

So a wall poster seen from a few feet looks sharp at 150 DPI. A billboard across a street works at 20 DPI or less. Printers quote DPI while image files hold PPI, and our guide on DPI vs PPI for print and screen untangles the two terms.

DPI Falls as Viewing Distance Grows Three cases: a photo held close needs 300 DPI, a poster a few feet away needs about 150 DPI, and a billboard far away needs only 20 to 30 DPI. Farther away means lower DPI is fine 300 DPI photo, held close 150 DPI poster, a few feet 20-30 DPI billboard, far away Same file, printed larger, as viewing distance grows →
Because you stand back from big prints, they need fewer pixels per inch to look sharp.

How Does Cropping Shrink the Largest Print?

Cropping throws away pixels, so it lowers the effective megapixels and shrinks the largest sharp print the file can make.

Area falls faster than people expect. Crop a 6000 by 4000 frame to its central half in each direction and you keep 3000 by 2000 pixels. That is 6 MP, one quarter of the original, which prints only 10 by 6.7 inches at 300 DPI.

Print shapes force crops too. An 8 by 10 print is 4:5, not 3:2, so a 6000 by 4000 frame loses 1000 pixels of width to fit. The 5000 by 4000 result is 20 MP, still enough for 16.7 by 13.3 inches at 300 DPI.

Decide the crop first, then run the numbers on the pixels that remain. That order prevents a soft surprise at the print shop.

Cropping Shrinks the Largest Print A full frame of 6000 by 4000 pixels is 24 MP and prints 20 by 13.3 inches at 300 DPI. A central crop of 3000 by 2000 pixels keeps 6 MP, one quarter of the pixels, and prints 10 by 6.7 inches at 300 DPI. Half the width and height keeps a quarter of the pixels Full frame 6000 x 4000 Center crop 3000 x 2000 Full frame: 24 MP prints 20 x 13.3 in at 300 DPI Center crop: 6 MP prints 10 x 6.7 in at 300 DPI 1/4 of the pixels, 1/2 the print width
Crop to half the width and height and the largest sharp print halves in each direction too.

What Mistakes Throw Off a Print Size Calculation?

The most common mistakes are trusting a file’s DPI tag, upsizing to fake resolution, using the wrong ratio, and shooting at a reduced image size. Each one gives a print size the file cannot actually support.

Reading the DPI tag. Changing the number in a file’s DPI field does not add a single pixel. Base every calculation on pixel width and height only.

Upsizing the file. Enlarging in software raises the pixel count but adds no real detail. Our explainer on image resolution and why upscaling cannot add detail shows what those invented pixels really are.

Using the wrong ratio. A 12 MP file is 4000 by 3000 in 4:3 but about 4243 by 2828 in 3:2. Check the real dimensions before dividing.

Shooting at a small size. Cameras with S, M, and L image-size settings save fewer pixels at S and M. A 24 MP camera set to a medium size cannot deliver a full 24 MP print.

Check the real pixels: Open the file’s properties and read its width and height in pixels before sizing any print. Those two numbers, not the megapixel figure on the box, drive every calculation.
Want your exact print size?

The Print Size Calculator turns megapixels, aspect ratio, and DPI into a print size in inches and centimeters.

FAQs About Print Size and Megapixels

How Do I Work Out Print Size From Megapixels?

Turn the megapixels and aspect ratio into pixel dimensions, then divide each side by the DPI. A 24 megapixel 3:2 photo is 6000 by 4000 pixels, which at 300 DPI prints 20 by 13.3 inches.

How Big Can I Print a 12 Megapixel Photo?

In the 4:3 phone shape, about 13.3 by 10 inches at a sharp 300 DPI. At 150 DPI, for a print viewed from a few feet away, it reaches about 26.7 by 20 inches.

How Many Megapixels Do I Need for a Poster?

A 24 by 36 inch poster at 150 DPI needs 3600 by 5400 pixels, about 19.4 MP. A 24 MP camera covers that size with room to spare for a light crop.

Is 300 DPI Always Necessary for Photo Prints?

No. 300 DPI suits prints held at about 12 inches. A print viewed from 2 feet needs only about 143 PPI, so 150 to 200 DPI works well for wall prints.

Why Can Big Prints Use a Lower DPI?

Because you view them from farther away, where your eye cannot resolve fine detail. Needed PPI is about 3438 divided by the viewing distance in inches, so it falls as you step back.

Does Aspect Ratio Change the Print Size?

Yes. Megapixels only give the total pixels. The aspect ratio decides how they split into width and height, so the same megapixels print at different dimensions in 3:2 than in 1:1.

Does Cropping Reduce My Maximum Print Size?

Yes. Cropping removes pixels and lowers the effective megapixels. Keeping the central half of a 24 MP frame leaves 6 MP, which prints only 10 by 6.7 inches at 300 DPI.

Sources

References Used in This Article

This article covers the hand method for sizing prints from megapixels. Printer, paper, and lab settings still shape the final result. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 26, 2026.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~ More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.