Image File Size Budget Planner

Set a page weight budget, enter your image count and size, and see the estimated file size per image and whether it fits, with a suggested size or quality.

Plan your image budget

Estimates

-Budget per image
-Estimated size per image
-Fit

Total for all images: -

Recommendation:

What Is the Image File Size Budget Planner?

An image file size budget planner helps you decide how big each picture on a page can be. Images are often the heaviest part of a web page, and a slow page costs visitors patience and can hurt how the page performs in search. Most sites set a rough weight target for their images, but dividing that target across a page is awkward when each picture has different dimensions, formats and quality settings. This planner takes your total budget and image count, divides the budget evenly, and estimates how large each image will be at the dimensions and format you enter. It then recommends a quality setting or a smaller size that brings the image within its share of the budget.

How to Use the Image File Size Budget Planner

The planner gives an instant estimate. Follow these steps:

  1. Enter the total image budget for the page, in kilobytes. Decide this from your performance goals and the number of images you need.
  2. Enter the number of images that share the budget.
  3. Choose the format you plan to export: JPEG for photographs, WebP for a smaller file at similar quality, or PNG for graphics that need sharp edges or transparency.
  4. Enter the width and height in pixels, and choose a quality setting for JPEG or WebP.
  5. Read the estimate and the fit verdict. If the image is over budget, follow the recommendation, then export a test file and check it.

How It Works

The budget per image is the total budget divided by the number of images. A budget of 1,000 KB shared across five images gives 200 KB each. The estimate for one image starts from its pixel count, which is the width multiplied by the height. That count is multiplied by an approximate number of bits per pixel for the format and quality, then divided by eight to give bytes. The result is converted to kilobytes by dividing by 1,024.

The bits-per-pixel values are rough figures for photographic content. For JPEG they are about 0.35 bits per pixel at quality 50, 0.5 at 65, 0.7 at 80 and 1.0 at 90. WebP is assumed to be about 75 percent of the JPEG figure at the same quality. PNG is lossless, so the tool uses a fixed figure of 12 bits per pixel, which is typical for photographs. Graphics with flat colours compress far better, so PNG estimates for those images are pessimistic.

The recommendation works in order. If the current size fits, the tool reports the highest quality setting that still fits. If it does not fit and the format is JPEG or WebP, the tool tries the quality settings from highest to lowest and suggests the first one that brings the image within budget. If no quality setting fits, or the format is PNG, the tool calculates a smaller size with the same aspect ratio, using 80 quality for the calculation, and rounds the dimensions down to the nearest 10 pixels.

Worked Examples

Example 1: five JPEG images with room to spare. A 1,000 KB budget shared across five images gives 200 KB each. A 1,200 by 675 pixel JPEG at quality 80 is estimated at about 69 KB, so it fits. The five images total about 346 KB. The recommendation notes that quality 90 would still fit.

Example 2: the same size as a PNG. Keeping the same budget and dimensions but choosing PNG gives an estimate of about 1,187 KB per image, which is far over the 200 KB share. PNG cannot be reduced by a quality setting, so the tool suggests a size of about 490 by 270 pixels, or a switch to JPEG or WebP.

Example 3: an empty budget. If you enter zero images, the tool asks you to enter at least one image before it calculates anything, because a budget cannot be divided by zero.

Common Mistakes to Avoid

The most common mistake is planning from the display size rather than the file size. An image shown at 400 pixels wide on screen may still be exported at 2,000 pixels, which makes the file far larger than needed. Export at the size you display, with a little extra for high-density screens. Another mistake is using PNG for photographs because it looks sharper on the screen, when a good JPEG or WebP is usually smaller at a similar visual quality. Many people also forget about other page weight, such as scripts and fonts, and budget all of the page for images. Finally, do not trust an estimate without a test export, because the real file size depends on the picture itself.

Tips for Best Results

Export images at the largest size they will be displayed and no larger. Use WebP where your audience supports it, and keep JPEG as a fallback if needed. Set the quality by eye, comparing the export with the original at the size visitors will see. Reserve PNG for logos, icons and diagrams. Finally, make the budget a habit: check the weight of each new image before you upload it, rather than fixing a heavy page later.

Checking the real file after export

Export a test file at the planned size and quality, then look at it at the size readers will see. Compare the actual file size in your export dialogue with the estimate, and note any difference for next time. Your browser developer tools can show how many bytes each image transfers on a page load. Adjust the planner with those real figures and repeat the export, because each subject and encoder behaves a little differently.

Frequently Asked Questions

How accurate are the size estimates?

They are rough. Actual file size depends on image content, the encoder, metadata and the settings used. Busy photographs compress less than plain graphics, so check the real file after export.

Is WebP always smaller than JPEG?

Usually at a similar visual quality, WebP files are smaller, and the tool assumes about 25 percent less. The gap varies by image, so compare a sample export if file size is critical.

Why should I use PNG only for some images?

PNG is lossless, so it keeps every pixel exactly. That suits diagrams, logos and images with sharp edges or transparency, but it is usually much larger for photographs.

What quality setting should I choose?

Around 80 is a common balance for JPEG photographs. Lower values save bytes but can show artefacts, and higher values look better but cost more. Let the recommendation guide you, then check the image on screen.

Does the tool store my numbers?

No. The planning runs in your browser, and nothing you enter is sent to ToolHuby. You do not upload any images to use the tool.

By the ToolHuby editorial team. Last updated October 29, 2026.