文件大小估算

🔮 Image File Size Estimator

Estimate image file size from resolution, bit depth and compression ratio before shooting or exporting.

📐 计算公式与说明

照片文件大小估算(本页代码口径):未压缩大小=像素数×位深÷8(B),换算 MB 再除 1024×1024,像素数=百万像素×10⁶;压缩后≈未压缩÷压缩比(1=无损、约 3=RAW、约 10=JPEG);联动量:每像素 bit=位深。校验:三字段经输入守卫必填且须为合法数值,否则提示并中止。判据:无固定分级,压缩比越大文件越小,估算不含元数据与容器开销。

实际大小因图像内容而异。

⚠️ Unit-basis notice: this page uses 1 MB = 1024×1024 bytes (binary, MiB), while storage-card vendors label capacity as 1 GB = 1000 MB (decimal) — about 7.4% apart. When cross-checking "shots × file size" against card capacity, pair this with the card-capacity estimator (decimal basis) to avoid mixing bases.

📚 深度解析:未压缩/压缩图片大小

💡 常见使用场景

24MP 14bit
24MP、14bit:未压缩 = 24e6×14/8/1e6 ≈ 42MB;压缩比 4 → 约 10.5MB/张,连拍 100 张约 1GB。
位深影响
同 24MP 改 12bit:未压缩 = 24×12/8 = 36MB,降 6MB;高位深保留更多后期空间但更占卡。

❓ 常见问题(FAQ)

未压缩大小怎么算?
像素数×位深(bit)÷8 = 字节,再转 MB;RAW 多含元数据与冗余略大于此。
压缩比可信吗?
无损压缩约 1.2–1.5×,有损 JPEG 可达 5–10×;估存储用典型比并留余量。

Formula & Standard References

Item Formula / Rule Source / Standard
Uncompressed size Bytes = pixels × bit depth ÷ 8 × channel count ISO 12234-2:2001 Electronic still-picture imaging — TIFF/EP
Compression factor Lossless 14-bit RAW lands at 0.5 to 0.7 of raw size, while JPEG at quality 90 is near 0.1 ISO/IEC 10918-1 JPEG standard
Metadata overhead Thumbnails, XMP and maker notes add another 0.2 to 2 MB ISO 12234-2:2001 Electronic still-picture imaging — TIFF/EP