MyImageCompressor

Dateigrößen-, Byte- & Pixel-Prüfer für Bilder

Prüfen Sie vor jedem Portal-Upload das exakte KB-Gewicht, die genaue Byte-Zahl, Breite × Höhe, das Seitenverhältnis und das echte Dateiformat.

JPG, JPEG, PNG, WebPFreier Zuschnitt100 % lokal im BrowserOhne Anmeldung & Wasserzeichen

Bild hierher ziehen oder Gerät durchsuchen

Unterstützt JPG, JPEG, PNG und WebP · Strg+V zum Einfügen

Tipp: Drücken Sie überall Strg+V / Cmd+V, um einen Screenshot einzufügen

Image Pixel, Aspect Ratio & 300 DPI Calculator

Aspect Ratio
3:4 (0.75:1)
Total Pixels
1,920,000 px (1.92 MP)
Print (300 DPI)
4.00″ × 5.33″ (101.6 × 135.5 mm)

Wählen Sie links eine JPG-, PNG- oder WebP-Datei aus, um exakte Bytes, KB-Größe, Pixelauflösung, Seitenverhältnis und Druckmaße zu prüfen.

How to Convert Pixels to Inches, MM, 300 DPI & Aspect Ratio Accurately

Use this interactive pixel calculator to convert pixel dimensions (e.g. 413×531 px or 600×600 px) into physical print inches, millimeters, centimeters, total megapixels, and simplified aspect ratios at 72, 96, 150, or 300 DPI—or drop any live JPG, PNG, or WebP file on the left to inspect its real pixel dimensions automatically.

  • Formula: Physical Print Size (inches) = Pixels ÷ DPI. Multiply inches by 25.4 to get exact millimeters (for 35×45mm passports at 300 DPI: 413×531 px).
  • Screens display at ~72–96 PPI regardless of DPI headers, while print labs and passport portals require 300 DPI pixel density.
  • Check both pixel math here AND true binary KB weight in Size Checker before submitting high-stakes visa or print files.

How to Calculate Print Dimensions & Target Pixels in 3 Steps

  1. 01.

    Enter Width & Height in Pixels (or Drop an Image)

    Type any pixel dimensions into the calculator—or upload a real JPG, PNG, or WebP file on the left to populate pixels automatically.

  2. 02.

    Select DPI Density (72, 96, 150, or 300 DPI)

    Switch between web/screen density (72/96 DPI) and sharp print/passport standard (300 DPI) instantly.

  3. 03.

    Read Print Size, Megapixels & Simplified Ratio

    See exact width/height in inches, millimeters, centimeters, total megapixels, and exact ratio—then resize or embed 300 DPI in one click.

100% Client-Side Browser Privacy

Every pixel crop, JPEG binary calibration, ink cleanup, and size inspection runs directly inside your browser via canvas.toBlob(). Sensitive passports, signatures, ID cards, and client assets never touch an external server.

Why Binary KB Precision Matters

Upload forms evaluate binary size (1 KB = 1,024 bytes) and true MIME headers simultaneously. Targeting 2–3 KB inside your portal bracket guarantees smooth first-try acceptance.

Common Physical Photo Sizes Converted to Exact Pixels at 300 DPI

Standard print, passport, visa, and poster sizes converted cleanly from millimeters and inches to 300 DPI pixel requirements.

Document / Print TypePhysical SizeExact 300 DPI PixelsAspect RatioMegapixels
EU / Schengen / India PassportPhysical Size:35 × 45 mm (1.38″ × 1.77″)Exact 300 DPI Pixels:413 × 531 pxAspect Ratio:35 : 45 (~7:9)Megapixels:0.22 MP
US Visa / DS-160 / PassportPhysical Size:2 × 2 in (50.8 × 50.8 mm)Exact 300 DPI Pixels:600 × 600 pxAspect Ratio:1 : 1 SquareMegapixels:0.36 MP
Standard Photo Print (4R)Physical Size:4 × 6 in (102 × 152 mm)Exact 300 DPI Pixels:1200 × 1800 pxAspect Ratio:2 : 3Megapixels:2.16 MP
A4 Full Page DocumentPhysical Size:210 × 297 mm (8.27″ × 11.69″)Exact 300 DPI Pixels:2480 × 3508 pxAspect Ratio:1 : 1.414Megapixels:8.70 MP

Browser Utility Technical Specifications

Verified capabilities, local-only execution safeguards, and binary KB precision across every MyImageCompressor tool.

CapabilitySpecificationEngineering Details
Supported FormatsJPG, JPEG, PNG, WebPIncludes alpha-preserving PNG quantization & genuine JFIF/PNG output headers
Max File SizeNo Server Cap (Device RAM Only)Tested cleanly on 48MP/50MB+ phone photos & up to 50 bulk ZIP files
Server UploadNone (100% Local Processing)Runs strictly inside browser Web Worker OffscreenCanvas / HTML5 Canvas
Target KB Accuracy±1–2 KB Binary PrecisionCalibrated in true binary kilobytes (1 KB = 1,024 bytes) for zero rejections
Privacy & MetadataBuilt-in EXIF/GPS Viewer & StripperReads or permanently wipes GPS, camera serials, XMP & IPTC tags locally

Pair this utility with our sibling browser tools to fix aspect ratios, check exact bytes, or process entire batches cleanly.

Upload rejected for being “file size too small”?

If your portal enforces a minimum file size (such as 10 KB, 20 KB, or 50 KB) and compression dropped below the floor, use Increase Image Size in KB.

Increase Image Size in KB

Recommended Tutorials for This Tool

Deep-dive guides covering portal edge cases, pixel rules, and quality preservation for this workflow.

Browse All 12 Guides

Frequently Asked Questions

Specific answers covering byte calculations, quality retention, pixel dimensions, and portal compliance for this tool.

At 300 DPI (dots per inch), 35 mm is (35 ÷ 25.4) × 300 ≈ 413 pixels and 45 mm is (45 ÷ 25.4) × 300 ≈ 531 pixels—producing the universal 413×531 px passport dimension.