Calculator4Everyone

Page Payload Budget Calculator — developer utilities, encoders and data format tools

Calculate a realistic page weight budget from your target load time and audience speed, and see what remains for images and video.

Category: SEO Tools

About this tool

What Is the Page Payload and Bandwidth Budget Calculator? This tool answers a practical question: how many kilobytes can your site afford at a given network speed and load time? Once you enter your file sizes it returns the total budget, the allowance left for media, and the maximum size allowed per image or media element. Inputs The target network speed, chosen from four presets: 20, 60, 150 and 300 Mbps. The target load time in seconds. The HTML document size in kilobytes. The combined script size in kilobytes. The CSS size in kilobytes. The web font size in kilobytes. The number of media elements such as images and videos. How the Calculation Works The total budget is the network speed multiplied by 125 and then by the target time, giving kilobytes. The four static sizes are added together: HTML, scripts, stylesheets and fonts. The media allowance is the total budget minus the static total, clamped so it cannot go negative. The allowance is divided by the number of media elements and rounded down to give the per item limit. A Worked Example On a 20 Mbps connection with a two second target, the budget is 20 × 125 × 2 = 5000 KB. If the document, scripts, styles and fonts come to 810 KB, that leaves 4190 KB for media. Across 8 images the per image limit is about 523 KB. Important Notes The budget assumes the full data arrives within the target time, so raise it to match slower

Browse all tools — Browse categories