Skip to content
PictureToLink logoPictureToLink
Menu

Image size calculator

A 1920 × 1080 image in 24-bit color is 6,220,800 bytes uncompressed, which is 6.22 MB. Enter any width and height in this image size calculator to get that figure, the megapixels and a rough JPEG and PNG estimate, or scale an image by a percentage to get its new pixel dimensions.

Change any value and the result updates as you type.

px
px

Uncompressed size

6.22 MB

1,920 × 1,080 pixels × 3 bytes per pixel (24-bit)

Exact bytes
6,220,800 bytes
As a computer may show it
5.93 MiB
Pixels
2,073,600 px (2.07 MP)
Rough JPEG size (assumes 10:1)
about 622.08 kBPhotos usually compress 10:1 or better as JPEG; detailed, noisy pictures less. Compress the real file to know.
Rough PNG size (assumes 2:1)
about 3.11 MBPNG is lossless: photos barely shrink, flat graphics and screenshots shrink far more.
1,920 × 1,080 px uncompressed at each colour depth
Color depthBytes per pixelUncompressed size
24-bit36.22 MB
32-bit48.29 MB
8-bit12.07 MB
16-bit24.15 MB
48-bit612.44 MB
64-bit816.59 MB

Calculated in your browser; nothing you type is sent or stored. Spotted a wrong result? Tell us.

By Ahsan Khowaja (CEO) · Updated 10 November 2026

On this page

How to use the image size calculator

  1. Choose File size of an image from its pixels or New pixel size when scaling an image.
  2. Enter the width and height in pixels. Windows lists them under Properties › Details, a Mac in Preview's inspector, and a phone in the photo's info panel. If you only know the megapixels, the megapixel calculator lists common camera and screen sizes.
  3. For a file size, pick the color depth: 24-bit (3 bytes per pixel) for JPEGs and ordinary PNGs, 32-bit (4 bytes) for PNGs with transparency, 8-bit for greyscale, and 48- or 64-bit for 16-bit-per-channel files.
  4. For scaling, enter a percentage. 50% halves both sides and 200% doubles them.

Results are in decimal units, where 1 MB = 1,000,000 bytes. Windows counts in binary units (1 MiB = 1,048,576 bytes) and still labels them "MB", so the "as a computer may show it" row gives that reading as well.

How to calculate image size from pixels

An uncompressed image stores a fixed number of bytes for every pixel, so the sum is short:

Uncompressed size (bytes) = width × height × bytes per pixel

The bytes per pixel come from the color depth. 24-bit color uses 8 bits (1 byte) each for red, green and blue, which makes 3 bytes. 32-bit adds an 8-bit alpha channel for transparency, which makes 4. To calculate image size in megabytes, divide the bytes by 1,000,000. MDN's image file type guide explains color depth for each format.

Color depthChannelsBytes per pixelWhere you meet it
1-bitblack or white1/8Fax, scanned text
8-bitgreyscale, or 256 indexed colors1GIF, PNG-8, greyscale scans
16-bitgreyscale2Medical and scientific images
24-bitRGB, 8 bits each3JPEG, PNG-24, most photos
32-bitRGB + alpha4PNG with transparency, app icons, screen buffers
48-bitRGB, 16 bits each616-bit TIFF, high-end editing
64-bitRGBA, 16 bits each816-bit layered editing files

Worked examples

ImageSumUncompressed size
1920 × 1080 (Full HD), 24-bit2,073,600 pixels × 36,220,800 bytes: 6.22 MB, or 5.93 MiB
Same frame, 32-bit (with transparency)2,073,600 × 48.29 MB
4032 × 3024 (12 MP phone photo), 24-bit12,192,768 × 336,578,304 bytes: 36.58 MB
1000 × 1000 square PNG with transparency, 32-bit1,000,000 × 44 MB
6000 × 4000 (24 MP), 48-bit24,000,000 × 6144,000,000 bytes: 144 MB
800 × 600 greyscale, 8-bit480,000 × 1480 kB

That 144 MB row is why 16-bit TIFFs from a camera are so large. Doubling both sides gives four times the pixels, and four times the size.

Choose 32-bit only if the picture needs transparency. Otherwise you pay a third more for an alpha channel that holds nothing.

This uncompressed figure is exact. It's what the picture takes in memory while it's open, and what a BMP or an uncompressed TIFF would take on disk. Photoshop reports the same number: for a flattened 8-bit RGB image, the "Image Size" line in the Image › Image Size dialog is width × height × 3 bytes, shown in binary megabytes, so a 1920 × 1080 document reads 5.93M. Want an image size calculator Photoshop agrees with? Compare that row.

Image file size calculator: compressed estimates

A file you store is almost always compressed, and much smaller than the figure above. How much smaller depends on the picture, so the calculator can only estimate. It gives two estimates, each with its assumption in the label.

For JPEG it assumes 10:1. JPEG throws away detail the eye doesn't notice, and photographs usually shrink 10:1 or more. Our own sample files show how wide the spread is. A 3024 × 2016 portrait (18.29 MB uncompressed) is 1,645,283 bytes as a JPEG, about 11:1. A 3000 × 2000 flower photo (18 MB uncompressed) is 984,536 bytes, about 18:1. A 4032 × 2623 landscape with large smooth areas (31.73 MB uncompressed) is 389,561 bytes, more than 80:1. Same format, same camera class, a sevenfold difference. So treat 10:1 as a conservative, upper-end estimate for a photo at a high quality setting.

