Uncompressed Image Size Calculator
Estimate raw pixel storage from width, height and bits per pixel.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Width (px) | Enter width in px; use the same basis as the other measurements. |
| Height (px) | Enter height in px; use the same basis as the other measurements. |
| Bits per pixel (bit) | Enter bits per pixel in bit; use the same basis as the other measurements. |
| Frames | Enter frames using the definition in the method and example. |
Understanding your result
Read Uncompressed size (B), Uncompressed size (MB) in the units and model stated on this page. The formula bytes = ceil(width * height * depth / 8) * frames · megabytes = bytes / 1000000 defines the relationship; measurement accuracy and model applicability are separate from numerical precision.
Common mistakes
- Mixing input units or changing the physical meaning of a variable without changing the model.
Check your calculation
- Use the worked example as a known reference case, then change one input at a time and check the direction and units of the response.
Calculation checks, sources and review limits
How large is an image before compression?
Estimate raw pixel storage from width, height and bits per pixel.
Common uses
- How large is an image before compression
How it works
bytes = ceil(width * height * depth / 8) * frames; megabytes = bytes / 1000000
Worked example
Enter Width: 1920 px; Height: 1080 px; Bits per pixel: 24 bit; Frames: 1 . Results: Uncompressed size: 6220800 B; Uncompressed size: 6.2208 MB.