Image DPI Converter

Convert image DPI (Dots Per Inch) to 300, 150, or 72 DPI without pixel recompression. Calculate physical print sizes in inches, cm, and mm with quality ratings.

Lossless DPI Metadata Modification: Adjust Dots Per Inch (DPI) headers for JPEG (JFIF APP0) and PNG (pHYs) without touching or recompressing your image pixels. Accurately calculate physical print sizes in inches, centimeters, and millimeters across all quality tiers.

Drop image here or click to browse

Supports JPEG and PNG for lossless metadata modification; WebP for print sizing calculations.

How to use Image DPI Converter

Adjust the physical print resolution (DPI / PPI) of your JPEG and PNG images and accurately calculate physical print dimensions in inches, centimeters, and millimeters. Whether you need 300 DPI for professional magazine and book printing, 150 DPI for posters and flyers, or 72 DPI for web use, our tool losslessly updates the JFIF APP0 and PNG pHYs density headers without altering a single pixel or introducing recompression artifacts. Includes an automated Print Quality Tier assessment.

  1. Upload a JPEG or PNG image (WebP is supported for print dimension calculations).
  2. Inspect the detected pixel dimensions and existing DPI embedded in the file's binary header.
  3. Choose a standard DPI preset (72, 96, 150, 300, 600 DPI) or enter a custom DPI value.
  4. Review the calculated physical print dimensions (Inches, Centimeters, Millimeters) and Print Quality Tier.
  5. Click 'Apply & Download Lossless Image' to download your photo with newly embedded DPI metadata.

Lossless JFIF APP0 & PNG pHYs Metadata Injection

Dots Per Inch (DPI) is physical metadata that instructs printers how densely to distribute pixels across physical paper. For JPEG images, the tool parses the file stream and updates the 18-byte JFIF APP0 segment (`0xFFE0`), setting the density units byte to `1` (dots per inch) and writing the 16-bit big-endian target DPI into the Xdensity and Ydensity fields. If no JFIF header exists, a valid 18-byte JFIF segment is injected directly after the SOI marker (`0xFFD8`). For PNG images, a standard `pHYs` (physical pixel dimensions) chunk is constructed by converting DPI into pixels-per-meter (`Math.round(dpi / 0.0254)`), generating the 9-byte payload and 4-byte CRC32 checksum, and injecting it before the first `IDAT` chunk. Pixel scanlines are 100% untouched.

  • Lossless metadata only: Modifies density headers only; compressed pixel bitstreams remain bit-for-bit identical.
  • Instant verification: Output binary is immediately re-parsed to verify that the target DPI was correctly embedded.
  • Print quality rating: Automatically categorizes resolution into Commercial (300+), Standard (200+), Poster (150+), or Screen (<150).
  • Metric and Imperial sizing: Generates exact physical dimensions in inches, centimeters, and millimeters.
  • Zero server latency: All binary byte rewriting takes place instantly in your client browser.

All pixel processing, color space conversions, and image compression execute entirely inside your local web browser. No files, pixels, or document metadata are ever uploaded to any external server or saved in cloud storage.

Practical examples

Preparing Smartphone Photo for 300 DPI Fine Art Print

Input
4032 × 3024 px smartphone JPEG with default 72 DPI header converted to 300 DPI.
Result
13.44″ × 10.08″ (34.1 cm × 25.6 cm) commercial print size with 300 DPI JFIF header embedded losslessly.

Ensures professional print shops and book publishers accept the file without rejecting it for low DPI headers.

Calculating Banner Size for 150 DPI Poster Print

Input
6000 × 4000 px DSLR photo evaluated at 150 DPI poster resolution.
Result
40.0″ × 26.7″ (101.6 cm × 67.7 cm) high-quality poster print size.

150 DPI provides sharp, readable results for wall posters and trade-show banners viewed from 1 meter away.

Verifying Product Photo for 96 DPI Web Catalog

Input
1200 × 1200 px PNG product render converted to 96 DPI desktop standard.
Result
12.5″ × 12.5″ (31.7 cm × 31.7 cm) with PNG pHYs chunk updated to 3,780 pixels per meter.

Embeds standard desktop pixel density headers into PNG catalog graphics without altering image transparency.

Formatting Architectural Rendering for A4 Portfolio

Input
3508 × 2480 px rendering intended for exact A4 print size (29.7 × 21.0 cm).
Result
Embeds 300 DPI header matching ISO 216 A4 paper dimensions at 300 dots per inch.

Allows desktop publishing programs to place the image at 100% scale on an A4 page without manual resizing.

Frequently asked questions

Does changing DPI change the pixel dimensions or quality of my image?

No! DPI (Dots Per Inch) is purely metadata intended for printers and physical layout software. Changing the DPI does not add, remove, or interpolate any pixels. A 3000 × 2000 pixel image remains exactly 3000 × 2000 pixels. What changes is how large each pixel is printed on physical paper (e.g., 10 × 6.67 inches at 300 DPI vs. 41.67 × 27.78 inches at 72 DPI).

Why do commercial print shops insist on 300 DPI?

Human visual acuity cannot distinguish individual dots when printed at 300 dots per inch at standard reading distance (12–15 inches). 300 DPI has thus become the worldwide industry benchmark for razor-sharp photographic and text printing in magazines, books, brochures, and fine art prints.

How are physical print dimensions calculated from pixel resolution and DPI?

Print dimensions are calculated by dividing the pixel count by the DPI: Print Width (inches) = Pixel Width / DPI, and Print Height (inches) = Pixel Height / DPI. To convert to centimeters, multiply the inch dimensions by 2.54.

Why doesn't WebP format support lossless DPI metadata editing?

The WebP container format (developed primarily for efficient web transmission) does not define standard JFIF or pHYs density metadata headers. Web browsers and operating systems treat all WebP images as 72/96 DPI screen assets. For WebP, our tool provides full physical print dimension and quality calculations.

How does the tool modify DPI without recompressing image pixels?

For JPEG, the tool parses the binary stream and updates the 18-byte JFIF APP0 segment (`0xFFE0`), writing the target DPI into the Xdensity and Ydensity fields. For PNG, a standard `pHYs` chunk is constructed (converting DPI into pixels-per-meter) and injected before the image data. The compressed pixel scanlines are never decoded, compressed, or altered.

Related tools

Available

Image Resizer

Resize image dimensions online with exact pixel precision or percentage scaling. Lock aspect ratio, compute physical print DPI, and export to JPG, PNG, or WebP.

Image Tools
Available

Image Metadata Viewer

View EXIF data, camera hardware settings, GPS coordinates, capture timestamps, and embedded metadata in JPEG, PNG, and WebP photos online. 100% client-side privacy.

Image Tools
Available

Remove EXIF Metadata

Remove EXIF, GPS location coordinates, camera serial numbers, and metadata from JPEG, PNG, and WebP images. Lossless binary stream excision preserving pixel fidelity.

Image Tools
Available

Image Compressor

Compress and optimize JPEG, PNG, and WebP images locally in your browser. Adjust quality, compare file sizes, resize dimensions, and batch download without server uploads.

Image Tools