Page Weight Budgets: Splitting Megabytes Into Kilobytes Per Asset

Turn a page weight budget in MB into kilobyte limits for images, scripts, fonts and CSS, read transfer vs resource sizes, and keep web pages fast.

Updated September 29, 2026 5 min read

Use the free MB to KB ConverterConvert megabytes to kilobytes for upload limits and file sizes

A performance budget usually starts as a single number: "the home page should stay under 1.5 MB" or "product pages under 1 MB". That is easy to agree on and hard to enforce, because nobody builds a page as one file. Designers export images, developers add scripts and fonts, and each asset is measured in kilobytes. To make the budget useful, you have to split megabytes into kilobyte allowances for each type of asset.

This guide explains how megabytes and kilobytes relate, shows a way to divide a page budget across asset types, and explains the size figures you see in browser tools so you measure the right thing.

Megabytes and kilobytes

In decimal (SI) units, which most web tools and file systems in browsers use for display:

  • 1 MB = 1,000 KB
  • 1 KB = 1,000 bytes
MB KB
0.1 100
0.5 500
1 1,000
1.5 1,500
2 2,000
2.5 2,500

Some tools use binary units, where 1 KiB is 1,024 bytes and 1 MiB is 1,024 KiB (1,048.576 decimal KB). The difference is about 2.4% at the kilobyte level and about 4.9% at the megabyte level. For budgets, pick one convention, write it down, and measure with the same tool every time. For the full story, see is 1 GB 1,000 MB or 1,024 MB.

Converting with the tool

The MB to KB Converter turns a page budget into kilobytes you can divide:

  1. Open the converter. The left box is labelled Megabytes (MB), the right box Kilobytes (KB).
  2. Type the page budget, for example 1.5.
  3. Read the result: 1.5 MB = 1,500 KB.
  4. To check an individual asset against the budget, type its KB size into the right box and read megabytes. For instance, 150 KB is 0.15 MB.
  5. The list underneath includes kibibytes (KiB) and mebibytes (MiB), useful if your build tool reports binary units.
  6. Copy the result into your budget document.

Splitting a budget by asset type

There is no universal right split; it depends on the page. A content page may be image-heavy, while a web app may be script-heavy. Here is an illustrative split of a 1.5 MB (1,500 KB) budget for a marketing page:

Asset type Share Allowance
Images 50% 750 KB
JavaScript 25% 375 KB
Fonts 10% 150 KB
CSS 5% 75 KB
HTML and other 10% 150 KB

Then break the largest categories down further. With 750 KB for images and one hero image plus eight thumbnails, you might allow 250 KB for the hero and about 60 KB for each thumbnail (8 × 60 = 480 KB, leaving a little headroom).

The value of doing this in kilobytes is that each person can check their own work: the designer exporting the hero knows the target is 250 KB, not "part of 1.5 MB".

Transfer size vs resource size

Browser developer tools often show two sizes for each request:

  • Transfer size: bytes actually sent over the network, after compression such as gzip or Brotli, plus headers.
  • Resource size: the size of the file after it has been decompressed.

Text files like JavaScript, CSS and HTML compress well, so their transfer size can be much smaller than their resource size. Images and fonts are usually already compressed, so the two figures are close.

Decide which one your budget uses. Transfer size reflects download time; resource size for JavaScript reflects how much code the browser must parse and run, which also affects speed. Many teams set budgets on both.

Checking and enforcing the budget

  1. Measure a baseline. Load the page with the browser's network panel open, cache disabled, and note the total transferred. Our Page Speed Test also reports page size.
  2. Group by type. Most network panels can filter by images, scripts, fonts and stylesheets.
  3. Compare with allowances. Anything over budget is a candidate for compression, resizing, lazy loading or removal.
  4. Automate if you can. Many build tools can warn or fail a build when a bundle exceeds a set size.

Fixing oversized images

Images are usually the easiest win. Resize to the largest size actually displayed, then compress. Image Compressor and Image Resizer handle both in the browser, and converting photos to modern formats such as WebP often reduces size further.

Other ways to convert

  • Multiply by 1,000: MB to KB in decimal units is exact and easy.
  • Spreadsheet: list each asset's size in KB and use =SUM(B2:B40)/1000 to compare the total with the MB budget.
  • Binary units: if your tooling reports KiB, multiply by 1.024 for decimal KB.

For the reverse direction, KB to MB sums kilobyte assets into megabytes.

Pitfalls

Measuring with a warm cache

Repeat visits load files from the cache, so a page can look tiny when it is not. Disable the cache or use a private window for budget checks.

Forgetting third-party scripts

Analytics, chat widgets, video embeds and ad scripts count toward page weight, even though you did not write them. Include them in the budget.

Only checking the home page

Budgets usually slip on templates that get less attention: blog posts with many images, or product pages with carousels. Check the heaviest template, not just the home page.

Frequently asked questions

How many KB are in 1 MB?

1,000 KB in decimal units. In binary units, 1 MiB is 1,024 KiB.

What is a page weight budget?

A limit on the total size of a web page's resources, agreed by the team and used to keep pages fast. It is usually set in KB or MB, sometimes per asset type.

Should I budget on transfer size or resource size?

Transfer size reflects download time; resource size for scripts reflects processing work. Many teams track both, and the important thing is to be consistent.

How big should a website image be in KB?

It depends on the image's role and display size. Setting a specific allowance per image, derived from your page budget, is more useful than a single rule.

Is 1.5 MB a big web page?

It depends on the type of page and your audience's connections. Measure your own pages and set a budget that keeps them fast for your users.

Try it now: MB to KB Converter

Loading tool…