DPI/PPI Calculator

Calculate image PPI from pixel and print dimensions, or find the maximum print size for a target resolution in inches and centimeters.

Calculate Image PPI and Print Size

Calculate image resolution from pixel and print dimensions, or find print size from a target PPI.

Image dimensions
Print dimensions

Matching horizontal and vertical PPI values indicate that the image and print dimensions use the same aspect ratio.


What Is a DPI/PPI Calculator?

A DPI/PPI calculator helps determine how a digital image’s pixel dimensions relate to its physical print size.

You can use this calculator in two ways:

  • Calculate PPI from pixel dimensions and print dimensions
  • Calculate print size from pixel dimensions and a target PPI

This is useful when preparing:

  • Photographs
  • Posters
  • Flyers
  • Book covers
  • Album artworkContent Container
  • Brochures
  • Product packaging
  • Exhibition prints
  • Marketing materials
  • Client design files
  • Print-on-demand products

The calculator does not upload or inspect an image. It only uses the dimensions entered into the form, and all calculations run locally in your browser.


How to Use the DPI/PPI Calculator

Calculate PPI from image and print size

Select:

PPI from image and print size

Enter:

  • Pixel width
  • Pixel height
  • Print width
  • Print height
  • Print unit

You can enter the print dimensions in inches or centimeters.

Select Calculate PPI to display:

  • Horizontal resolution
  • Vertical resolution
  • Whether the aspect ratios match
  • Total number of pixels

When horizontal and vertical PPI are equal, the image and print dimensions have the same aspect ratio.

Calculate print size from target PPI

Select:

Print size from target PPI

Enter:

  • Pixel width
  • Pixel height
  • Target PPI

Select Calculate print size to display the physical dimensions in:

  • Inches
  • Centimeters

This mode calculates the print size without adding or removing pixels.


What Does PPI Mean?

PPI means pixels per inch.

It describes how many image pixels are assigned to each inch of physical output.

For example, an image printed at 300 PPI uses 300 pixels across each inch of print width and 300 pixels across each inch of print height.

A 3000 × 2400 pixel image printed at 10 × 8 inches has:

3000 pixels ÷ 10 inches = 300 PPI
2400 pixels ÷ 8 inches = 300 PPI

The horizontal and vertical values match, so the image can fill the specified print dimensions without changing its aspect ratio.


PPI Calculation Formula

Horizontal PPI is calculated as:

Horizontal PPI
= Pixel width ÷ Print width in inches

Vertical PPI is calculated as:

Vertical PPI
= Pixel height ÷ Print height in inches

When print dimensions are entered in centimeters, they must first be converted into inches.

Inches = Centimeters ÷ 2.54

One inch is exactly 2.54 centimeters.


Example: Calculate PPI for a 3000 × 2400 Image

Consider an image with the following dimensions:

Pixel width: 3000 px
Pixel height: 2400 px
Print width: 10 inches
Print height: 8 inches

Calculate the horizontal resolution:

3000 ÷ 10 = 300 PPI

Calculate the vertical resolution:

2400 ÷ 8 = 300 PPI

The result is:

300 PPI

The image and print dimensions both use a 5:4 aspect ratio, so no cropping or distortion is required.


Print Size Calculation Formula

To calculate print size from image pixels and a target PPI:

Print width in inches
= Pixel width ÷ Target PPI
Print height in inches
= Pixel height ÷ Target PPI

To convert inches into centimeters:

Centimeters = Inches × 2.54

The calculation does not resample the image. It only determines how large the existing pixels can be distributed at the selected PPI.


Example: Calculate Print Size at 300 PPI

Consider a 6000 × 4000 pixel image with a target resolution of 300 PPI.

Calculate the width:

6000 ÷ 300 = 20 inches

Calculate the height:

4000 ÷ 300 = 13.3333 inches

The approximate print dimensions are:

20 × 13.33 inches

Convert the width to centimeters:

20 × 2.54 = 50.8 cm

Convert the height to centimeters:

13.3333 × 2.54 ≈ 33.87 cm

The approximate metric dimensions are:

50.8 × 33.87 cm