For PNG it assumes 2:1. PNG is lossless, so it can only remove repetition, and photos have little of that. Our 1366 × 900 screenshot (3.69 MB uncompressed) is 2,375,634 bytes as a PNG, about 1.55:1. Photos saved as PNG barely shrink at all. Flat graphics with few colors, such as logos and diagrams, are the opposite case and can shrink 10:1 or better.

Read both as order-of-magnitude answers, because the scene, the quality setting and the encoder all move the real size. If a form or site sets a hard limit, don't trust any estimate: compress the actual file and read the actual number. Our image compressor shows the before and after size in the browser, and the reduce image size in KB tool hits a set target such as 100 KB or 200 KB. The guide to how image compression works explains where the savings come from.

Some sites give you no number to aim for. Reddit's help center doesn't publish one table of image file-size limits or accepted formats, so the safest choice there is a JPG, PNG or GIF. Our guide to posting images on Reddit covers the rest.

Image size calculator in pixels: scaling an image

The second mode is an image dimensions calculator for resizing by a percentage:

New width = width × scale ÷ 100 and New height = height × scale ÷ 100, both rounded to whole pixels.

The pixel count changes by the square of the scale, which catches people out. Scaling to 50% leaves a quarter of the pixels, and 25% leaves one sixteenth.

  • A 4032 × 3024 photo at 25% becomes 1008 × 756 px. That is 6.25% of the original pixels, and 2.29 MB uncompressed instead of 36.58 MB.
  • A 1920 × 1080 frame at 50% becomes 960 × 540 px, 25% of the pixels.
  • A 1200 × 800 image at 150% becomes 1800 × 1200 px. Enlarging adds pixels but no detail, so the result looks softer.

If you need a smaller copy, scale down from the original, not from a copy you already shrank, because every JPEG save loses a little more detail. And don't scale up to rescue a small photo. It won't get sharper, only bigger, unless you use a tool built to invent detail, which isn't the same picture any more.

If you have a target width or height instead of a percentage, the aspect ratio calculator works as an image ratio calculator and finds the matching other side. Neither page changes your file. Our image resizer does that in the browser, and the guide to image resolution explains what the pixel count means for sharpness.

Pixel size calculator: from pixels to physical size

Pixels have no physical size until you print or display them. One 1920 × 1080 image is 6.4 × 3.6 inches at 300 DPI and 26.67 × 15 inches at 72 DPI. A pixel size calculator is one division: inches = pixels ÷ DPI. The pixels to inches converter and the DPI calculator do it for you, and the print size calculator tells you how large a print your pixel count supports.

Why the stored file is smaller than width × height × 3

Compression does most of it: a 12 MP JPEG is typically 2–5 MB, not 36 MB. Before compression even starts, most JPEGs also store the two color channels at quarter resolution (4:2:0), which halves the raw data. Metadata adds a little back. EXIF data, embedded thumbnails and color profiles can add tens of kilobytes, and our EXIF remover strips them, though on a 3 MB photo that saving is small.

Some files go the other way. A 16-bit TIFF stores 6 bytes per pixel, a layered editing file stores every layer, and a RAW file stores the sensor data at 12 or 14 bits per pixel before any color processing. The photo storage calculator uses typical stored sizes to work out how many photos fit on a card.

Questions and answers

How do I calculate the file size of an image?

Multiply width × height × bytes per pixel for the uncompressed size. A 1920 × 1080 image in 24-bit color is 2,073,600 × 3 = 6,220,800 bytes (6.22 MB). The stored JPEG will be roughly a tenth of that and a PNG roughly half. The only way to know the exact figure is to look at the file or compress it.

What is the file size of a 1920 × 1080 image?

Uncompressed in 24-bit color it is 6,220,800 bytes: 6.22 MB in decimal units, or 5.93 MB as Windows shows it. As a JPEG the same picture is usually 200 kB to 1 MB, depending on the content and quality. As a 32-bit PNG screenshot it can be anything from a few hundred kilobytes to 4 MB.

How many bytes per pixel does a JPEG use?

A decoded JPEG is 24-bit, 3 bytes per pixel. The stored file is far smaller: at 10:1 compression that is 0.3 bytes (2.4 bits) per pixel, and well-compressed photos go below 0.1 bytes per pixel. JPEG has no transparency channel, which is why a transparent logo has to be a 32-bit PNG or a WebP.

How do I calculate image size in MB from megapixels?

Megapixels × 3 gives the uncompressed size in MB for a 24-bit image (12 MP × 3 = 36 MB), because 1 megapixel × 3 bytes is 3,000,000 bytes. Divide by about 10 for a JPEG estimate, so a 12 MP photo lands around 3–4 MB at high quality.

Does changing the DPI change the image size?

No, neither the file size nor the pixel size. DPI is a note in the metadata that tells a printer how many pixels to put in each inch. A 3000 × 2000 image has the same pixels and the same bytes at 72 DPI and at 300 DPI. It only prints at a different size: 41.67 × 27.78 inches or 10 × 6.67 inches. The bytes change only when you resample to a new pixel size.

What size is an image in pixels if I scale it to 75%?

Multiply each side by 0.75. 1920 × 1080 becomes 1440 × 810 px, with 56.25% of the original pixels (0.75 × 0.75). Enter any percentage in the scaling mode above for the exact rounded result.

All image, photo and design calculators