Image File Size Calculator
Image File Size is evaluated from Image Width, Image Height and Bit Depth. The calculation reports Uncompressed Size, JPEG Estimate and PNG Estimate.
Results
About the Image File Size Calculator
The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.
Formula basis:
Raw bytes = Width x Height x 3 bytes/pixel (8-bit RGB)
JPEG approximately raw/10, PNG approximately raw/2
Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.
Formula & How It Works
The calculation applies the following relations exactly as recorded in the metadata: Raw bytes = Width x Height x 3 bytes/pixel (8-bit RGB) JPEG approximately raw/10, PNG approximately raw/2 Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.
Worked Examples
Example 1: 12MP smartphone photo: 4000×3000 pixels, 8-bit
Inputs
With Image Width = 4,000, Image Height = 3,000 and Bit Depth = 8 as the stated inputs, the result is Uncompressed Size = 34.33 MB, JPEG Estimate = 3.43 MB and PNG Estimate = 17.17 MB. Each value corresponds to the declared output fields.
Example 2: 4K camera frame: 3840×2160, 8-bit
Inputs
With Image Width = 3,840, Image Height = 2,160 and Bit Depth = 8 as the stated inputs, the result is Uncompressed Size = 23.73 MB, JPEG Estimate = 2.37 MB and PNG Estimate = 11.87 MB. Each value corresponds to the declared output fields.
Example 3: RAW photo from Canon EOS R5: 8192×5464, 16-bit
Inputs
With Image Width = 8,192, Image Height = 5,464 and Bit Depth = 16 as the stated inputs, the result is Uncompressed Size = 256.13 MB, JPEG Estimate = 25.61 MB and PNG Estimate = 128.06 MB. Each value corresponds to the declared output fields.
Example 4: Web banner image: 1200×628, 8-bit (standard Open Graph)
Inputs
With Image Width = 1,200, Image Height = 628 and Bit Depth = 8 as the stated inputs, the result is Uncompressed Size = 2.16 MB, JPEG Estimate = 0.22 MB and PNG Estimate = 1.08 MB. Each value corresponds to the declared output fields.
Common Use Cases
- Estimate storage needed for image files
- Compare file sizes of different image formats
- Plan storage for photography projects