PPI vs. DPI

PPI and DPI are related terms, but they do not describe exactly the same thing.

PPI

PPI means pixels per inch.

It describes the relationship between:

  • Digital image pixels
  • Physical display or print dimensions

When calculating image resolution for a particular print size, PPI is the more technically appropriate term.

DPI

DPI means dots per inch.

It is commonly used to describe the physical dot output of a printer or another imaging device.

A printer may use multiple ink dots to reproduce the color and tone associated with one image pixel. Therefore, printer DPI and image PPI do not need to have the same numerical value.

The terms are frequently used interchangeably in everyday design and printing discussions. This calculator uses PPI for image calculations while retaining DPI in the page name because many users and print services search for both terms.


Pixel Dimensions vs. Print Dimensions

Pixel dimensions describe how many pixels an image contains.

For example:

6000 × 4000 pixels

Print dimensions describe the physical size of the output.

For example:

20 × 13.33 inches

The same 6000 × 4000 pixel image can be printed at different sizes.

Target PPI Approximate print size
600 PPI 10 × 6.67 in
400 PPI 15 × 10 in
300 PPI 20 × 13.33 in
240 PPI 25 × 16.67 in
200 PPI 30 × 20 in
150 PPI 40 × 26.67 in
100 PPI 60 × 40 in

A larger print spreads the same pixels across a greater physical area, reducing the number of pixels per inch.

A smaller print places the same pixels into a smaller area, increasing the PPI.


Common Pixel Dimensions at 300 PPI

The following examples assume that the image and print use matching aspect ratios.

Pixel dimensions Print dimensions at 300 PPI
1200 × 1800 px 4 × 6 in
1500 × 2100 px 5 × 7 in
2400 × 3000 px 8 × 10 in
2550 × 3300 px 8.5 × 11 in
3000 × 4500 px 10 × 15 in
3600 × 5400 px 12 × 18 in
4800 × 6000 px 16 × 20 in
6000 × 9000 px 20 × 30 in

These calculations describe pixel density. They do not guarantee a particular level of visual quality because print results also depend on the image, printer, paper, viewing distance, sharpening, processing, and production method.


Why Horizontal and Vertical PPI Can Be Different

Horizontal and vertical PPI differ when the image and print dimensions use different aspect ratios.

Consider a 3000 × 2000 pixel image printed at 10 × 8 inches.

Horizontal PPI:

3000 ÷ 10 = 300 PPI

Vertical PPI:

2000 ÷ 8 = 250 PPI

The values do not match.

The image uses a 3:2 aspect ratio:

3000:2000 = 3:2

The print uses a 5:4 aspect ratio:

10:8 = 5:4

Because the shapes differ, the image cannot fill the exact 10 × 8 inch area without one of the following changes:

  • Crop part of the image
  • Add borders or empty space
  • Distort the image
  • Change the print dimensions
  • Resample and alter the canvas

The calculator displays an aspect ratio warning when the horizontal and vertical PPI values do not sufficiently match.


Cropping an Image for a Different Print Ratio

Cropping removes pixels from the image to match the shape of the intended print.

For example, a 6000 × 4000 pixel image has a 3:2 ratio. An 8 × 10 inch print has a 4:5 ratio when viewed in portrait orientation.

To create an 8 × 10 print without borders, part of the original image must be removed.

If the full height of 4000 pixels is retained, a 4:5 landscape crop requires a width of:

4000 × 5 ÷ 4 = 5000 pixels

The cropped image becomes:

5000 × 4000 pixels

At a 10 × 8 inch print size:

5000 ÷ 10 = 500 PPI
4000 ÷ 8 = 500 PPI

The aspect ratios now match.

Cropping can remove important content near the edges, so composition should be checked before finalizing the print.


Printing Without Cropping

If you do not want to crop the image, you can preserve the complete aspect ratio and allow borders.

A 3:2 image placed inside a different print ratio may leave unused space along two sides.

You can also change the physical print dimensions to match the image.

For a 6000 × 4000 image printed at 300 PPI:

6000 ÷ 300 = 20 inches
4000 ÷ 300 = 13.33 inches

