# Image File Size Calculator - Estimate JPEG, PNG, RAW &amp; WebP Sizes

[Home](/)-[Tools](/tools/)-Image File Size Calculator

# Image File Size Calculator for Any Format

Instantly estimate JPEG, PNG, WebP, RAW, TIFF and BMP photo file sizes from image dimensions or megapixels. No upload required -- all calculations run in your browser.

- Free to Use
- No Upload Needed
- Instant Results

Resolution Preset

ScreenPhoneDSLRSocial12 MP (iPhone)4032x3024 - 12 MP48 MP8000x6000 - 48 MP108 MP12000x9000 - 108 MP200 MP16384x12288 - 200 MP

Custom Dimensions

Image width in pixelspxxImage height in pixelspx

1,920

Width px

1,080

Height px

2.1

Megapixels

2,073,600 total pixels - 2.1 megapixels

Photos per Storage

25 GB (DragBin Free)256 GB1 TB2 TBJPEG Medium69,042 photosRAW 14-bit8,630 photos

DragBin offers [25 GB free forever](https://app.dragbin.com/signup) with quantum-resistant encryption.

## Estimated File Sizes

photographic contentJPEGJPEG High632.8 KB

Best for printing and archiving photographic content

JPEG Medium379.7 KB

Standard quality for web and general use

JPEG Low189.8 KB

Maximum compression, some visible artifacts

WebPWebP Lossy253.1 KB

~30% smaller than JPEG at equivalent quality

WebP Lossless3.0 MB

Lossless compression, ~25% smaller than PNG

ModernHEIF/HEIC189.8 KB

Apple/modern format, ~50% smaller than JPEG

PNGPNG-244.0 MB

Lossless, 24-bit RGB, no transparency

PNG-324.9 MB

Lossless with transparency channel

RAWRAW 12-bit2.0 MB

Compact RAW (phones, entry-level DSLRs)

RAW 14-bit3.0 MB

Professional RAW (DSLRs, mirrorless cameras)

UncompressedTIFF5.9 MB

Lossless archival format, 24-bit uncompressed

BMP5.9 MB

Windows bitmap, uncompressed 24-bit

Estimates assume photographic content. Actual sizes vary by image complexity, encoder settings, and color distribution. RAW estimates assume typical camera lossless compression.

01

### No Upload Required

Estimates are computed entirely in your browser using compression formulas. Your images never leave your device -- privacy guaranteed.

02

### All Major Formats

Compare JPEG, PNG, WebP, HEIF, RAW, TIFF and BMP side-by-side. Instantly see how format choice affects your file size.

03

### Any Resolution

From Instagram thumbnails to 200 MP phone sensors and 8K screens -- pick a preset or enter custom dimensions down to the pixel.

01

## Estimate Before You Upload

Knowing your image file size before uploading saves time, bandwidth, and storage costs. Whether you are a photographer delivering large batches of RAW files, a developer optimizing images for a web application, or a designer preparing assets for a campaign, understanding photo file size by resolution helps you plan ahead.

Use this free image file size estimator to instantly predict:

- How large a 4K photo will be as JPEG vs RAW
- Total upload size for a batch of 100 images
- Which format fits within email or CMS size limits

 48 MP photoJPEG Med9.0 MBWebP6.0 MBPNG-2496 MBRAW 1472 MBSmallestWebP LossyBalancedJPEG HighLosslessPNG-24MaximumRAW 14-bit02

## Choose the Right Format for Every Use Case

Image format selection has a dramatic impact on file size without always affecting visible quality. A 48 MP photo saved as uncompressed TIFF can exceed 140 MB, while the same image as WebP Lossy may be under 6 MB -- a 23x difference.

General guidelines for format selection:

- JPEGphotographs for web, print, and sharing
- WebPweb delivery -- smaller than JPEG with better quality
- PNGscreenshots, graphics, images needing transparency
- HEIF/HEICmobile storage -- Apple&#x27;s compact modern format
- RAWprofessional editing -- maximum quality, large files
- TIFFprint production and archival storage

03

## Megapixels, Dimensions, and File Size -- Explained

Megapixels measure the total number of pixels in an image. One megapixel equals one million pixels. A 12 MP sensor captures a 4032x3024 image -- multiply those dimensions and you get 12,192,768 pixels, approximately 12 MP.

File size scales directly with pixel count. Doubling resolution in both dimensions (e.g. going from 4K to 8K) quadruples the file size. Common photo megapixel file sizes at JPEG medium quality:

12 MP (iPhone)~2.3 MB24 MP (DSLR)~4.5 MB48 MP~9 MB4K Screen (8 MP)~1.5 MB megapixel scale2 MP1920x108012 MP4032x302424 MP6000x400048 MP8000x6000108 MP12000x9000

## Store Your High-Resolution Photos Securely with DragBin

Now that you know how much space your images take, you need somewhere safe to store them. High-resolution RAW files, TIFF archives, and large photo libraries require reliable, secure cloud storage that does not compromise on privacy.

DragBin uses client-side, quantum-resistant encryption (ML-KEM + AES-256) to protect your photos. Nobody -- not even DragBin -- can see your files. With unlimited file sizes, a global CDN, and 4K/8K media previews, it is built for photographers, creators, and anyone dealing with large image files.

- 25 GB quantum-resistant storage, free forever
- Unlimited file size uploads with global CDN delivery
- Preview photos and videos in 4K and 8K resolution

[Start Storing for Free](https://app.dragbin.com/signup)

## Secure Photo Storage with Zero-Knowledge Encryption

25 GB free forever. Store RAW files, photo libraries, and high-resolution archives with quantum-resistant, client-side encryption.

[Get 25 GB Free (opens in new tab)](https://app.dragbin.com/signup)

## Frequently Asked Questions

Everything you need to know about image file size calculation, formats, and storage.

### How is image file size calculated?

Image file size depends on resolution (width x height in pixels), color depth (bits per channel), and the compression applied by the format. An uncompressed 24-bit image at 1920x1080 is about 6 MB, while JPEG compression reduces that to roughly 0.5-2 MB depending on quality setting.

### What is the file size of a 4K image?

A 4K image (3840x2160 pixels) is approximately 24 MB uncompressed. As a JPEG at high quality it is about 2.5 MB, at medium quality about 1.5 MB, as a PNG around 15-20 MB, and as a RAW file roughly 8-12 MB.

### Does this calculator require me to upload an image?

No. This image file size calculator works entirely in your browser using mathematical formulas. Simply enter your image dimensions or pick a preset resolution -- no file upload is ever needed.

### What file format gives the smallest file size?

For photographic images, WebP Lossy and HEIF/HEIC typically produce the smallest files -- about 25-50% smaller than JPEG at similar visual quality. For lossless content, WebP Lossless is smaller than PNG by roughly 25%.

### Why are RAW image files so much larger than JPEG?

RAW files store minimally processed sensor data at 12 or 14 bits per pixel, preserving the full dynamic range captured by the sensor. JPEG applies lossy compression and permanently discards data to reduce file size. A 24 MP RAW file is typically 25-40 MB while the same scene saved as JPEG is 5-10 MB.

### How many photos can I store in 25GB?

With 25 GB of storage you can hold approximately 12,500 JPEG photos at medium quality from a 12 MP camera, or about 2,500 RAW files from the same camera. At 48 MP, that drops to roughly 3,000 JPEG or 600 RAW files.

### What is the megapixel file size of different resolutions?

A 12 MP image (4032x3024) saved as JPEG medium quality is about 2-3 MB. At 24 MP it is 4-6 MB, at 48 MP around 9-12 MB, and at 108 MP approximately 20-25 MB. RAW files are roughly 4-8x larger than their JPEG equivalents.

### Is PNG or WebP better for web images?

WebP is generally better for web use. WebP Lossy produces files 25-35% smaller than JPEG at similar quality, while WebP Lossless is about 25% smaller than PNG. All modern browsers fully support WebP. Use PNG only when you need maximum lossless fidelity or broad legacy compatibility.

More free tools

## Keep going with the DragBin toolbox

[

### Image Compressor

Stop estimating and actually shrink JPEG, PNG, WebP and AVIF files in bulk.

](/tools/image-compressor/)[

### PDF to JPG Converter

Turn every page of a PDF into a high-quality JPG, entirely in your browser.

](/tools/pdf-to-jpg/)[

### EXIF Remover

Strip GPS coordinates and device details out of photos before you share them.

](/tools/exif-remover-tool/)[

### All free tools

Browse the whole DragBin toolbox -- every one runs locally in your browser.

](/tools/)

---

Canonical: https://www.dragbin.com/tools/image-file-size-calculator
