ximg.es

IAB banner sizes

Every standard ad format, with a real preview and the ximg.es URL to reserve the slot in your mockup. Sizes marked “Top performer” are the ones Google recommends for AdSense.

Current IAB formats

The fixed sizes the IAB still lists, accepted by Google Ad Manager and AdSense.

Format Size (px) Preview Placeholder
Medium Rectangle Top performer Inside the content or between paragraphs 300 × 250 300 × 250 pixel placeholder https://ximg.es/mediumrectangle Aliases: /mediumrectangle, /medrec
Large Rectangle Top performer Inside the content or between paragraphs 336 × 280 336 × 280 pixel placeholder https://ximg.es/largerectangle Aliases: /largerectangle
Leaderboard Top performer Page header or footer 728 × 90 728 × 90 pixel placeholder https://ximg.es/leaderboard Aliases: /leaderboard
Half Page Top performer Sidebar 300 × 600 300 × 600 pixel placeholder https://ximg.es/halfpage Aliases: /halfpage
Large Mobile Banner Top performer Mobile, top or bottom of the screen 320 × 100 320 × 100 pixel placeholder https://ximg.es/320x100
Mobile Leaderboard Mobile, top or bottom of the screen 320 × 50 320 × 50 pixel placeholder https://ximg.es/320x50
Mobile Banner Mobile, top or bottom of the screen 300 × 50 300 × 50 pixel placeholder https://ximg.es/300x50
Large Leaderboard Page header or footer 970 × 90 970 × 90 pixel placeholder https://ximg.es/970x90
Billboard Page header or footer 970 × 250 970 × 250 pixel placeholder https://ximg.es/970x250
Wide Skyscraper Sidebar Careful: the /wideskyscraper alias returns 60 × 600 for compatibility. For 160 × 600 use /skyscraper160. 160 × 600 160 × 600 pixel placeholder https://ximg.es/skyscraper160 Aliases: /skyscraper160
Skyscraper Sidebar 120 × 600 120 × 600 pixel placeholder https://ximg.es/skyscraper Aliases: /skyscraper
Portrait Sidebar 300 × 1050 300 × 1050 pixel placeholder https://ximg.es/300x1050
Full Banner Inside the content or between paragraphs 468 × 60 468 × 60 pixel placeholder https://ximg.es/fullbanner Aliases: /fullbanner, /fban
Square Inside the content or between paragraphs 250 × 250 250 × 250 pixel placeholder https://ximg.es/squarepopup Aliases: /squarepopup
Small Square Inside the content or between paragraphs 200 × 200 200 × 200 pixel placeholder https://ximg.es/200x200

Classic formats

Formats the IAB dropped from its list but that still show up on older sites and in templates. ximg.es keeps them with their usual alias.

Format Size (px) Preview Placeholder
Vertical Rectangle Sidebar 240 × 400 240 × 400 pixel placeholder https://ximg.es/verticalrectangle Aliases: /verticalrectangle, /verrec
Half Banner Inside the content or between paragraphs 234 × 60 234 × 60 pixel placeholder https://ximg.es/halfbanner Aliases: /halfbanner, /hban
Vertical Banner Sidebar 120 × 240 120 × 240 pixel placeholder https://ximg.es/verticalbanner Aliases: /verticalbanner, /verban
Rectangle Inside the content or between paragraphs 180 × 150 180 × 150 pixel placeholder https://ximg.es/rectangle Aliases: /rectangle
Square Button Button or small logo 125 × 125 125 × 125 pixel placeholder https://ximg.es/squarebutton Aliases: /squarebutton
Button 1 Button or small logo 120 × 90 120 × 90 pixel placeholder https://ximg.es/button1 Aliases: /button1, /b1
Button 2 Button or small logo 120 × 60 120 × 60 pixel placeholder https://ximg.es/button2 Aliases: /button2, /b2
Micro Bar Button or small logo 88 × 31 88 × 31 pixel placeholder https://ximg.es/microbar Aliases: /microbar, /mbar
Pop-Under Pop-up window 720 × 300 720 × 300 pixel placeholder https://ximg.es/popunder Aliases: /popunder
— Sidebar Not an IAB format: it is what /wideskyscraper has always returned, kept so existing links don’t break. 60 × 600 60 × 600 pixel placeholder https://ximg.es/wideskyscraper Aliases: /wideskyscraper, /wskyscraper

Screen and video resolutions

Not banners, but they have aliases on ximg.es: handy for screen mockups, video players and screenshots.

