比率計算器
比率を簡略化して小数点に変換します。
結果はタイプすると更新されます。
この計算機の情報
ratio calculator reduces a ratio like 16:9 to its simplest whole-number form and shows it as a decimal. It divides both numbers by their greatest common divisor to simplify, and divides the first by the second to give the decimal equivalent. A ratio calculator reduces a ratio like 16:9 to its simplest whole-number form and shows it as a decimal. It divides both numbers by their greatest common divisor to simplify, and divides the first by the second to give the decimal equivalent. A ratio calculator reduces a ratio like 16:9Use itUse it for screen and image aspect ratios, scaling a recipe up or down, map and model scales, mixing paint or fuel, gear ratios and betting odds — anywhere two quantities need to compare in their simpler proportions.Use itUse it
よくある質問
どうやって比率を簡単にする?
両方の数を最大公約数で除算します。1920:1080は両方とも120で除かれ、16:9になります。
比率の小数点は何ですか。
最初の数を2番目の数で割ってみる。16:9は16÷9≈1.778。
アスペクト比とは何ですか。
アスペクト比は幅と高さを比較するものです。例えば、ワイドスクリーンビデオの場合は 16:9、古いスクリーンでは 4:3 です。ピクセルの幅と高さを入力すると、計算機はそれらをよく知られているアスペクト比に縮小します。
比率をどうやって上下にスケールしますか?
両側を同じ数で乗算または除算します。 2:3 のミックスを倍にすると 4:6 になります。これはまだ 2:3 に戻すことができます。数量が変わっても比率は同じです。
小数点を使って比率を簡単にできるか?
最大公約数法は整数を必要とします。したがって、どちらの値も小数点であれば、計算機は比率とその小数点形式を減算せずに表示します。小数点を整数に変換するには、まず両方の値を 10 か 100 で乗算してください。
最大公約数は何ですか。
これは両方の値を正確に除去できる最大の整数です。1920 と 1080 の場合は 120 です。それぞれを 120 で除去すると最も単純な 16:9 形式が得られます。計算機がそれを見つけてくれます。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 API ドキュメントを読む →
エンドポイント
GET https://calculator.free/api/v1/ratio/
curl
curl "https://calculator.free/api/v1/ratio/?a=1920&b=1080"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/ratio/?" + new URLSearchParams({
"a": "1920",
"b": "1080"
}));
const data = await r.json();
console.log(data.results);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。