# X (formerly Twitter) image, header, and video sizes

Checked November 26, 2026 · sources below · [All social media sizes](https://margin.design/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.

## Dimensions at a glance

| Format | Dimensions | Aspect Ratio | Max File | Notes |
| --- | --- | --- | --- | --- |
| Profile header | 1500 x 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 x 400 px | 1:1 | 2 MB | JPG, GIF, or PNG (not animated). |
| Single landscape post | 1600 x 900 px | 16:9 | 5 MB | Shows in full as a single image. |
| Single vertical post | 1200 x 1600 px | 3:4 | 5 MB | The tallest shape a single image shows in full. |
| X video | 1280 x 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. |

## Platform limits

- **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

## Practical design tips

### 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.

## Build these sizes automatically with Margin

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.

Get started at https://margin.design/signin or connect your AI agent at https://margin.design/get-started.md.

## Frequently asked questions

### 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.

## Related size guides

- [Threads & Bluesky sizes](https://margin.design/sizes/threads-bluesky)
- [LinkedIn post & banner sizes](https://margin.design/sizes/linkedin)
- [YouTube thumbnail size](https://margin.design/sizes/youtube-thumbnail)
- [Instagram post sizes](https://margin.design/sizes/instagram)

## Sources

Checked on 26 Nov 2026.

- [X Help: profile and header photos](https://help.x.com/en/managing-your-account/common-issues-when-uploading-profile-photo)
- [X Help: posting photos](https://help.x.com/en/using-x/posting-gifs-and-pictures)
- [X API docs: media limits](https://docs.x.com/x-api/media/quickstart/best-practices)
- [X API docs: counting characters](https://docs.x.com/resources/fundamentals/counting-characters)

