全球免费使用

宽高比计算器:化简与缩放(16:9、4:3)

求任意宽度和高度的宽高比(1920 × 1080 为 16:9),查看最接近的常用格式,并在缩放图片、视频或屏幕时算出保持相同比例的新高度或新宽度。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

An aspect ratio describes the shape of an image, video or screen as width to height, such as 16:9 or 4:5. This calculator reduces any width and height to its simplest ratio, shows it as a decimal, names the closest common format when the numbers are slightly off, and calculates the new width or height that keeps the same shape when you resize.

使用方法

  1. Enter the original width and height, in pixels or any other unit.
  2. To resize, enter either a new width or a new height and leave the other empty.
  3. Run it to see the simplified ratio, the decimal ratio and the missing dimension.
  4. Round the new size to whole pixels (or to an even number for video) before you use it.

计算原理

Both numbers are divided by their greatest common divisor, so 1920 × 1080 becomes 16:9. The decimal ratio is width ÷ height. The closest common format is chosen from a list (16:9, 9:16, 4:3, 3:2, 1:1, 4:5, 21:9 and others) when it is within 1%. A new height is the new width ÷ the decimal ratio, and a new width is the new height × the ratio.

ratio = width ÷ gcd : height ÷ gcd; new height = new width × height ÷ width

计算示例

A 1920 × 1080 video frame is 16:9, or 1.7778 as a decimal. Scaling it to a width of 1280 pixels gives a height of 720, so 1280 × 720 keeps the same shape. A common laptop screen of 1366 × 768 simplifies to 683:384, which the tool shows is closest to 16:9.

示例输入和结果

1920 × 1080 = 16:9 (1.7778); at a width of 1280 the height is 720

局限性

  • New sizes are not rounded; some encoders need even numbers or multiples of 8 or 16.
  • It does not crop or resize the file itself. Use the image resizer or cropper for that.

最后更新:

常见问题

1366 × 768 真的是 16:9 吗?

不完全是。它化简为 683:384,与 16:9 相差不到 0.1%,因此工具显示 16:9 为最接近的常用比例。

社交媒体应该用什么比例?

竖屏视频通常为 9:16,信息流图片常为 4:5 或 1:1,宽屏视频为 16:9。各平台会更改规格,请查看最新的帮助页面。

常见问题

Is 4:5 the same as 0.8?

Yes. 4 ÷ 5 = 0.8, and a portrait photo of 1080 × 1350 pixels has exactly that ratio.

What ratio is 1080 × 1920?

9:16, the vertical version of 16:9 used for phone video and stories.

Can I use centimetres or inches?

Yes. The ratio has no unit, as long as width and height are measured the same way, which is useful for prints and frames.

故障排除

The ratio looks strange, like 683:384.

Some resolutions are not an exact match to a common ratio. Look at the closest common ratio line to see which format it is meant to be.

Both new width and new height are shown.

Enter only one of them; the tool calculates each one you fill in from the original ratio.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步