比例计算器 Ratio Calculator
比例化简、等比放大/缩小、按目标值求等比另一项。支持小数输入与批量解析(如 16:9、3/2、1.5:2)。
Simplify ratios, scale proportionally, and solve equivalent values. Supports decimals and batch parsing (e.g., 16:9, 3/2, 1.5:2).
1. 输入参数 · Ratio Inputs
3. 使用说明 · Notes
-
比例化简(最常用) · Simplify (most common):
输入 A 与 B 后,工具会计算最大公约数(GCD),得到最简整数比例。例如 1920:1080 会化简为 16:9。
After entering A and B, the tool uses GCD to reduce to the simplest integer ratio. For example, 1920:1080 becomes 16:9. -
等比放大/缩小 · Scale proportionally:
选择“等比乘以系数 k”,你可以把比例整体乘以某个系数(可以是小数)。例如 3:5 × 2 = 6:10(再简化仍是 3:5)。
Choose “Scale by factor k” to multiply both sides by a factor (can be decimal). E.g., 3:5 × 2 = 6:10 (which simplifies back to 3:5). -
按目标值求另一项(工程/设计常用) · Solve by target (common in design/engineering):
当你已确定一边目标(例如图片宽度 1920),想保持 16:9 的比例,选择“指定新 A”,工具会算出 B=1080。
If you know one target side (e.g., width 1920) and want to keep 16:9, choose “Given new A” to get B=1080. -
小数比例与近似 · Decimals & approximation:
若 A/B 含小数,工具会用有限精度把它转成分数近似后再化简,所以结果是“近似最简”。你可以把输入改成更精确的数再算一次。
For decimals, the tool converts with limited precision into a fraction before simplifying, so results can be approximate. Use more precise inputs if needed. -
批量解析建议 · Batch parse tips:
你可以直接从 Excel、CAD 标注、设计稿或文档里复制一列比例粘贴进来(每行一个)。支持 16:9、3/2、1280×720 等常见写法。
Paste ratios copied from Excel/CAD/spec docs (one per line). Supports formats like 16:9, 3/2, 1280×720, etc. -
常见误区 · Common pitfalls:
① 比例本身不带单位,A 与 B 单位必须一致才能有意义(例如都用 mm、都用 px)。
A ratio has no unit; A and B must be in the same unit (mm with mm, px with px).
② 只要是“等比”,乘以任何同一个系数都不改变比例关系;但实际业务中可能会受整数限制、材料损耗、取整规则影响。
Scaling by the same factor keeps the ratio, but real-world constraints (rounding, waste, integer-only requirements) may apply.
免责声明:本工具用于学习、设计估算与快速换算展示,未考虑特定行业的取整标准、误差容忍度与工艺限制。结果仅供参考。
Disclaimer: This tool is for learning and quick estimation. It does not account for industry-specific rounding rules, tolerance, or process constraints. Results are for reference only.
