Page Size Calculator

Calculate your page's total size, minified size & gzip estimates. Paste HTML, CSS, and JS to get optimization suggestions for faster loading.

Page Content
Size Analysis
💡 Why Size Matters

Page Weight & Performance

  • Larger pages take longer to download, especially on mobile networks.
  • Google uses page speed as a ranking factor for both mobile and desktop.
  • Core Web Vitals (LCP, FID, CLS) are directly impacted by page weight.
  • Ideal total page weight: under 500KB for fast loading.
📖 Optimization Tips

Reduce Page Size

  • Minify HTML, CSS, and JavaScript to remove whitespace and comments.
  • Enable Gzip/Brotli compression on your web server.
  • Compress and properly size images — they're usually the biggest files.
  • Remove unused CSS and JavaScript code.
🎯 Size Benchmarks

Target Sizes

  • HTML: Under 100KB for most pages.
  • CSS: Under 50KB total (minified + gzipped).
  • JavaScript: Under 200KB total (minified + gzipped).
  • Total page: Under 500KB for good Core Web Vitals.