Ratio Calculator
Kuita kuti zvive nyore kushandura ratio kuita decimal.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
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 them, and divides the first by the second to give the decimal equivalent.
For example, 1920:1080 share a common factor of 120, so the ratio simplifies to 16:9, which as a decimal is 1920 ÷ 1080 ≈ 1.778. That is exactly why a 1920×1080 screen is described as 16:9 widescreen.
Use 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 comparing in their simplest proportion.
Zvimwe zvinobvunzwa zvakanyanya
Ndinogona sei ku simplify a ratio?
1920:1080 vaviri vaparadzanisa ne 120, kupihwa 16:9. 1920:1080 vaviri vaparadzanisa ne 120, kupihwa 16:9.
Chii chinonzi decimal of a ratio?
Chivakirwa pakutanga nhamba nechinotevera. 16:9 i 16 ÷ 9 ≈ 1.778.
Chii chinonzi aspect ratio?
Aspect ratio inoenzanisa upamhi nekureba, semuenzaniso 16:9 kana 4:3. Dzvanya pane iyo pixel width ne height uye kalkulator ichaibvisa kuti uwane iyo yaunofarira aspect ratio.
Ndinogona sei kuchinja kureba kwemufananidzo?
Kuti uite 2:3 mix, unofanira kuisa 4:6, izvo zvinoramba zvichiita kuti 2:3 iite 2:3 — asi 2:3 ichiri kuitwa nevanhu vakawanda, saka 2:3 inofanira kuitwa nevanhu vakawanda.
Ndinogona sei kunyatsoita kuti zvive nyore kuongorora zvikamu zvemazana?
The greatest-common-divisor method needs whole numbers, so if either value is a decimal the calculator shows the ratio and its decimal form without reducing it. Multiply both sides by 10 or 100 first to turn decimals into whole numbers.
Chii chinonzi Greatest Common Divider?
It is the largest whole number that divides both values exactly. For 1920 and 1080 it is 120, so dividing each by 120 gives the simplest 16:9 form. The calculator finds it for you.
API — kushandisa iyi kalkulator kubva code
Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →
Endpoint
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);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.