A 20 × 13.33 inch print matches the original ratio without cropping.


What Is Resampling?

Resampling changes the number of pixels in an image.

Upsampling

Upsampling creates additional pixels.

An image editor estimates new pixel values based on the surrounding image data. This increases the pixel dimensions, but it does not recreate every detail that would have been captured by a higher-resolution source.

Downsampling

Downsampling removes pixels.

This is commonly used when an image contains more resolution than required for its final size or delivery method.

Changing PPI without resampling

When resampling is disabled, changing the PPI metadata changes the calculated physical print size but does not change the number of pixels.

For example, a 3000 pixel-wide image is:

10 inches wide at 300 PPI
20 inches wide at 150 PPI

The image still contains 3000 pixels in both cases.

The calculator performs this non-resampling relationship. It does not create or remove pixels.


Does Changing DPI Improve Image Quality?

Changing only the DPI or PPI metadata does not add image detail.

A 1200 × 1800 pixel image contains the same number of pixels whether its metadata says:

  • 72 PPI
  • 150 PPI
  • 300 PPI
  • 600 PPI

The metadata can affect the default physical size used by some applications, but it does not automatically increase the underlying pixel dimensions.

Image detail can only be changed by:

  • Returning to a higher-resolution source
  • Scanning at a higher resolution
  • Re-exporting from the original project
  • Resampling the image
  • Using an enlargement process

Resampling may make a file larger and provide more pixels for a workflow, but it cannot perfectly reconstruct detail that was not present in the source.


Does PPI Affect the Image File Size?

Changing PPI metadata alone generally does not substantially change image file size.

File size is more directly affected by:

  • Pixel dimensions
  • File format
  • Compression level
  • Bit depth
  • Color channels
  • Transparency
  • Metadata
  • Embedded profiles
  • Image complexity

A 6000 × 4000 image contains 24 million pixels regardless of whether its print metadata specifies 72 PPI or 300 PPI.

If changing PPI also causes an application to resample the image, the pixel dimensions and file size may change.


How Many Megapixels Does an Image Have?

Total pixels are calculated as:

Total pixels = Pixel width × Pixel height

A 6000 × 4000 image contains:

6000 × 4000 = 24,000,000 pixels

One megapixel represents one million pixels:

24,000,000 ÷ 1,000,000 = 24 megapixels

Megapixel count describes the total number of pixels, while PPI describes how those pixels are distributed across a physical size.

Two images can have the same megapixel count but different aspect ratios and print dimensions.


Choosing a Target PPI

There is no single PPI value that guarantees the best result for every image and every printing method.

The appropriate target depends on:

  • Printer requirements
  • Printing technology
  • Paper or material
  • Image sharpness
  • Source quality
  • Viewing distance
  • Subject detail
  • Intended use
  • Post-processing
  • Print service workflow

A target of 300 PPI is commonly used for high-quality photographic and commercial print preparation at relatively close viewing distances. However, it is not a universal requirement.

Large posters, banners, signs, and exhibition graphics may be viewed from farther away and can use a lower image PPI while still appearing appropriate at their intended distance.

Always check the specifications supplied by the printer or production service before resizing or exporting the final file.


Why Large Prints Can Use a Lower PPI

PPI should be considered together with viewing distance.

Small photographs, books, brochures, and product packaging are usually viewed closely. Fine detail can therefore be more noticeable.

Large posters, signs, and banners are often viewed from farther away. Individual pixels are less noticeable at a greater distance.

A large print may therefore use a lower image PPI than a small print without appearing unsuitable in its intended environment.

The calculator provides the mathematical pixel density. It does not attempt to judge the viewing conditions or subjective print quality.


Screen Resolution vs. Print Resolution

For web and screen use, physical print PPI metadata is usually less important than the actual pixel dimensions.

A website typically displays an image according to:

  • CSS layout
  • Device pixel ratio
  • Browser scaling
  • Screen size
  • Responsive image selection
  • Image pixel dimensions

An image that is 1200 pixels wide remains 1200 pixels wide as an image resource, whether its metadata says 72 PPI or 300 PPI.

