Web Banner Ads
A Practical Construction Guide
A beginner-friendly guide to designing, sizing, and publishing effective web banner advertisements
1. What Is a Banner Ad?
A web banner ad is a rectangular graphic displayed on a webpage, designed to attract attention and direct visitors to a product, service, or website. They appear at the top, bottom, sides, or within the content of a page.
Why size and file weight matter:
- Ad networks enforce strict dimension and file size limits — submit the wrong size and your ad won't run
- Oversized files load slowly, damaging user experience and ad performance
- Correct dimensions ensure your banner fits its placement without distortion or cropping
2. Standard IAB Banner Sizes
The Interactive Advertising Bureau (IAB) defines the industry-standard sizes. The following are the most widely supported:
| Banner Name | Dimensions (px) | Common Use |
| Medium Rectangle | 300 × 250 | Most universal — works almost everywhere |
| Leaderboard | 728 × 90 | Top/bottom of page, desktop |
| Half Page | 300 × 600 | High impact, sidebar |
| Wide Skyscraper | 160 × 600 | Sidebar, desktop |
| Mobile Banner | 320 × 50 | Mobile devices, top/bottom |
| Large Mobile Banner | 320 × 100 | Mobile, higher visibility |
| Billboard | 970 × 250 | Large desktop placements |
| Large Rectangle | 336 × 280 | In-content, desktop |
Tip: If you can only make one size, make the Medium Rectangle (300×250) first — it has the widest placement support across ad networks and websites.
3. Resolution and Pixel Density
Standard web resolution is 72ppi (pixels per inch). Unlike print, web images are measured in pixels, not inches.
Retina and High-DPI Screens
Many modern devices (phones, tablets, newer laptops) use high-DPI or "retina" displays that pack twice the pixels into the same space. An image designed at standard resolution can appear slightly soft on these screens.
Best practice:
- Design your banner at 2× the target dimensions
- Export/resize down to the required dimensions at final export
- Example: design a 300×250 banner at 600×500, then export at 300×250
This gives you crisper results on high-DPI screens without increasing the delivered file size.
4. Image Formats
Choosing the right format affects file size, quality, and compatibility.
WebP — Recommended Primary Format
WebP is Google's modern image format and the best choice for web banners in most cases:
- Excellent compression — smaller files than PNG or JPEG at similar quality
- Supports transparency (like PNG)
- Supported by all major modern browsers
- Ideal for banners containing photos, graphics, and text combined
PNG — Use When:
- The banner will be placed on a system that doesn't accept WebP
- You need pixel-perfect sharp edges on logos or text (lossless compression)
- Transparency is required and WebP is not supported
- The file is being submitted to an older ad network
JPEG — Use When:
- The banner is purely photographic with no transparency
- File size is critical and some quality loss is acceptable
- WebP is not supported by the target platform
GIF — Mostly Avoid:
- Limited to 256 colours — poor quality for most modern designs
- Only relevant for simple legacy animations
- Use CSS or HTML5 animation instead wherever possible
Format Decision Summary
| Situation | Recommended Format |
| General use, modern platform | WebP |
| Sharp text/logos, transparency, legacy system | PNG |
| Photo-only, no transparency | JPEG |
| Simple legacy animation only | GIF |
5. File Size and Weight Limits
Ad networks enforce maximum file size limits. Exceeding them means your ad is rejected.
Common limits:
- Google Ads: 150KB maximum for static banners
- Most ad networks: 100–150KB for static, 200KB for animated
- Self-hosted banners: no hard limit, but under 100KB is good practice for page load performance
Tips for keeping file size down:
- Export at the correct dimensions — never rely on HTML/CSS to scale down a large image
- Use WebP compression
- Flatten all layers before exporting
- Remove metadata on export
- Use Squoosh to fine-tune compression before final save
6. Tools
All of the following tools are free and open source unless noted.
GIMP — Primary Image Editor
GIMP (GNU Image Manipulation Program) is a full-featured raster image editor comparable to Photoshop.
- Website: gimp.org
- Use for: creating and editing banner artwork, text, photo manipulation, exporting to WebP/PNG/JPEG
- Tip: Export banners using File → Export As (not Save) to access WebP and other web formats
Inkscape — Vector Graphics Editor
Inkscape is ideal for creating scalable logos, icons, and graphic elements that remain sharp at any size.
- Website: inkscape.org
- Use for: creating vector elements to import into GIMP, designing logos and CTA buttons
Squoosh — Image Compression and Conversion
Squoosh is a browser-based tool by Google for compressing and converting images.
- Website: squoosh.app
- Use for: converting PNG/JPEG to WebP, fine-tuning compression, checking file weight before submission
ImageMagick — Command-Line Batch Processing
ImageMagick is a powerful command-line tool for batch converting and resizing images.
- Website: imagemagick.org
- Use for: converting entire folders of images to WebP, batch resizing multiple banner sizes at once
Canva (Free Tier) — Quick Templates
Canva's free tier provides pre-sized banner templates for rapid layout work.
- Website: canva.com
- Note: Review license terms before using Canva-generated content commercially
7. GIMP Templates — Setting Up for Efficiency
One of the best habits you can build is creating a saved GIMP template for each standard banner size. This eliminates setup errors and gives every new banner a clean, consistent starting point.
What to pre-configure in each template:
- Correct canvas dimensions
- Resolution: 72ppi
- Colour mode: RGB
- Colour profile: sRGB
- Layer structure: Background | Content | Text | CTA Button (named and locked)
- Guides/gridlines marking 10px safe margins inside all edges
- A visible border/stroke layer so the banner edge shows against white backgrounds
Recommended templates to create:
| Template Name | Dimensions |
| Banner_MedRect | 300 × 250 |
| Banner_Leaderboard | 728 × 90 |
| Banner_HalfPage | 300 × 600 |
| Banner_WideSkyscraper | 160 × 600 |
| Banner_Mobile | 320 × 50 |
| Banner_LargeMobile | 320 × 100 |
| Banner_Billboard | 970 × 250 |
To save a template in GIMP: set up your canvas, then go to File → Save as Template. Name it clearly. It will appear in the Templates dialog every time you start a new file.
You can also save a layered master file in GIMP's native .xcf format for each size. This preserves all layers and guides for future editing.
Exporting to WebP from GIMP: File → Export As → type filename with .webp extension → click Export → adjust quality slider (80–90% is a good starting point) → Export again to confirm.
8. Fonts and Readability
Font choice has an outsized impact on whether a banner communicates or gets ignored.
Best font choices for small banners:
- Sans-serif fonts are strongly preferred — they render more cleanly at small sizes
- Recommended: Inter, Open Sans, Roboto, Noto Sans, Source Sans Pro — all free via Google Fonts (fonts.google.com)
- Avoid decorative, script, or thin/light weight fonts — they become illegible at banner sizes
Minimum readable font sizes by banner:
| Banner | Headline Min | Body/Sub Min |
| Medium Rectangle 300×250 | 18px | 13px |
| Leaderboard 728×90 | 20px | 13px |
| Half Page 300×600 | 22px | 14px |
| Mobile Banner 320×50 | 16px | Avoid body text |
| Wide Skyscraper 160×600 | 18px | 13px |
Additional font tips:
- Use bold or semi-bold weights for headlines — regular weight often disappears at small sizes
- Maintain strong contrast between text colour and background
- Limit yourself to two fonts maximum — one for headline, one for supporting text
- Rasterize/flatten text layers before final export to avoid font substitution issues
9. Content Density — Less Is More
The most common mistake in banner design is trying to say too much. A banner is not a brochure.
The rule of three:
Every banner should contain exactly three elements:
- One headline — your core message in as few words as possible
- One supporting line — a brief reinforcement or offer detail (optional on very small banners)
- One call to action (CTA) — a clear, single instruction: "Learn More", "Get Started", "Shop Now"
Content by banner size:
| Banner | Recommended Content |
| Medium Rectangle 300×250 | Headline + sub-line + CTA + image |
| Leaderboard 728×90 | Headline + CTA only — very limited space |
| Half Page 300×600 | Headline + sub-line + CTA + image + logo |
| Mobile Banner 320×50 | CTA + brand name only |
| Wide Skyscraper 160×600 | Headline + CTA + image (stacked vertically) |
| Billboard 970×250 | Headline + sub-line + CTA + image — use the space well |
The actual-size review — do this every time:
Before you consider a banner finished, view it at exactly 100% — no zoom, no scaling. Ask yourself:
- Can I read every word clearly?
- Does the CTA stand out immediately?
- Is the message understood in under 3 seconds?
- Does it make sense out of context?
Open the exported image in a plain browser tab against a neutral grey background. This simulates how it will appear inside a real webpage layout — not on a clean white canvas. If you have to squint, hunt for the message, or read it twice, simplify.
10. Accessibility
Accessibility is not just good practice — some of it is policy on major ad networks, and all of it is good for your audience.
Contrast ratios:
The WCAG (Web Content Accessibility Guidelines) AA standard requires:
- 4.5:1 contrast ratio for normal text
- 3:1 contrast ratio for large text and UI elements
Use the WebAIM Contrast Checker to test your colour combinations: https://webaim.org/resources/contrastchecker/
Alt text:
When a banner is embedded in a webpage as an <img> tag, always include a descriptive alt attribute. Screen readers use this to describe the banner to visually impaired users.
Example: alt="Summer sale — 30% off all products — Shop Now"
Do not rely on colour alone:
A red/green distinction invisible to colourblind users communicates nothing. Reinforce colour-coded information with text, icons, or shapes.
Animation:
- Limit animation loops to three or fewer — continuous looping is distracting and banned by some networks
- Do not use flashing or strobing effects — this is a seizure risk and violates WCAG 2.3.1
- Best practice: provide a pause mechanism on animated banners
Further reading: https://webaim.org/intro/
11. Colour Reference Resources
Choosing and testing colours is easier with the right tools:
12. Copyright, Licensing, and Image Sources
Using the wrong image can expose you to copyright infringement claims. This section covers how to stay safe.
The simple rule: Use only royalty-free resources and build your own banners. The tools in this guide give you everything you need to do exactly that, for free.
Stock photo and image sources that require NO attribution:
| Source | License | URL |
| Unsplash | Unsplash License | unsplash.com |
| Pexels | Pexels License | pexels.com |
| Pixabay | Pixabay Content License | pixabay.com |
| StockSnap.io | CC0 | stocksnap.io |
| Reshot | Reshot Free License | reshot.com |
| OpenClipart | CC0 (vectors) | openclipart.org |
| SVGRepo | Filter by CC0 | svgrepo.com |
Always verify current license terms before use — they can change. When in doubt, download and keep a copy of the license terms at the time of use.
Creative Commons licensing — quick reference:
- CC0 — No rights reserved. Use freely for any purpose including commercial.
- CC BY — Must credit the creator visibly. A hidden metadata comment does not satisfy this requirement — attribution must be visible to the viewer.
- CC BY-SA — Credit required, and derivatives must use the same license.
- CC BY-NC — Non-commercial use only. Not suitable for paid advertising.
Public Domain and Archival Images:
Copyright does not last forever. Works in the public domain can be used freely for any purpose including commercial.
US public domain rules (simplified):
- Published before 1928: public domain, use freely
- US Federal Government works: public domain by default — no copyright applies
- 1928–1977: copyright status depends on whether it was renewed — verify carefully
- 1978 onward: copyright lasts life of author plus 70 years
Reliable public domain and archival sources:
| Source | What's Available | URL |
| Library of Congress | Historical photos, posters, maps | loc.gov |
| Wikimedia Commons | Filter by public domain | commons.wikimedia.org |
| The Met Museum | 400,000+ open access art images | metmuseum.org |
| Smithsonian Open Access | Millions of collection items | si.edu/openaccess |
| Internet Archive | Historical media of all kinds | archive.org |
| Europeana | European cultural heritage | europeana.eu |
Cautions with archival images:
- A reproduction photo of a public domain painting may have its own copyright claimed by the photographer or institution — check the terms
- Colorized or digitally restored versions may carry new copyright even if the original does not
- Public domain rules vary by country — an image free in the US may still be protected elsewhere
Memes — the same rules apply:
The meme culture norm of grabbing any image is fine for personal fun, but the same royalty-free discipline applies if a meme is used for business or promotional purposes. The source image still needs to be royalty-free or public domain. The text you add is your own — but the base image is not automatically free to use commercially just because everyone else is using it. A meme built on a Pexels or Unsplash photo with your own text overlay is completely clean.
Fair Use — What It Is and What It Is Not:
Fair use is a US legal doctrine that permits limited use of copyrighted material without permission under certain conditions. The four factors courts weigh: (1) purpose — commercial use weighs against fair use; (2) nature of the original work; (3) amount of the original used; (4) impact on the original creator's market.
For banner advertising: Banner ads are commercial by nature, which immediately weakens any fair use argument. More importantly, fair use is a legal defense argued after the fact in court — not a pre-clearance. You cannot decide in advance that something is fair use and be protected. Even if you would ultimately win, the legal fight costs money. Stick to royalty-free and public domain sources and sidestep the issue entirely.
AI-Generated Images — Know Your License:
AI image generators are a tempting source of free custom imagery, but their commercial use terms vary significantly and change frequently.
| Tool | Free Tier Commercial Use | Notes |
| Adobe Firefly | Yes (with caveats) | Trained on licensed content — among the safest for commercial work |
| Microsoft Designer/Copilot | Yes for most uses | Check current ToS — has changed previously |
| Canva AI | Limited on free tier | Read your plan terms carefully |
| Midjourney | No on free tier | Paid plans allow commercial use |
| DALL-E / ChatGPT | Paid plans: yes | Free tier terms are less clear |
| Stable Diffusion (local install) | Yes | Self-hosted — no ToS gatekeeper, you own the output |
| Bing Image Creator | Personal use only | Explicitly prohibits commercial use |
Free tiers frequently prohibit commercial use even when paid tiers allow it. Terms of Service change — always check current terms before using AI-generated images in a campaign. "Personal use only" means exactly that — client work counts as commercial use.
Stable Diffusion installed and run locally is the safest free option for commercially usable AI-generated imagery.
13. What to Avoid
Design pitfalls:
- Too much text — the single most common mistake
- Font sizes too small to read at actual display size
- Low contrast — text that blends into the background
- Clutter — too many elements competing for attention at once
- Thin or light font weights at small sizes — they disappear
- Using JPEG for banners containing text or logos — compression artifacts destroy sharp edges
Technical pitfalls:
- Oversized file weight — slow to load and rejected by ad networks
- Wrong dimensions for the target placement
- Scaling raster images up from a smaller size — produces blurry results
- Animated GIFs with no loop limit — distracting, and banned by some networks
- Forgetting to test at actual size on a real screen before submitting
- Not testing on mobile if the banner will appear on mobile placements
Legal and content pitfalls:
- Grabbing images from Google Image Search without verifying the license
- Mimicking operating system interface elements — banned by Google Ads policy
- Flashing or strobing animations — an accessibility violation and banned by most networks
- Misleading "Download", "Play", or "Close" buttons that are not real UI elements — banned
- Assuming a popular meme image is free to use commercially
14. Practical Workflow Summary
- Choose your banner size from the standard IAB table
- Open your pre-made GIMP template for that size
- Place your background (royalty-free image or solid colour)
- Add your headline, supporting text, and CTA using a sans-serif font
- Check contrast using the WebAIM Contrast Checker
- Review at 100% actual size — read it cold, under 3 seconds
- Flatten all layers
- File → Export As → filename.webp — quality 80–90%
- Check file size — should be under 150KB for most networks
- Open in a browser tab against a grey background for final review
- Submit
15. Quick Reference Table
| Banner Name | Dimensions | Max File Size | Recommended Format |
| Medium Rectangle | 300 × 250 | 150KB | WebP |
| Leaderboard | 728 × 90 | 150KB | WebP |
| Half Page | 300 × 600 | 150KB | WebP |
| Wide Skyscraper | 160 × 600 | 150KB | WebP |
| Mobile Banner | 320 × 50 | 150KB | WebP |
| Large Mobile Banner | 320 × 100 | 150KB | WebP |
| Billboard | 970 × 250 | 150KB | WebP |
16. Free Resource Quick Reference
Design Tools:
- GIMP (image editor): gimp.org
- Inkscape (vector editor): inkscape.org
- Squoosh (compression/conversion): squoosh.app
- ImageMagick (batch processing): imagemagick.org
Royalty-Free Images (no attribution required):
- unsplash.com
- pexels.com
- pixabay.com
- stocksnap.io
- reshot.com
Vectors and Icons (CC0):
- openclipart.org
- svgrepo.com
Public Domain Archives:
- loc.gov (Library of Congress)
- commons.wikimedia.org
- metmuseum.org
- si.edu/openaccess
- archive.org
Fonts (free, open license):
Colour Tools:
Accessibility:
Banner Examples & Inspiration:
Ready to build your first banner? Everything you need is free, open source, and covered in this guide.
For professionally designed web presences, custom banner campaigns, and digital marketing solutions, visit us at:
commissions.quest
We build it. You profit.