Image Size Calculator
Calculate image file sizes for different formats, dimensions, and color depths
- 100% Free
- Files stay private
- Works in your browser
Optional: drop an image to auto-fill its dimensions
JPG, PNG, WebP, GIF or HEIC · decoded locally, never uploaded
Calculation results
| BMP (uncompressed) | 6.2 MB | |
| TIFF (uncompressed) | 6.1 MB | |
| PNG (lossless) | 2.7 MB | |
| JPEG, high (~90%) | 911.3 KB | |
| JPEG, medium (~75%) | 486.0 KB | |
| JPEG, low (~50%) | 243.0 KB | |
| WebP (lossy) | 364.5 KB | |
| WebP (lossless) | 2.1 MB | |
| GIF (256 colors) | 1012.5 KB |
24-bit True Color · 16.8 million possible colors. Format estimates are typical ratios. Real files vary with image content.
Enter pixel dimensions (or drop an image) and a DPI to get the print size, megapixels and uncompressed / per-format size estimates, all computed live in your browser.
How it works
Choose a direction
Pick Pixels → Print and type a width and height in pixels, or choose Print → Pixels and enter a target print size.
Set the resolution
Enter the Resolution in dots per inch and choose a Color depth. The results update as you change the values.
Copy the results
See megapixels, aspect ratio, print size and estimated file sizes by format, then press Copy results to copy them.
The Image Size Calculator is a free online tool that works out an image's print size, megapixels, aspect ratio and uncompressed file size from its pixel dimensions and a DPI, then estimates what it would weigh in nine formats. It also runs backwards, telling you the pixels a target print size needs. Everything is calculated in your browser.
At a Glance
| Detail | Summary |
|---|---|
| What it does | Converts between pixels and print size, and estimates file sizes. |
| Input | Pixel dimensions or a print size, plus DPI and colour depth. |
| Output | Megapixels, aspect ratio, print size, raw bytes, and nine format estimates. |
| Limits | Up to 100,000 px per side. DPI from 1 to 10,000. |
| Runs where | Your browser. Dropped images are decoded locally. |
| Privacy | Nothing is uploaded. |
| Price | Free. No sign-up. |
What Is the Image Size Calculator?
One formula sits underneath it. An uncompressed image costs width × height × bit depth ÷ 8 bytes, because every pixel stores its colour in a fixed number of bits. At 24-bit True Color each pixel takes 3 bytes, so the total is the pixel count times three.
Print size comes from DPI. Inches are pixels ÷ DPI, and centimetres follow at 2.54 per inch. The Pixels to Print tab starts from dimensions and gives the physical size. The Print to Pixels tab reverses it, multiplying your target size by the DPI to find the resolution you need.
How the Image Size Calculator Is Different
Most size calculators stop at megapixels. This one carries the maths through to a print measurement and a per-format size table, and lets you drop in a real image rather than typing dimensions.
| Aspect | This Tool | A Typical Calculator |
|---|---|---|
| Directions | Pixels to print, and print to pixels | Usually one |
| File sizes | Nine formats estimated | Raw bytes, if any |
| Colour depth | Six options, from 1-bit to 48-bit | Fixed at 24-bit |
| Input | Type, use a preset, or drop an image | Type only |
Who Benefits from This Tool
- Photographers: check whether a file has the resolution for a given print size.
- Print buyers: find the pixels needed before commissioning artwork.
- Web developers: compare what a hero image costs as JPEG, WebP or PNG.
- Scanning and archive teams: see how bit depth drives storage before digitising.
- Students: see where file size actually comes from.
Key Features
- Both directions: pixels to print, or print to the pixels required.
- Drop an image: dimensions auto-fill from the file, including HEIC, decoded locally.
- Colour depth choice: 1-bit, 8-bit, 16-bit, 24-bit, 32-bit with alpha, or 48-bit.
- Nine format estimates: BMP, TIFF, PNG, three JPEG qualities, two WebP modes and GIF.
- Presets: 720p to 8K, plus Instagram, Facebook and YouTube sizes.
How to Use
- Pick Pixels to Print or Print to Pixels.
- Enter dimensions, tap a preset, or drop an image. For print, enter a size and choose inches or cm.
- Set the Resolution: 300 DPI for print, 72 for screen.
- Set the Color depth. Leave it at 24-bit for ordinary photos.
- Read the stats and the format table, then press Copy results.
Worked Example
Press Try a sample to load 6000 × 4000 at 300 DPI in 24-bit. That is 24,000,000 pixels, so Megapixels reads 24 MP and the aspect ratio reduces to 3:2. The raw size is 24,000,000 × 24 ÷ 8 = 72,000,000 bytes, shown as 68.7 MB. Dividing by the DPI gives a print of 20″ × 13.33″, or 50.8 × 33.87 cm. The format table estimates PNG at 30.9 MB and a high-quality JPEG at 10.3 MB.
Common Use Cases
- Checking whether a photo can print large without softening.
- Working out the pixels needed for a poster at 300 DPI.
- Estimating storage for a batch of scans at a given bit depth.
- Comparing likely file sizes across formats before choosing one.
Tips and Best Practices
- Use 300 DPI for anything held in the hand. Large prints seen from a distance are fine at 150.
- Ignore the DPI stored in a file. It is only a tag; the pixel count limits print quality.
- Drop the real image in rather than typing dimensions, so a typo cannot mislead.
- Raise the depth to 48-bit only if editing heavily. It doubles storage against 24-bit.
Limitations and Notes
- The raw size is exact arithmetic. Every format figure is an estimate from a fixed ratio, not a real encode.
- Real files vary with content, so treat the table as a guide.
- The GIF estimate assumes half a byte per pixel and ignores colour depth, since GIF is always 256 colours.
- Dropping an image reads its dimensions only. Its real file size is not used in the estimates.
FAQs
Multiply width by height by bit depth, then divide by 8 to get bytes. A 6000 × 4000 photo at 24-bit gives 72,000,000 bytes, about 68.7 MB. JPEG, PNG and WebP store the same pixels in far less.
300 DPI is the standard for anything viewed close up. Large-format work seen from a distance is fine at 150 DPI, and billboards go lower. Use the Print to Pixels tab to turn a target size into the resolution you need.
At 300 DPI, a 6000 × 4000 image prints at 20 by 13.33 inches, roughly 50.8 by 33.87 cm. Drop to 150 DPI and it doubles to 40 by 26.67 inches. The pixels do not change, only how densely you spread them.
Because the estimates use fixed ratios rather than encoding your image. A high-quality JPEG is assumed to be 15 percent of the raw size, but the real figure depends on content: flat colour compresses dramatically, fine texture does not.
It sets how many bits each pixel uses, so it scales file size directly. 24-bit gives 16.7 million colours at 3 bytes per pixel and suits photographs. 8-bit drops to a single byte, and 48-bit doubles 24-bit for heavy editing.
No. The file is decoded in your browser purely to read its width and height, and HEIC files are converted locally first. Nothing is transmitted or stored.