How your video will display
The standard aspect ratio for YouTube on desktop is 16:9. If your video has a different aspect ratio, the player will automatically change to the ideal size to match your video and the viewer’s device.
For some combinations of video and device aspects ratios, such as 9:16 vertical videos on desktop browsers, YouTube may add additional padding for optimal viewing. The padding is white by default, and dark gray when Dark theme is turned on.
For best results, avoid adding padding or black bars directly to your video. This interferes with YouTube’s ability to adjust the player dynamically to your video size and the viewer’s device.
Recommended resolution & aspect ratios
For the default 16:9 aspect ratio, encode at these resolutions: