X (formerly Twitter) image, header, and video sizes
An X header is 1500 x 500 pixels (3:1) and a profile photo is 400 x 400 pixels. A single image between 3:4 and 2:1 shows in full in the timeline, and each image can be up to 5 MB.
- Recommended
- 1500 × 500 px
- Ratio
- 3:1
- Max file
- None in X's help
01 · Dimensions
Exact sizes at a glance.
Every X format Margin supports, checked against current publishing rules.
| Format | Dimensions | Ratio | Max file | Notes |
|---|---|---|---|---|
| Profile header | 1500 × 500 px | 3:1 | None in X's help | JPG, GIF, or PNG. Up to 60 px at the top and bottom may be cropped; keep the bottom-left clear for the profile photo. |
| Profile photo | 400 × 400 px | 1:1 | 2 MB | JPG, GIF, or PNG (not animated). |
| Single landscape post | 1600 × 900 px | 16:9 | 5 MB | Shows in full as a single image. |
| Single vertical post | 1200 × 1600 px | 3:4 | 5 MB | The tallest shape a single image shows in full. |
| X video | 1280 × 720 px (1080p with Premium) | 16:9 / 1:1 | 8 GB | H.264 with AAC sound, 0.5 s to 20 min (125 min and 16 GB with Premium), up to 60 fps. |
02 · Safe zones & tips
Where crops and overlays cut.
Exact crop boundaries paired with the layout rules that keep headlines legible.
Use one image when the text must stay whole
X promises full display only for a single image between 3:4 and 2:1. When typography can't be cut, post one 16:9 or 3:4 image rather than several.
Stay under 5 MB per image
X takes JPG, PNG, GIF, and WebP images up to 5 MB each. In our view 1600 x 900, or 2048 px on the long edge, keeps text sharp within that cap.
03 · File & format rules
Limits that actually break posts.
File caps, formats, and text limits checked before anything publishes.
- Images per post
- Up to 4 (JPG, PNG, GIF, or WebP, 5 MB each; animated GIFs up to 15 MB)
- Character limit
- 280 weighted characters (every URL counts as 23 characters)
- Threads
- Up to 25 posts per thread in Margin
- Video limits
- 0.5 s to 20 min and 8 GB on standard accounts; 125 min and 16 GB with X Premium
Stop resizing by hand
Build every X size on-brand.
Your agent in Margin builds crisp 16:9 launch cards and 4-image posts, checks X's 280 weighted character count automatically, and schedules the whole thread from one workspace.
04 · FAQ
Common questions.
Quick answers on X dimensions, formats, and publishing rules.
What is the exact X header size?
1500 x 500 pixels (3:1). X notes that up to 60 pixels at the top and bottom may be cropped on some screens, and your profile photo covers the bottom-left corner.
What aspect ratios show uncropped on X?
A single image between 3:4 (tall) and 2:1 (wide), including 16:9, 4:3, and 1:1, shows in full.
How long can a video on X be?
Up to 20 minutes and 8 GB on a standard account, or 125 minutes and 16 GB with X Premium. X recommends H.264 High Profile video with AAC sound at 30 or 60 fps.
Keep going with related size guides
View all 9 networksThreads & Bluesky sizes
Image, video, and character rules for Threads and Bluesky.
LinkedIn post & banner sizes
Feed graphics, profile and company covers, and document carousels.
YouTube thumbnail size
16:9 thumbnails at YouTube's recommended 3840 x 2160, with the timestamp corner clear.
Instagram post sizes
Feed posts, profile picture, and the 3:4 profile grid.