HTML 5
8 min read

HTML5 Banner Ad Sizes: The Complete Guide for 2025

Every standard HTML5 banner ad size you need - from leaderboards to rectangles - with specs, best practices, and tips for building banners that perform.

What Are HTML5 Ads and Why Should You Be Using Them?
Written by
Thomas Kragh
Published on
April 27, 2026

Why Banner Ad Sizes Matter

Using the wrong banner size means your ad won't serve, won't render correctly, or won't be eligible for the highest-traffic placements. Ad networks have strict size requirements, and getting them right from the start saves hours of rework.

HTML5 banners are now the standard across display advertising. Flash is gone, and static images are increasingly replaced by lightweight animated HTML5 units that perform better and respect user experience.

The Most Important Banner Sizes

Leaderboard - 728x90

One of the most common display placements. Sits at the top of the page above the fold. High visibility, moderate click-through rates. Works best with a clear headline and one CTA.

Medium Rectangle - 300x250

The most widely available and purchased display ad size globally. Works in sidebars, within content, and at the bottom of articles. If you only build one size, build this one.

Large Rectangle - 336x280

Similar to the medium rectangle but slightly larger. Often outperforms the 300x250 in terms of CTR due to increased visibility.

Half Page - 300x600

A premium placement with strong engagement. Dominates the sidebar and gives you much more creative space. Works well for brand awareness campaigns.

Billboard - 970x250

A high-impact format used for above-the-fold placements on desktop. Excellent for brand campaigns with strong visuals.

Mobile Banner - 320x50

The standard mobile banner. Small but ubiquitous. Keep copy minimal - one line and a clear CTA is all you have room for.

HTML5 File Size Limits

Most networks cap HTML5 banner file size at 150KB for the initial load. Keep animations lightweight, compress images, and defer any heavy assets. Google Display Network and DV360 have strict enforcement.

How Campaign Builder Helps

Campaign Builder generates HTML5 banners in all standard sizes from a single template. Change the creative once and export all sizes instantly - ready to upload to any ad network.

Want to build HTML5 banners faster? Explore Campaign Builder HTML5 Ads - generate all standard banner sizes from one template and export instantly.

Create More Campaigns. In Less Time

Scale Campaigns Like Never Before

Turn your creation process into a scalable, automated engine. Build hundreds of high-performing campaigns in minutes.