Image DPI Changer

Print width (inches)—
Print height (inches)—
Print width (cm)—
Print height (cm)—

How Image DPI Changer is calculated: Print width (inches) = pixel width ÷ DPI; print width (cm) = inches × 2.54 — the pixels never change

What is an image DPI changer?

An image DPI changer sets the dots-per-inch value stored inside a picture file. DPI tells a printer how large the image should appear on paper: the same 1920 by 1080 image prints small at 300 DPI and large at 72 DPI, because the printer divides the pixel count by the DPI number to get the size in inches. Changing the DPI does not change a single pixel — it only changes the print size the file asks for.

People change DPI when a print shop, a form, or a publisher asks for a specific value. A common ask is 300 DPI for print, which is the standard for sharp results on paper. A photo that is 1920 pixels wide prints at 6.4 inches wide at 300 DPI, and at 26.7 inches wide at 72 DPI. The pixels are identical in both cases; only the printed size differs.

This DPI changer works entirely in your browser, and it works on PNG files only — honestly, on purpose. It writes a real pHYs chunk into the PNG, which is the part of the file that stores the pixels-per-metre value, with a correct CRC check value. JPEG files do not get the same treatment here, because a JPEG stores DPI only as a hint that most viewers ignore, and faking it would be worse than saying so.

How DPI and print size work

The formula is simple: print width in inches equals pixel width divided by DPI. A 1920-pixel-wide image at 300 DPI prints 1920 divided by 300, which is 6.4 inches wide. The same image at 150 DPI prints 12.8 inches wide, and at 72 DPI it prints 26.7 inches wide. The height works the same way: 1080 pixels at 300 DPI is 3.6 inches tall.

To get centimetres, multiply the inches by 2.54. At 300 DPI the 1920 by 1080 image prints 16.3 by 9.1 centimetres. At 150 DPI it prints 32.5 by 18.3 centimetres. The results box on this page shows all four numbers live as you change the DPI, so you can see the print size before you download anything.

A PNG stores its DPI in a chunk called pHYs, which holds the pixels per metre in each direction. This tool converts your DPI to pixels per metre by multiplying by 39.3701 — there are 39.3701 inches in a metre — and writes that number into the file. At 300 DPI that is 11,811 pixels per metre. Our DPI converter converts between DPI, pixels, and print sizes if you want to check the numbers another way.

The 300 DPI target explained

The number 300 is the default here because it is the print industry standard. At 300 dots per inch, the individual dots are too small for the eye to see at normal reading distance, so a photo looks smooth and sharp. Newspapers and office printers often accept 150 DPI, and large posters viewed from metres away can use 72 DPI or even less, because nobody stands close enough to see the dots.

Choosing a higher DPI does not make the image sharper. A 1920 by 1080 image at 600 DPI prints at 3.2 by 1.8 inches — smaller, not sharper — because the same pixels are squeezed into a smaller area. If you want a bigger print at 300 DPI, you need more pixels, not a bigger DPI number. A resolution converter shows what different pixel counts mean in megapixels while you plan.

The second thing to know is that DPI means nothing on a screen. A phone or a monitor shows images by pixels, not by inches, so a 1920 by 1080 image looks the same on screen at 72 DPI and at 300 DPI. DPI only matters when the image goes to a printer, a PDF, or a print shop that reads the value. If your image is only ever shown on a screen, changing its DPI changes nothing at all.

A worked example: a 1920 × 1080 photo at three DPI values

Take a photo that is 1920 by 1080 pixels. At 300 DPI it prints 6.4 inches wide and 3.6 inches tall, which is 16.3 by 9.1 centimetres — about the size of a large postcard. The pHYs value written into the PNG is 11,811 pixels per metre, which is 300 multiplied by 39.3701 and rounded.

At 150 DPI the same photo prints 12.8 inches wide and 7.2 inches tall, or 32.5 by 18.3 centimetres — about an A4 page wide. The pHYs value is 5,906 pixels per metre. At 72 DPI it prints 26.7 inches wide and 15.0 inches tall, or 67.7 by 38.1 centimetres — a small poster. The pHYs value is 2,835 pixels per metre.

Notice that the pixel count never changes: 1920 by 1080 is 2.1 megapixels at every DPI. The file size barely changes either, because the pHYs chunk adds only 21 bytes to the file. If you need the photo at a different pixel size first, our image resizer changes its dimensions without changing its format.

Why DPI matters for print — and not for screens

