比例化简器
用最大公约数化简两个非负整数。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
A ratio like 1280 : 720 is easier to understand as 16 : 9. This tool divides both numbers by their greatest common divisor to give the simplest form, the way screen sizes, recipe proportions, gear ratios and mixing instructions are usually written.
It works with whole numbers. For scaling a ratio to a new size, such as finding the height that keeps 16 : 9 at a width of 1,000 pixels, multiply instead.
使用方法
- Enter the first whole number of the ratio.
- Enter the second whole number.
- Run the tool to get the simplified ratio.
- Use the simplified ratio to scale: multiply both parts by the same number.
计算原理
Both values are divided by their greatest common divisor (found with Euclid’s algorithm). 1280 and 720 share a greatest common divisor of 80, so the ratio becomes 16 : 9.
a : b → (a ÷ gcd) : (b ÷ gcd)计算示例
A video is 1280 × 720 pixels. Entering 1280 and 720 returns 16 : 9, the standard widescreen aspect ratio. A 1080 × 1350 Instagram portrait image simplifies to 4 : 5.
示例输入和结果
1920 : 1080 = 16 : 9.
局限性
- Two non-negative whole numbers up to one billion.
- No decimal or negative values.
- Returns the simplified form only, not decimals or percentages.
最后更新:
常见问题
Can I use decimals?
No. Multiply both values by 10 or 100 first to remove decimals; 1.5 : 2.5 becomes 15 : 25 and simplifies to 3 : 5.
Why can’t both numbers be zero?
A ratio of 0 : 0 has no simplest form, because every number divides zero.
Does it handle three-part ratios?
No, two numbers only. Simplify a three-part ratio by dividing all parts by their shared divisor.
故障排除
It returns the same numbers.
They have no common divisor above 1, so the ratio is already in its simplest form (for example 7 : 3).
I get an error.
Check for decimals, negatives, or both values being zero.
I need pixel dimensions from a ratio.
Divide the width by the first number and multiply by the second. For 16 : 9 at 1,000 px wide, height = 1000 ÷ 16 × 9 = 562.5 px.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。