Page Weight Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free page weight calculator. Add up HTML, CSS, JavaScript, images and fonts to get total page size, each type's share and download time on slow and fast connections.
- Total in MB
- 0
- On 1.6 Mbps (slow 4G)
- 0
- On 10 Mbps
- 0
- On 50 Mbps
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the page weight calculator
- Find the size of each resource type. Open your browser's developer tools (F12), go to the Network tab, reload the page and filter by type: Doc (HTML), CSS, JS, Img, Font and Other. WebPageTest and PageSpeed Insights also report this.
- Enter each size in kilobytes (KB). Use the transferred size (after compression) to measure what the visitor downloads.
- Add a budget (optional): the most you want the page to weigh.
- Read the result: total page weight, each type's share, and the download time on slow, medium and fast connections.
The page weight calculator does the arithmetic in your browser. It doesn't load your page.
What page weight is
Page weight is the total size of everything a browser downloads to show a page: the HTML document, stylesheets, scripts, images, fonts, videos and anything else. It's one of the simplest measures of how heavy a page is, and heavier pages generally take longer to load, especially on mobile networks.
According to the HTTP Archive's Web Almanac, the median mobile home page has grown to over 2 MB, with images and JavaScript making up most of it. Many fast, simple pages weigh far less.
The formulas
The calculator adds up the sizes you enter:
- Total = HTML + CSS + JavaScript + images + fonts + other
- Share = each type ÷ total × 100
- Download time = total KB × 8 ÷ 1,000 ÷ connection speed in Mbps
The × 8 converts bytes to bits, because connection speeds are measured in megabits per second. The three speeds shown are:
- 1.6 Mbps: roughly the "slow 4G" throttling profile that Lighthouse has long used for mobile tests;
- 10 Mbps: a typical mobile or modest broadband connection;
- 50 Mbps: a good home broadband connection.
These are idealised transfer times: they assume the connection is fully used. Real page loads also include latency, many separate requests, and time to process and render, so actual load times are longer.
A worked example
A service page's Network tab shows:
| Resource | KB | Share |
|---|---|---|
| HTML | 45 | 2.1% |
| CSS | 80 | 3.7% |
| JavaScript | 520 | 24.0% |
| Images | 1,400 | 64.7% |
| Fonts | 120 | 5.5% |
| Total | 2,165 |
- Total: 2,165 KB, about 2.11 MB
- Download time: 10.8 s at 1.6 Mbps, 1.7 s at 10 Mbps, 0.35 s at 50 Mbps
- Budget: 665 KB over a 1,500 KB budget
Images are almost two-thirds of the page. Compressing them and serving modern formats could cut hundreds of kilobytes with no visible difference. JavaScript is a quarter of the weight, and because scripts must also be processed, cutting unused scripts often helps speed more than the kilobytes suggest.
Where page weight comes from
Images
Usually the largest share. Common causes: uploading photos straight from a camera or phone, serving desktop-sized images to phones, and using PNG for photographs. Fixes:
- Resize images to the size they're displayed at. The image resizer helps.
- Compress them and use WebP or AVIF. The image compressor does this in your browser.
- Lazy-load images below the fold (but not the main hero image).
- Use
srcsetso phones download smaller versions.
JavaScript
Analytics, tag managers, chat widgets, sliders, A/B testing tools and frameworks add up quickly. JavaScript costs twice: once to download and again to parse and run, which affects responsiveness.
- Remove scripts you don't use.
- Load non-essential scripts after the page is usable.
- Check tag manager containers for old tags.
Fonts
Each weight and style is a separate file. Two or three font files are usually enough. Use WOFF2 and consider system fonts for body text.
CSS and HTML
Usually small, especially when compressed with gzip or Brotli. Large CSS files often come from themes and page builders that include styles for every possible component.
Setting a page weight budget
A performance budget is a limit you agree to stay under, such as "1,500 KB per page" or "under 300 KB of JavaScript". It keeps pages fast as features are added. Choose a budget based on your audience: if many visitors use mobile data, aim lower. Check the budget whenever you add a plugin, script or large image.
Page weight and Core Web Vitals
Page weight isn't a Core Web Vital, but it affects them. Large images delay Largest Contentful Paint, and heavy JavaScript hurts Interaction to Next Paint. The Core Web Vitals checker rates those metrics. For landing pages used in Google Ads, a lighter page loads faster for people who've just paid you a click's worth of attention.
Glossary
- Page weight: the total bytes downloaded to display a page.
- Transferred size: the size sent over the network, after compression.
- KB / MB: kilobytes and megabytes. This calculator uses 1 MB = 1,024 KB.
- Mbps: megabits per second, the unit of connection speed.
- Performance budget: an agreed limit on page size or speed.
- Lazy loading: loading images or content only when they're about to be seen.
Mistakes to avoid
- Measuring uncompressed sizes instead of transferred sizes.
- Testing only on fast Wi-Fi.
- Ignoring third-party scripts, which often outweigh your own code.
- Lazy-loading the main image, which slows the visible load.
- Never re-checking after adding plugins or tags.
Who this tool is for
The page weight calculator is for developers setting performance budgets, marketers checking landing pages, and site owners trying to understand why a page feels slow. It turns a developer tools report into a clear breakdown that's easy to share.
Privacy
All calculations happen in your browser. Nothing is uploaded.
A quick page weight audit
Use this routine on your most important pages, such as the home page, key service pages and ad landing pages:
- Open the page in a private window with developer tools open on the Network tab, and tick "Disable cache".
- Reload and note the transferred total at the bottom of the panel.
- Sort by size and look at the ten largest files. They usually account for most of the weight.
- Enter the totals by type into the page weight calculator and compare with your budget.
- Fix the largest items first: resize and compress images, remove unused scripts and fonts.
- Check again after each change, to confirm the saving.
Third-party scripts
Many of the heaviest files on small business sites aren't written by the site owner: chat widgets, review carousels, social embeds, video players, heat-mapping tools, A/B testing tools and several analytics tags. Each one can add hundreds of kilobytes and its own requests. List every third-party script, ask what each one is used for, and remove anything no longer needed. Loading the rest only after the page is usable, or when someone interacts with them, can make a big difference.
Video and maps
Embedded videos and maps are often the biggest single addition to a page. A common technique is to show a lightweight preview image first, and load the full player or map only when someone clicks it. The page looks the same, but it downloads far less until the visitor asks for the video or map.
Explaining page weight to non-technical colleagues
Page weight is easier to discuss than many performance metrics, because everyone understands file sizes. A useful comparison is the visitor's mobile data: a 2 MB page viewed by 10,000 visitors a month transfers about 20 GB of data. Cutting it to 1 MB halves that, and every visitor on a slow connection gets the page much sooner. Framing improvements in terms of speed for real customers usually wins support faster than talking about scores.
Want someone to run the ads for you?
Want these numbers to improve? These numbers only improve when the account behind them is run well, search term by search term. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
What is a good page weight?
There's no single rule. Lighter is faster; many fast pages are well under 1 MB, while the median mobile page is over 2 MB. Set a budget that suits your audience.
How do I find my page weight?
Open developer tools (F12), choose the Network tab and reload. The bottom bar shows the total transferred size; filter by type to see each part.
Why are real load times longer than the calculator shows?
The calculator shows pure transfer time. Real loads add latency, many separate requests, and time to process and render.
What usually makes pages heavy?
Images, followed by JavaScript. Compressing and resizing images is often the biggest quick win.
Does page weight affect SEO?
Indirectly. It affects loading speed and Core Web Vitals, which are part of page experience, and it affects how visitors behave.
Is the page weight calculator free?
Yes. It's free, needs no sign-up, and runs in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.