The biggest reason DPI matters is the print shop. A shop that asks for 300 DPI will reject a file that says 72 DPI, even if the pixels are exactly right, because its software reads the stored value and refuses to print what it thinks is a low-resolution image. Writing the correct value into the file is the fix, and it takes seconds.

The second reason is layout software. Programs that place images into documents and books use the stored DPI to decide how big the image appears on the page. An image that says 72 DPI drops into a document four times larger than the same image at 300 DPI, and the designer has to shrink it by hand. Setting the value first saves that step.

The third reason is honesty about what DPI cannot do. It cannot add detail, it cannot sharpen a blurry photo, and it cannot make a small image print large. A 400-pixel-wide image at 300 DPI prints at 1.3 inches wide, and no DPI value will make it a sharp A4 print. If the print is too small, you need more pixels, not a different number. Our image converter changes the format of the same photo if the print shop wants a different format.

Image DPI changer vs DPI converter: which do you need?

A DPI changer and a DPI converter solve different problems, and people often mix them up. A DPI changer writes a new DPI value into an image file — it changes the file itself, so a print shop reads the new value. A DPI converter is a calculator: you type pixels and DPI, and it tells you the print size in inches or centimetres, without touching any file.

If a form or a print shop asks for a file at 300 DPI, you need this changer. If you only want to know how large a photo will print at 150 DPI, you need the converter, and you do not need to change any file at all. The two tools work well together: use the converter to plan the size, then use this changer to write the value into the file.

One warning: some tools on the internet claim to change DPI by re-saving the image at a different size, which changes the pixels and loses quality. This tool does not do that. It re-encodes the same pixels at the same size and only writes the pHYs chunk, so the picture itself is untouched.

Common mistakes when changing DPI

The most common mistake is thinking a higher DPI makes a sharper image. It does not — it makes a smaller print. Sharpness comes from pixels, and DPI only decides how those pixels are spread across paper. A 1920-pixel image at 600 DPI is not sharper than the same image at 300 DPI; it just prints half as wide.

The second mistake is changing DPI for a screen image. A website, a phone, and a social media post all ignore DPI completely, so changing it wastes your time. The third mistake is trusting a JPEG DPI value: JPEG stores DPI only as a hint, and most viewers and many print shops ignore it, which is why this tool writes the value into PNG files only, where it is stored properly.

The fourth mistake is forgetting the pHYs chunk can be stripped. Some apps and websites remove extra data from PNG files when they recompress them, and the DPI value can be lost along the way. Always check the final file you send to the printer, not an earlier copy. And the fifth mistake is changing your only copy: keep the original, because a re-encoded PNG is never exactly the original file.

How to use this image DPI changer

First, choose a PNG image with the file picker. JPEG and WebP files are accepted for reading, but the download is always a PNG, because only PNG stores DPI in a real pHYs chunk — the tool says this plainly instead of faking a JPEG DPI write. Other formats are rejected with a clear message. As soon as the image loads, its real width and height fill in automatically above.

Next, type the DPI you want — 300 is the default, and the field accepts 72 to 1200. The results box updates live, showing the print width and height in inches and in centimetres, so you can check the printed size before downloading. The preview shows the actual output file size, which is barely larger than the original, because the pHYs chunk adds only 21 bytes.

Finally, download the PNG. The file name gets a suffix with the DPI value, so your original is never overwritten. The pixels are unchanged — only the pHYs chunk is added, with a correct CRC check value, and the chunk is placed before the first image data chunk, exactly where the PNG standard says it belongs. Your image never leaves your device: the whole process runs in your browser, and closing the page deletes everything.

Frequently Asked Questions

No. Changing DPI does not change a single pixel — it only changes the print size the file asks for. A 1920 by 1080 image is 2.1 megapixels at 72 DPI and at 300 DPI alike. Sharpness comes from pixels, and DPI only decides how those pixels are spread across paper.

Because PNG stores DPI properly, in a pHYs chunk that holds pixels per metre, and this tool writes that chunk with a correct CRC check value. JPEG stores DPI only as a hint that most viewers ignore, so writing a JPEG DPI value would be misleading. The download is always a PNG, and the tool says so plainly.

300 DPI is the standard for sharp prints at normal reading distance — a 1920 by 1080 photo prints 6.4 by 3.6 inches at 300 DPI. Newspapers and office printers often accept 150 DPI, and large posters viewed from metres away can use 72 DPI. A higher DPI does not make the image sharper, only smaller on paper.

No. The file is read on your own device, drawn onto a canvas in your browser, re-encoded as a PNG with the pHYs chunk added, and offered back as a download. Nothing is sent to any server, so your photos stay private, and the tool works even on a slow connection once the page has loaded.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.