For print, physical dimensions matter because the pixels must be distributed across inches or centimeters.

Use the Aspect Ratio Calculator when preparing image dimensions for screens, social media, or video layouts.


Calculating PPI from Centimeters

When print dimensions are entered in centimeters, the calculator converts them into inches.

For a 3000 pixel-wide image printed at 25.4 centimeters:

25.4 cm ÷ 2.54 = 10 inches

Then calculate PPI:

3000 ÷ 10 = 300 PPI

The calculator performs this conversion automatically.


Preparing an Image for a Print Service

Before submitting an image, check the printer’s specifications for:

  • Required pixel dimensions
  • Preferred PPI
  • Accepted file formats
  • Color space
  • Embedded color profile
  • Bleed
  • Trim size
  • Safe area
  • Compression
  • Maximum file size
  • Sharpening guidance

PPI is only one part of print preparation.

An image can have sufficient pixel density and still produce an unexpected result if its color profile, crop, bleed, file format, or export settings are incorrect.


Related Calculators

Aspect Ratio Calculator — Simplify aspect ratios and calculate matching dimensions.

Video File Size Calculator — Estimate video storage from duration and video and audio bitrates.

Video Bitrate Calculator — Calculate the video bitrate required for a target file size and duration.

Audio File Size Calculator — Estimate compressed or uncompressed audio file size.


Frequently Asked Questions

What PPI is a 3000 × 2400 image at 10 × 8 inches?

The image is 300 PPI in both directions.

3000 ÷ 10 = 300 PPI
2400 ÷ 8 = 300 PPI

How large can I print a 6000 × 4000 image at 300 PPI?

The image can be printed at approximately:

20 × 13.33 inches

This is approximately:

50.8 × 33.87 centimeters

Is 300 DPI the same as 300 PPI?

Not technically.

PPI describes image pixels per inch. DPI describes printer dots per inch. The terms are often used interchangeably, but they measure different parts of the printing process.

Does changing an image from 72 PPI to 300 PPI add detail?

No. If the pixel dimensions remain unchanged, changing PPI only changes the calculated physical print size or metadata.

It does not add captured image detail.

Why does the calculator show two PPI values?

Horizontal and vertical PPI are calculated separately.

Different values indicate that the image and print dimensions use different aspect ratios. Cropping, borders, changed dimensions, or distortion would be required to fill the exact print area.

Should I crop or stretch an image?

Cropping or adding borders is generally preferable to stretching because stretching changes the proportions of objects in the image.

The appropriate decision depends on the design and delivery requirements.

Does a higher PPI always mean a better print?

Not necessarily. Print quality also depends on source quality, printer, material, processing, sharpening, viewing distance, and the capabilities of the production method.

Can I calculate poster dimensions?

Yes. Enter the poster’s pixel dimensions and target PPI to calculate its physical size. Confirm the appropriate PPI with the print provider because large-format requirements vary.

Does this calculator resize my image?

No. It only calculates the relationship between pixels, physical size, and PPI. No image is selected, uploaded, modified, or resampled.

Are my image dimensions uploaded?

No. All calculations run locally in your browser using only the numerical values entered.


Calculation Methodology

OutputMath calculates horizontal PPI using:

Horizontal PPI
= Pixel width ÷ Print width in inches

Vertical PPI is calculated using:

Vertical PPI
= Pixel height ÷ Print height in inches

Print size is calculated using:

Print width in inches
= Pixel width ÷ Target PPI
Print height in inches
= Pixel height ÷ Target PPI

Metric dimensions use the exact conversion:

1 inch = 2.54 centimeters

The calculator considers the aspect ratios matching when the difference between horizontal and vertical PPI is below its internal tolerance.

Results are rounded for display, but calculations use the entered numerical values before display rounding.

The calculator does not evaluate image sharpness, printer performance, color accuracy, viewing distance, paper quality, compression, or subjective print quality. Always confirm final production requirements with the printer or print service.


Learn More About DPI and PPI

Not sure whether to use DPI or PPI? Read our guide to DPI vs. PPI and calculating print size for formulas, common print dimensions, 300 PPI examples, and resampling guidance.