Format Size (px) Preview Placeholder
CGA Screen resolution 320 × 200 320 × 200 pixel placeholder https://ximg.es/cga Aliases: /cga
QVGA Screen resolution 320 × 240 320 × 240 pixel placeholder https://ximg.es/qvga Aliases: /qvga
VGA Screen resolution 640 × 480 640 × 480 pixel placeholder https://ximg.es/vga Aliases: /vga
WVGA Screen resolution 800 × 480 800 × 480 pixel placeholder https://ximg.es/wvga Aliases: /wvga
SVGA Screen resolution 800 × 600 800 × 600 pixel placeholder https://ximg.es/svga800 Aliases: /svga800
WSVGA Screen resolution /svga also returns 1024 × 600, although SVGA is 800 × 600: use /svga800 for that. 1024 × 600 1024 × 600 pixel placeholder https://ximg.es/svga Aliases: /svga, /wsvga
XGA Screen resolution 1024 × 768 1024 × 768 pixel placeholder https://ximg.es/xga Aliases: /xga
WXGA Screen resolution 1280 × 800 1280 × 800 pixel placeholder https://ximg.es/wxga Aliases: /wxga
WXGA+ Screen resolution 1440 × 900 1440 × 900 pixel placeholder https://ximg.es/wsxga Aliases: /wsxga
WUXGA Screen resolution 1920 × 1200 1920 × 1200 pixel placeholder https://ximg.es/wuxga Aliases: /wuxga
WQXGA Screen resolution 2560 × 1600 2560 × 1600 pixel placeholder https://ximg.es/wqxga Aliases: /wqxga
NTSC Video resolution 720 × 480 720 × 480 pixel placeholder https://ximg.es/ntsc Aliases: /ntsc
PAL Video resolution 768 × 576 768 × 576 pixel placeholder https://ximg.es/pal Aliases: /pal
HD 720p Video resolution 1280 × 720 1280 × 720 pixel placeholder https://ximg.es/hd720 Aliases: /hd720
Full HD 1080p Video resolution 1920 × 1080 1920 × 1080 pixel placeholder https://ximg.es/hd1080 Aliases: /hd1080

Which banner sizes to use

If you are only reserving a few slots, these cover almost everything: 300 × 250 (Medium Rectangle) inside the content, 728 × 90 (Leaderboard) in the desktop header, 300 × 600 (Half Page) in the sidebar and 320 × 100 or 320 × 50 on mobile. They are the sizes most advertisers buy, so they fill first and pay better.

The 300 × 250 is the wildcard: it fits on desktop and mobile, between paragraphs or in the sidebar. When in doubt, start there.

AdSense responsive units

AdSense now recommends responsive units, which pick a size to fit the available space. You still design the slot, though: reserve its height in CSS so the page doesn’t jump when the ad loads (that’s what CLS in Core Web Vitals measures). A min-height with the most likely size is enough:

.ad-sidebar { min-height: 600px; } /* 300 × 600 */
.ad-content { min-height: 280px; } /* 336 × 280 or 300 × 250 */

Mocking up ad slots with placeholders

Every URL in the tables returns an image of the exact size. Drop it into the slot while you design and you’ll see how the page looks with the ad, without waiting for AdSense to serve anything in development:

<img src="https://ximg.es/mediumrectangle" width="300" height="250" alt="Ad">
<img src="https://ximg.es/leaderboard/f1f5f9/64748b.png?text=Advertisement" width="728" height="90" alt="">

Aliases (/leaderboard, /medrec, /halfpage…) accept the same colours, format and text as any other image from the generator.

Two aliases whose size doesn’t match their name

ximg.es inherits its aliases from DummyImage and doesn’t change them, because thousands of pages use them. Two of them return a different size from the one their name suggests: /wideskyscraper gives 60 × 600 (the IAB Wide Skyscraper is 160 × 600; use /skyscraper160 for that) and /svga gives 1024 × 600 (SVGA is 800 × 600; use /svga800). The tables show what each alias returns, not what it promises.

Frequently asked questions

What is the most common banner size?

The 300 × 250 (Medium Rectangle). It works on desktop and mobile, inside the content or in the sidebar, and it has the most advertisers, so it almost always fills.

Which ad sizes perform best on AdSense?

Google lists the 300 × 250, 336 × 280, 728 × 90, 300 × 600 and, on mobile, the 320 × 100. They carry the “Top performer” label in the tables.

What size is a mobile banner?

320 × 50 (Mobile Leaderboard) is the most common, and 320 × 100 (Large Mobile Banner) performs best. Inside the content, the 300 × 250 works on mobile too.

What is the IAB?

The Interactive Advertising Bureau, the digital advertising industry association. It publishes standard sizes so the same ad can run on thousands of different sites.

Why does /wideskyscraper return 60 × 600?

Because that’s what DummyImage did, and ximg.es is its successor: changing it would break existing links. For the real 160 × 600 Wide Skyscraper, use /skyscraper160.

Can I change the colour and text of a sample banner?

Yes: after the alias come the background colour, the text colour and the format, as with any ximg.es image. For example /leaderboard/f1f5f9/64748b.png?text=Advertisement.

More tools

See all tools · Placeholder image generator