The size of an image file depends on how many pixels it has and how many bits describe each one, and knowing this helps you plan storage and pick memory cards. This calculator estimates the file size from your megapixel count and bit depth. It shows the uncompressed size, a realistic RAW size after the mild lossless compression cameras apply, and a typical JPEG size at high quality. Enter your resolution and bit depth, then add your memory card size, and it tells you roughly how many photos of each type will fit. RAW files preserve the most detail for editing but eat storage quickly, while JPEG saves space at the cost of some flexibility. This is useful before a shoot, a trip, or an event where you cannot swap cards easily. All the math runs in your browser, so nothing you enter is sent to a server.
It multiplies megapixels by the bit depth per pixel to estimate the uncompressed data size, then reports a realistic RAW size that accounts for typical lossless compression.
JPEG uses lossy compression that discards data the eye barely notices, so a JPEG is often a fraction of the RAW size depending on quality and image content.
Yes, enter your memory card capacity and it divides by the per file estimate to show roughly how many RAW or JPEG images fit.
The size of an image file depends on how many pixels it has and how many bits describe each one, and knowing this helps you plan storage and pick memory cards. This calculator estimates the file size from your megapixel count and bit depth.
Yes. Photo File Size Estimator is completely free, with no sign-up and no usage limits.
Yes. Photo File Size Estimator runs in any modern web browser. There is nothing to download or install.
Yes. Photo File Size Estimator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/photo-file-size-estimator)