Pixel Resolution Image Size Calculator
Computes megapixels and estimates raw file size in megabytes from image width, height and bits per pixel color depth value.
โ
Image size from resolution and bit depth
Uncompressed, an image weighs in at size_MB โ width ยท height ยท bits_per_pixel / 8 / 1024ยฒ. Take a 24-bit 4K image (3840 ร 2160): 3840 ยท 2160 ยท 24 / 8 / 1024ยฒ โ 23.7 MB with no compression. Real files are smaller because formats compress. PNG stays lossless and rides on how busy the image is. JPEG at quality 90 usually drops that same 4K to 5โ10 MB. RAW from a DSLR or mirrorless body runs 25โ40 MB at 14-bit. WebP and AVIF shave another 25โ50% off JPEG at the same perceived quality. And bit depth scales everything: bump to 16-bit per channel and a 24-bit RGB file doubles.
Applications: cloud storage and page weight
Think about guessing how much iCloud or Google Photos your camera will eat through, budgeting CDN egress for an e-commerce gallery, picking JPEG over WebP (or the reverse) to keep your LCP fast, or sizing up a RAW backup routine on external SSDs.
FAQ
Why does my JPEG come out so much smaller than the formula? Because JPEG throws away detail your eye won't miss, that's what lossy compression does. The formula is the uncompressed/raw ceiling, not what you'll actually save.
24 or 32 bits per pixel? 24 bits is plain RGB, 8 per channel. 32 bits tacks on an 8-bit alpha channel, so reach for it only when you actually need transparency.
Does DPI affect file size? Not directly. DPI is just print metadata. The size only moves when the pixel dimensions or the bit depth change.
Related Tools
Aspect Ratio Calculator
Calculate the aspect ratio of any resolution (e.g. 1920ร1080 = 16:9). Or calculate the missing dimension from a ratio and one side.
Apple II Hi Res Resolution Calculator
Computes pixels and bytes occupied by Apple II hi res 280x192 screen with 6 active bits per byte and color bytes per line.
Aspect Ratio Image Video Calculator
Computes aspect ratio from width and height in pixels reducing to smallest integer ratio using greatest common divisor algorithm.
ADC Resolution
Compute the resolution of an analog-to-digital converter (ADC), R = FSR/2โฟ, dividing the full-scale range (FSR, in volts) by the number of levels (2 to the power of the number of bits). It is the smallest voltage step the converter distinguishes โ the more bits, the finer the resolution: a 12-bit ADC divides the range into 4096 levels. Fundamental in data-acquisition and digital-instrumentation design. Enter the full-scale range and the number of bits.
Chanel No 5 Perfume Price by Size
Estimates the approximate price of Chanel No 5 perfume by volume.
Heading Body Size Ratio
Computes h1 to h6 sizes from body using modular typographic scale.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.