Checked against the source

X (Twitter) header image size

Checked 3 sources

Short answer

X recommends a header of 1500 × 500 pixels (3:1) next to a 400 × 400 profile photo. A normal photo is far from 3:1, so most of it is cropped.

Key takeaways

  • 3:1 is much wider than a camera photo: a 3:2 photo keeps 50% of its area, a 4:3 photo keeps 44% and a 16:9 photo keeps 59% (computed).
  • X's help page gives the two recommended sizes and no safe area, so keep important content away from the edges.
  • The frame is 0.75 megapixels; our test results at 1500 × 500 are in the table below.
  • Across our six test pictures the 1500 × 500 result was 120 KB to 215 KB as a JPG at quality 0.92.

The size

WhatValue
Width1500 px
Height500 px
Aspect ratio3:1

What the platform publishes

WhatPublished value
Header ("banner")1500 × 500 px recommended (3:1)
Profile photo400 × 400 px recommended
BioUp to 160 characters

X does not publish a safe area for the header.

Source: X Help: How to customize your profile (checked 2026-10-05)

Resize it now

Scales and center-crops any image to exactly 1500 x 500 px, in your browser. Nothing is uploaded, there is no file size cap and no daily limit.

Batch is unlimited and free - every image is processed on your device, so there is no queue and no daily cap.

What a 1500 × 500 frame does to common photo shapes

The frame is 3:1. A photo of another shape is scaled until it covers the frame and the excess is cut from the center, which is what the resizer on this page does. This is computed from the shapes.

Photo shapeShare of the photo keptWhat is cut
16:9 (1920 × 1080)59%The top and bottom
3:2 (3000 × 2000)50%The top and bottom
4:3 (4000 × 3000)44%The top and bottom
1:1 (2000 × 2000)33%The top and bottom
4:5 (1080 × 1350)27%The top and bottom
9:16 (1080 × 1920)19%The top and bottom

Computed.

Measured: six pictures through the resizer

The resizer on this page was run in headless Chromium on six test pictures (public domain NASA scans, a PNG graphic and two small pictures made from them): each is scaled to cover 1500 × 500, drawn on a white background and saved as a JPG at quality 0.92. SSIM compares each result with a Lanczos crop of the same picture made by ffmpeg (1.0 would be identical); it is blank when the frame has an odd side, which ffmpeg's check cannot compare. Other browsers use their own encoders, so sizes can differ.

Each test picture converted to 1500 × 500.
PicturePixelsScaleResultTimeSSIM
Photo, nearly square3840 × 38770.39×215 KB12 ms0.80
Portrait2122 × 26440.71×151 KB11 ms0.94
Wide document scan3827 × 15880.39×208 KB12 ms0.95
Square PNG graphic5380 × 54320.28×165 KB11 ms0.93
Small portrait (1060 px)1060 × 13201.42× (enlarged)120 KB12 ms0.98
Small landscape (640 px)640 × 4802.34× (enlarged)132 KB10 ms0.96

A scale above 1 enlarges the picture to fill the frame; enlarging adds no detail, so start from a file at least as large as the frame.

Detail decides the file size (measured)

The same frame holds 0.75 megapixels whatever the picture, but the JPG size follows the detail in it. Bits per pixel is the file size in bits divided by the number of pixels in the frame.

PictureResultBits per pixel
Photo, nearly square215 KB2.30
Portrait151 KB1.61
Wide document scan208 KB2.21
Square PNG graphic165 KB1.76
Small portrait (1060 px)120 KB1.27
Small landscape (640 px)132 KB1.40

Smooth areas and flat color compress to a fraction of what fine detail needs; a photograph full of texture is the expensive case. If a size limit matters, check your own picture, not an average.

Using the X (Twitter) header image size

  • Start from a file at least 1500 × 500 pixels so nothing is enlarged.
  • Keep faces, logos and text away from the edges; every crop above cuts the edges.
  • Check the platform's own page before you rely on a figure; sizes change.
  • The resizer above does the crop and the JPG in your browser; nothing is uploaded.

Frequently asked questions

What size is an X header?

1500 × 500 px, per X's help center.

Why does my header look cropped?

The frame is 3:1. A photo of another shape is scaled to cover it and the excess is cut.

How much of a 16:9 photo is kept in 1500 × 500?

59% of its area (computed).

What is the aspect ratio of 1500 × 500?

3:1, 0.75 megapixels.

How big will the file be?

Our six test pictures came out between 120 KB and 215 KB as JPGs at quality 0.92; detailed photographs are the large end.

Is my picture uploaded?

No. The resizer runs in your browser.

Other X (Twitter) sizes

Sources

  1. X Help: How to customize your profile (checked 2026-10-05)
  2. Wikimedia Commons: Buzz salutes the U.S. Flag (NASA, public domain), one of the test pictures (checked 2026-10-10)
  3. MDN: HTMLCanvasElement.toBlob() (JPEG quality) (checked 2026-10-10)