Facebook Image Optimization Guide
JPEGComplete guide to image sizes and optimization for Facebook.
Facebook processes billions of images daily and uses sophisticated compression algorithms to balance visual quality against storage and bandwidth costs. Unlike Instagram, Facebook's compression varies significantly by image type and placement -- profile photos, cover images, feed posts, and ads each receive different treatment. Understanding these differences lets you upload images that look professional across every placement, from News Feed cards to full-screen Story views.
Recommended Image Sizes
| Image Type | Recommended Size | Aspect Ratio |
|---|---|---|
| post | 1200x630 | 1.91:1 |
| cover | 820x312 | 2.63:1 |
| profile | 180x180 | 1:1 |
| story | 1080x1920 | 9:16 |
| event cover | 1920x1005 | 1.91:1 |
| group cover | 1640x856 | 1.91:1 |
| ad feed | 1200x628 | 1.91:1 |
| ad story | 1080x1920 | 9:16 |
| ad carousel | 1080x1080 | 1:1 |
| shared link | 1200x628 | 1.91:1 |
| marketplace | 1200x1200 | 1:1 |
Platform Features
- ✓ Auto compression with quality-aware encoding
- ✓ High-res display support for Retina screens
- ✓ Open Graph image protocol for link previews
- ✓ Facebook Ads Manager image text detection
- ✓ Automatic alt text generation via AI
- ✓ Multi-image post layouts with automatic cropping
Recommended Format
For Facebook, we recommend using JPEG for the best balance of quality and file size.
Maximum file size: 30MB
How Facebook Processes Images
Facebook's image processing pipeline is one of the most complex in the industry, handling over 350 million photo uploads per day. The platform uses a custom compression system that adapts based on image content, placement, and viewer's connection speed.
When you upload a photo to Facebook, it goes through multiple processing stages: the image is analyzed by computer vision for content type, resized to multiple dimensions for different display contexts (feed, lightbox, thumbnail), converted to JPEG if necessary, and compressed using Facebook's proprietary encoder.
- Adaptive compression: Facebook doesn't apply a single quality level to all images. Their system analyzes image complexity and adjusts compression accordingly. Photos with lots of fine detail (landscapes, crowds) receive lighter compression than simpler images (screenshots, text-heavy graphics) because artifacts are more visible in detailed images
- Multiple renditions: Each uploaded photo generates multiple stored versions at different resolutions. A feed photo might have versions at 130px, 320px, 720px, 960px, and 2048px wide. The version served depends on the viewer's screen size, pixel density, and network speed
- JPEG re-encoding: Facebook re-encodes all images as JPEG, regardless of upload format. PNG files are converted to JPEG (losing transparency in the process). The one exception: PNG files with fewer than 256 colors may be stored as PNG to preserve sharp edges in simple graphics
- Metadata stripping: Facebook strips all EXIF metadata including GPS data, camera model, and lens information. This is primarily a privacy feature but also reduces file size. Copyright information in IPTC/XMP headers is also removed
A key insight: Facebook's compression is noticeably lighter than Instagram's. While Instagram re-encodes at approximately 70-75% JPEG quality, Facebook typically uses 80-85% for feed images and even higher for photos viewed in lightbox mode. This means your photos generally look better on Facebook than on Instagram from the same source file.
Optimal Image Sizes by Placement
Facebook displays images at different sizes depending on where they appear. Using the correct dimensions for each placement ensures your images render without unexpected cropping, letterboxing, or quality loss.
News Feed Posts: Upload at 1200x630 pixels (1.91:1 aspect ratio) for the standard feed image. Facebook displays feed images at approximately 500px wide on desktop and full-width (roughly 375-414px) on mobile. Uploading at 1200px provides enough resolution for sharp rendering on high-DPI (Retina) mobile screens. For single-image posts, square (1:1) and portrait (4:5) ratios also work well and take up more vertical feed space.
Cover Photos: The cover photo is one of the most inconsistently displayed elements on Facebook. It renders at 820x312 pixels on desktop but is cropped to 640x360 on mobile, which means the top and bottom edges are cut off on phones. Design your cover image at 820x462 pixels, placing critical content (text, logos, faces) within the center safe zone of 820x312.
- Profile Picture: Upload at 360x360 pixels minimum (displayed at 180x180 on desktop, 140x140 on mobile). Facebook crops profile pictures into a circle, so ensure important elements are centered and no critical details extend to the corners
- Event Cover: Use 1920x1005 pixels for event images. These are displayed at various aspect ratios across desktop, mobile, and event listing cards, so keep key content centered
- Group Cover: Upload at 1640x856 pixels. Like page cover photos, these are cropped differently on desktop and mobile
- Marketplace Listings: Square images at 1200x1200 pixels work best. Marketplace uses 1:1 crops in search results, so product images should be centered with adequate padding
Multi-image posts: When posting 2+ images, Facebook auto-generates a collage layout. Two images get a side-by-side split. Three images get one large left and two stacked right. Four images get a 2x2 grid. For the best results with multi-image posts, use images of the same aspect ratio to prevent unexpected cropping.
Open Graph Images
Open Graph (OG) images are the preview images that appear when someone shares a URL on Facebook. They're controlled by meta tags on your website and are one of the most important elements for driving click-through rates from social sharing.
The og:image meta tag tells Facebook which image to display when your page is shared. Without it, Facebook's crawler attempts to find a suitable image on the page, often choosing incorrectly (a sidebar ad, a tiny icon, or the wrong photo entirely). Always specify an explicit OG image.
Required dimensions: The minimum OG image size is 200x200 pixels, but the recommended size is 1200x630 pixels (1.91:1 aspect ratio). Images smaller than 600x315 appear as small thumbnails to the left of the text, while larger images get the full-width card treatment that dramatically increases engagement.
- Meta tag implementation: Add these tags to your page's
:,,. Including width and height dimensions allows Facebook to render the preview immediately without fetching and measuring the image first - Image caching: Facebook caches OG images aggressively. If you update an OG image, it won't automatically refresh in shares. Use the Facebook Sharing Debugger (developers.facebook.com/tools/debug/) to scrape the URL and force a cache refresh. Enter your URL, click "Scrape Again," and verify the new image appears
- Multiple OG images: You can specify multiple
og:imagetags, and Facebook will use the first one that meets the minimum size requirements. This is useful as a fallback strategy - Text on OG images: Facebook previously penalized ads with more than 20% text coverage. While this strict rule no longer applies to organic shares, images with less text generally perform better in terms of engagement. If you include text, use large, bold fonts that are readable at thumbnail size
Testing before publishing: Always test your OG implementation with the Facebook Sharing Debugger before launching a page or blog post. The debugger shows exactly which image, title, and description Facebook will display, and reveals any warnings about missing tags or undersized images.
Reducing Compression Artifacts
Despite Facebook's lighter compression compared to Instagram, visible artifacts can still appear — especially in certain types of images. Here are proven techniques to minimize compression damage and ensure your photos look their best on the platform.
Upload at the right size: Unlike Instagram (which benefits from uploading at exactly 1080px), Facebook handles larger images well. Upload at 2048 pixels on the longest edge for feed photos. Facebook stores a 2048px version and serves it in lightbox view, giving your photos maximum sharpness when clicked to full size. For feed thumbnails, the smaller renditions are generated with good quality.
JPEG quality settings: Export at 85-95% JPEG quality for Facebook uploads. Going to 100% creates unnecessarily large files without visible improvement (Facebook re-encodes regardless), while going below 80% introduces artifacts that compound with Facebook's re-encoding.
- Avoid screenshots and text-heavy images as JPEG: Facebook's JPEG encoder struggles with sharp text edges and flat color areas common in screenshots. For images containing text, UI mockups, or infographics, upload as PNG. Facebook sometimes preserves PNG encoding for simple graphics with few colors, and even when it converts to JPEG, the source quality of a lossless PNG produces better results than a pre-compressed JPEG
- Pre-sharpening: Apply a light output sharpening (unsharp mask: 20-40%, radius 0.5px) before uploading. Facebook's downscaling process softens images slightly, and pre-sharpening compensates for this
- Color considerations: Facebook's compression handles bright, saturated colors well but can introduce banding in dark shadow areas. If your image has deep shadows, raise the shadow levels slightly (+5 to +10 in Lightroom) to give the compressor more tonal information to work with
- Gradient handling: Like all JPEG compression, Facebook's encoder struggles with smooth gradients. A technique borrowed from print production works well: add 0.5-1% noise/grain to gradient-heavy images. The noise breaks up the banding that compression introduces
The PNG trick for graphics: For logos, infographics, memes, and any image with text, sharp lines, or flat color areas, always upload as PNG at the exact display dimensions. PNG files under 100KB with fewer than 256 colors are often preserved without JPEG conversion, resulting in pixel-perfect display. This is particularly important for brand assets where crisp edges matter.
Facebook Business and Advertising
Facebook Ads have specific image requirements that differ from organic posts. Understanding these requirements prevents ad disapprovals, maximizes creative performance, and ensures your ads display correctly across all placements.
Feed Ads: The recommended image size is 1200x628 pixels (1.91:1) for single-image feed ads. Facebook also supports 1:1 (1080x1080) and 4:5 (1080x1350) ratios. The 4:5 ratio is increasingly popular because it occupies more screen space in the mobile feed, which typically accounts for 85%+ of ad impressions.
Carousel Ads: Each card in a carousel should be 1080x1080 pixels (1:1 square). You can include up to 10 cards per carousel. Ensure consistent visual styling across cards — carousel ads with mismatched image styles see 20-30% lower click-through rates.
- Story Ads: Use 1080x1920 pixels (9:16 full-screen vertical). Leave the top 250px and bottom 340px free of critical content to avoid overlap with the profile name bar and swipe-up CTA. Facebook's Ads Manager shows a preview with safe zones — use it
- Text overlay rule: Facebook no longer strictly enforces the 20% text rule, but their system still detects text coverage and may reduce delivery for heavily text-laden images. The algorithm favors images with minimal text overlay. If you must include text, keep it under 15% of the image area
- Image specifications: Maximum file size is 30MB. Minimum resolution is 600x600 pixels. Facebook supports JPEG and PNG formats for ads. Use JPEG for photographs and PNG for graphics with text or transparent elements
- Catalog/Dynamic Ads: Product images in Facebook catalogs should be 1024x1024 pixels minimum on a white background. Facebook automatically crops these into various formats for different placements, so center your product with padding on all sides
Creative best practices for performance: Facebook's own research shows that ads with people in the image receive 25% higher engagement. Images with a single focal point outperform busy compositions. Bright, warm-toned images tend to outperform dark or cool-toned ones in feed placements. For A/B testing creative, change only one variable at a time (image vs. copy vs. CTA) to isolate which element drives performance.
Automated placements: When using Advantage+ placements, Facebook may display your ad across Feed, Stories, Marketplace, Messenger, and Audience Network. Upload images in multiple aspect ratios (1.91:1, 1:1, and 9:16) to ensure optimal display across all placements rather than relying on Facebook's automatic cropping.
Related Guides
JPEG Optimization Mastery: The Definitive Guide
Master JPEG optimization with this comprehensive guide covering compression fundamentals, quality settings, progressive encoding, chroma subsampling, and advanced techniques for maximum performance.
Understanding Image Compression: Lossy vs Lossless Deep Dive
Master image compression fundamentals. Learn how lossy and lossless compression work, quality metrics, format comparisons, and optimization strategies for the web.
Retina/HiDPI Images: Complete Implementation Guide
Master retina and HiDPI image delivery. Learn device pixel ratios, srcset, responsive images, and optimization strategies for sharp images on all displays.
Frequently Asked Questions
What is the best image size for Facebook posts in 2024?
For standard feed posts, upload at 1200x630 pixels (1.91:1 aspect ratio) for the full-width card display. For maximum feed visibility, use 1080x1350 (4:5 portrait) which occupies more vertical space in the mobile feed. For photos you want to look great when clicked to full size in the lightbox viewer, upload at 2048px on the longest edge. Cover photos should be 820x462 pixels with critical content centered in the 820x312 safe zone that's visible on both desktop and mobile.
Why does Facebook make my images look blurry or compressed?
Facebook re-encodes all uploaded images as JPEG, which introduces compression artifacts. The most common causes of excessive blur are: uploading images that are too small (Facebook upscales them, causing pixelation), uploading pre-compressed JPEGs (double compression compounds artifacts), or uploading screenshots/text images as JPEG instead of PNG. To minimize quality loss, upload at 2048px on the longest edge, export at 85-95% JPEG quality, and use PNG for any images containing text, logos, or flat graphics.
How do I fix the wrong image showing in Facebook link previews?
Facebook link preview images are controlled by Open Graph (og:image) meta tags in your page's HTML. If the wrong image appears, first verify your og:image tag points to the correct image URL at 1200x630 pixels. Then go to the Facebook Sharing Debugger (developers.facebook.com/tools/debug/), enter your URL, and click 'Scrape Again' to force Facebook to refresh its cache. It may take 2-3 scrapes for the new image to appear. If you're using WordPress, plugins like Yoast SEO or Rank Math provide OG image controls per page.
What image formats does Facebook support for ads?
Facebook Ads support JPEG and PNG image formats with a maximum file size of 30MB. For photographic ads (product shots, lifestyle imagery), use JPEG at 85-90% quality. For ads containing text overlays, logos, or flat graphics, use PNG for sharper rendering. The minimum ad image resolution is 600x600 pixels, but for best results upload at 1200x628 (feed), 1080x1080 (carousel), or 1080x1920 (stories). Facebook's system may reduce ad delivery for images with more than 15-20% text coverage, so keep text minimal in ad creative.