KB

Image File Size Estimator

Estimate output size for different image formats and quality levels

—Original size
—Estimated size
—Size change

Image File Size Estimator — what it does

Try an output format and quality setting against your image and see the estimated file size and the change from the original before committing to it. It converts the usual guesswork — export, check, undo, export again — into one comparison you can read directly.

Worked example

A 142.1 KB gradient test image (photo-1600x1200.png) tried at four format and quality settings; each row is the figures the page displayed. A real photograph compresses far less dramatically.

FormatQualityEstimated sizeChange
JPG8026.8 KB-81.1%
WebP8014.6 KB-89.7%
PNG80 (ignored)46.2 KB-67.5%
JPG5015.2 KB-89.3%

The estimate comes from a real encode of the full image, and the download button saves that exact file — photo-1600x1200.jpg at 15,600 bytes for the last row. PNG is lossless, so the quality slider does nothing there.

When this tool helps

  • Finding the quality level that lands a photo just under an upload size limit.
  • Comparing JPG against WebP for the same picture to see what the format change is actually worth.
  • Budgeting page weight when a layout calls for a dozen images.

How to use it

  1. Choose the image.
  2. Select an output format.
  3. Adjust the output quality.
  4. Read the estimated size and change, then download if it fits.

Accuracy, limits, and good practice

  • Compression efficiency depends on content: a flat graphic shrinks dramatically while a detailed landscape resists at any quality.
  • If quality alone cannot get you under a limit, reduce dimensions — fewer pixels beats harder compression for both size and appearance.
  • Estimates come from actually encoding the image, so what you see is what the downloaded file will be.

Frequently asked questions

Why is my PNG barely changing?

PNG is lossless, so the quality control has little to do. Photographs need JPG or WebP for real reductions.

Which format wins most often?

WebP, typically 25 to 35 percent smaller than JPG at matching visual quality, and supported by every current browser.

Does the estimate include metadata?

The re-encoded output carries no EXIF, which is part of why the result can be smaller than the source at the same quality.

What is the downloaded file called?

The original name with the extension replaced by the chosen format: photo-1600x1200.jpg, .webp or .png. It is the same blob the estimate was measured from, so the size matches to the byte.

What happens to transparency when I estimate as JPEG?

The canvas is filled white before the image is drawn, so transparent areas become white in the JPEG; WebP and PNG keep the alpha channel. The original size shown is the file as chosen, metadata included.

Related tools on this site

Everything above runs inside this page. Image File Size Estimator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.

圖片檔案大小估算能做什麼

在真正決定之前,先用不同輸出格式與品質試算,看看估計檔案大小以及相對原檔的變化。它把「匯出、檢查、復原、再匯出」的猜謎過程,變成一次可以直接讀懂的比較。

實際範例

以 142.1 KB 的漸層測試圖(photo-1600x1200.png)試四組格式與品質設定;每列是頁面顯示的數字。真實照片的壓縮幅度不會這麼大。

格式品質估計大小變化
JPG8026.8 KB-81.1%
WebP8014.6 KB-89.7%
PNG80(不生效)46.2 KB-67.5%
JPG5015.2 KB-89.3%

估計值來自整張圖的實際編碼,下載鈕存的就是這個檔案——最後一列是 15,600 位元組的 photo-1600x1200.jpg。PNG 是無損格式,品質滑桿對它沒有影響。

什麼時候用得上

  • 找出讓照片剛好落在上傳容量限制以下的品質設定。
  • 用同一張圖比較 JPG 與 WebP,看換格式究竟值多少。
  • 版面要放十幾張圖時,先估算頁面重量預算。

使用步驟

  1. 選擇圖片。
  2. 選擇輸出格式。
  3. 調整輸出品質。
  4. 查看估計大小與變化,符合就下載。

精確度、限制與實務建議

  • 壓縮效率取決於內容:平面圖形會大幅縮小,細節豐富的風景照則無論品質怎麼調都很難壓。
  • 若光靠品質壓不到限制以下,就縮尺寸——就大小與觀感而言,減少像素都勝過硬壓。
  • 估算是實際編碼後得到的,所以看到的就是下載檔案的大小。

常見問題

為什麼我的 PNG 幾乎沒變?

PNG 是無損格式,品質設定作用有限。照片要真的變小得用 JPG 或 WebP。

哪種格式最常勝出?

WebP。同等視覺品質下通常比 JPG 小 25% 至 35%,且目前所有瀏覽器都支援。

估算有包含中繼資料嗎?

重新編碼後的輸出不含 EXIF,這也是同樣品質下結果可能小於原檔的原因之一。

下載的檔案叫什麼?

原檔名把副檔名換成所選格式:photo-1600x1200.jpg、.webp 或 .png。它和估計時量到的是同一個 blob,所以大小一個位元組都不差。

估成 JPEG 時透明區域會怎樣?

畫布會先填成白色再畫上圖片,所以透明區域在 JPEG 裡變成白色;WebP 與 PNG 則保留 alpha 通道。頁面顯示的原始大小是所選檔案本身的大小,包含中繼資料。

本站相關工具

以上步驟全部在這個頁面內完成,圖片檔案大小估算 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。