Image Resolution & File Size Estimator

Estimate the file size of an image from its dimensions, DPI, color depth, and format. Also convert between pixels, inches, and centimeters.


Convert between pixels, inches, and centimeters using a DPI value.

Fill in any one field (pixels, inches, or cm) and the others will be calculated automatically.

Find the maximum print size for an image at a given DPI, or the required resolution for a target print size.

FormatEstimated SizeBest For

How to use

  • File Size Estimator
    Enter image dimensions in pixels, choose a color mode, and select a format. The calculator estimates the file size including compression ratios for each format.
  • Resolution Converter
    Convert between pixels, inches, and centimeters using a DPI value. Enter any one value and the other two are calculated. Useful for preparing images for print or web.
  • Print Size Calculator
    Enter your image's pixel dimensions and a target DPI to find the maximum print size. Or use 300 DPI for professional-quality prints.
  • Format Comparison
    After calculating, expand the Format Comparison table to see the estimated file size for all formats side by side.

Common DPI Standards

DPIUse Case
72 dpiScreen / web display
96 dpiWindows screen standard
150 dpiDraft / low-quality print
300 dpiProfessional print standard
600 dpiHigh-resolution / large format print
1200 dpiFine art / archival scanning
โš ๏ธ Note
File sizes are estimates. Actual sizes vary based on image content, encoder settings, and metadata. JPEG and WebP sizes depend heavily on image complexity.

What is Image Resolution?

Image resolution refers to the number of pixels (picture elements) in an image, typically expressed as width ร— height in pixels. A 1920ร—1080 image contains 2,073,600 pixels โ€” about 2 megapixels. Resolution determines the maximum size at which an image can be displayed or printed without appearing blurry or pixelated.

What is DPI?

DPI stands for Dots Per Inch โ€” the number of printed dots that fit within one inch. Higher DPI means more detail in print. For digital displays, PPI (Pixels Per Inch) is used instead, though the terms are often used interchangeably. The standard for professional print is 300 DPI. For web and screen, 72โ€“96 DPI is sufficient since monitors have their own pixel density.

How Image File Size is Calculated

The uncompressed file size of an image is: Width ร— Height ร— Bits per pixel รท 8 (to convert bits to bytes). A 1920ร—1080 RGB image has 1920 ร— 1080 ร— 24 bits = 49,766,400 bits = 6,220,800 bytes โ‰ˆ 5.93 MB uncompressed. Formats like JPEG, PNG, and WebP apply compression to reduce this significantly.

Image Format Comparison

FormatCompressionTransparencyBest For
JPEGLossyNoPhotos, web images
PNGLosslessYesGraphics, logos, screenshots
WebPLossy/LosslessYesWeb images (modern browsers)
HEICLossyNoiPhone photos, small files
TIFFLosslessYesProfessional printing, archiving
RAWNoneN/ACamera originals, editing

Frequently Asked Questions

How many megapixels do I need for a 4ร—6 print?

For a 4ร—6 inch print at 300 DPI, you need 1200ร—1800 pixels = 2.16 megapixels. Most modern smartphone cameras (12MP+) capture far more than enough for standard print sizes. For a large 16ร—20 print at 300 DPI, you need 4800ร—6000 pixels = 28.8 megapixels.

What is the difference between lossy and lossless compression?

Lossy compression (JPEG, WebP lossy) permanently removes some image data to reduce file size โ€” the more you compress, the more quality you lose. Lossless compression (PNG, TIFF, WebP lossless) reduces file size without losing any image data โ€” the original can be perfectly reconstructed. Use lossless for graphics and archiving, lossy for photos shared online.

Why is a RAW file so much larger than a JPEG?

A RAW file contains the unprocessed, uncompressed sensor data from your camera โ€” all the information captured by each pixel. A JPEG is a processed, compressed version of that data. A 24MP RAW file can be 25โ€“50 MB, while the same image as JPEG might be 5โ€“8 MB. RAW files give more flexibility in post-processing but take up much more space.

What resolution should I use for social media?

Most social platforms display images at 72โ€“96 DPI. For Instagram posts, 1080ร—1080 px (square) or 1080ร—1350 px (portrait) is ideal. For Facebook cover photos, 820ร—312 px. For Twitter/X headers, 1500ร—500 px. Always export at the exact pixel dimensions โ€” DPI doesn't matter for screen display.

Related Tools