Skip to content
实用工具 工具

实用工具

视频与图片宽高比计算器

Calculate proportional width and height for 16:9, 9:16, 1:1, 4:5 or custom ratios, and verify even / macroblock dimensions for video encoders.

  • 免费 · 无需注册
  • 在浏览器本地运行
Simplified ratio: Even (÷2, H.264 required): Macroblock (÷16):

功能与局限说明

支持功能

  • Instant width/height scaling for 16:9, 9:16, 1:1, 4:5, 4:3, 21:9 or custom ratios
  • Even-number & macroblock (÷2, ÷8, ÷16) alignment check for video encoders

使用限制

  • Resize or crop actual image or video files (use Video Resizer for video)

如何使用 宽高比计算器

  1. 1 Choose a preset ratio (16:9, 9:16, 1:1, 4:5, 4:3, 21:9) or enter any source width and height.
  2. 2 Edit either target Width or target Height to calculate the matching dimension.
  3. 3 Check the codec alignment indicator (divisible by 2, 8, 16).

示例

Why divisible-by-2 and 16 dimensions matter

H.264 and HEVC encoders require even width and height (divisible by 2) for YUV 4:2:0 chroma subsampling, and encode most efficiently when dimensions are multiples of 16.

常见问题

What is the YouTube Shorts aspect ratio?

9:16 vertical, typically 1080×1920 px (or 720×1280 px).

What is the standard YouTube video aspect ratio?

16:9 widescreen: 1920×1080 (1080p) or 3840×2160 (4K).

Does this resize files?

No, it calculates dimensions. Use Video Resizer to resize actual video files.

诚实透明的数据,绝不凭空编造。