Image File Size Estimator
Estimate uncompressed and compressed image file sizes from pixel dimensions, colour depth and a compression ratio.
Your inputs
Results
Estimated compressed size
7.2 MB
- Uncompressed size
- 72 MB
- Megapixels
- 24 MP
≈Estimate based on the stated model and assumptions
Notes for this result
- Compressed size depends heavily on image content and quality settings.
What this calculator does
Raw image size is pixels × bits per pixel. Compression shrinks it depending on content and quality.
Formula and method
Uncompressed bytes = width × height × bit depth ÷ 8; compressed ≈ uncompressed ÷ ratio
Worked example
Calculated by this tool with its default inputs:
Inputs
- Width: 6000 px
- Height: 4000 px
- Colour depth: 24-bit RGB
- Compression ratio (1 = none; JPEG often 8–15): 10
Results
- Estimated compressed size: 7.2 MB
- Uncompressed size: 72 MB
- Megapixels: 24 MP
How to read the results
Megapixels are width × height ÷ 1,000,000.
Assumptions and limitations
- Camera RAW files use their own compression and metadata.
Questions
What compression ratio does JPEG achieve?
Often about 8–15:1 at good quality, depending on the image.
Methodology and verification
- Result type
- Estimate based on the stated model and assumptions
- Formula version
- 1.0
- Automated verification
- 2 reference and validation test cases, checked against independently computed values. The site cannot be built if any of them fail.
- Editorial review
- Awaiting human editorial review. The explanation was drafted with AI assistance; the formula and examples are verified by the automated tests above.
Privacy
Everything you enter is calculated in this browser and is not sent to Numerith or anyone else. Inputs are added to a share link only if you choose to include them. Privacy policy