export const prerender = true; Page Weight Calculator - Check Website Size | DMWDS Skip to main content

Page Weight Calculator

Page Weight Calculator

Check if your website is under the recommended 2MB limit. Lighter pages = Better rankings.

https://

The 2MB Rule

With the rise of Mobile-First Indexing, Google has emphasized the importance of lean websites. A "heavy" website consumes more data and loads slower on mobile networks. The goal should be to keep the "Initial Load" under 2MB.

How to Reduce Page Weight

1

Optimize Images

Use WebP/AVIF instead of PNG/JPG. Use srcset for responsive images and lazy loading for images below the fold.

2

Reduce JavaScript

Remove unused code, use code-splitting, and load scripts with defer/async.

3

Optimize Fonts

Limit font styles and use font subsetting to only load needed characters.

4

Minify CSS

Remove unused CSS with PurgeCSS and minify remaining styles.

Frequently Asked Questions

What is the 2MB rule?
Google recommends keeping the initial page download under 2MB. This includes HTML, CSS, JavaScript, images, and fonts. Pages over 2MB load significantly slower on mobile networks.
Why are images the biggest factor?
Images typically account for 50-70% of total page weight. By converting to WebP/AVIF and implementing lazy loading, you can often save 30-50% of total page weight.
What happens if my page is too heavy?
Heavy pages load slower, leading to higher bounce rates. Google favors fast pages in rankings, and mobile users with limited data plans leave heavy pages more frequently.
Call