Calculator
Kudzidza kuti X% yechiuru ndeipi, uye kuti imwe chiuru ndeipi sechikamu chechiuru cheimwe.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
A percentage calculator handles the three everyday percentage questions in one place: what is X percent of a value, what percent one number is of another, and the percentage change between two numbers. Pick the question from the dropdown and fill in the two boxes — the tool applies the matching formula automatically.
The maths behind each is simple. "X% of Y" multiplies Y by X and divides by 100, so 15% of 200 is 200 × 15 ÷ 100 = 30. "X is what % of Y" divides X by Y and multiplies by 100, so 30 out of 200 is 15%. "% change from X to Y" takes the difference over the original, so 200 rising to 260 is (260 − 200) ÷ 200 × 100 = 30%.
Use it for discounts and tips, tax, test scores, tip splitting, commission, growth rates and any of the countless moments daily life throws a percentage at you. Because it accepts decimals and negative numbers, it also works for shrinkage, losses and before-and-after comparisons.
Zvimwe zvinobvunzwa zvakanyanya
Ndinogona sei kuwana huwandu hwezviuru zvemazana ehuwandu?
Kuwedzera mashoko nepercentage uye kuparadzana ne 100. For example 15% of 200 is 200 × 15 ÷ 100 = 30.
Maitiro ekuchinja kwepercentage mode anoshanda sei?
Choose "% change from X to Y", nyora nhamba yekutanga se X uye nhamba yekupera se Y, uye kalkulator ichadzosera muyero wezviyero zvakasiyana pakati pavo. Kubva pa50 kusvika pa80 kunopa (80−50)/50 × 100 = 60% kukwira.
Ndinogona sei kushandura huwandu hwezviuru kuita huwandu hwezviuru?
Kuparadzanisa muzana ne 100, kana kufambisa decimal point maviri nzvimbo kuchamhembe. 15% ichava 0.15 uye 7.5% ichava 0.075. Kuti uende nzira imwe, multiplie decimal by 100.
Chii chiyero ndechipi cheimwe nhamba yeimwe?
Chiva chikamu nezvose uye wedzera ne 100. Kana 30 ye 200 mibvunzo iri yakakodzera, iyo 30 ÷ 200 × 100 = 15%. Choose the "X is what % of Y?" mode to do this directly.
Ndinogona sei kuwedzera kana kubvisa huwandu hwemazana kubva kune imwe nhamba?
Kuti udzivise, wedzera ne (1 + percent ÷ 100); kuti udzore, wedzera ne (1 − percent ÷ 100).Kuwedzera 15% ku200 kunopa 200 × 1.15 = 230, uye kubvisa 15% kunopa 200 × 0.85 = 170.
Chii chinonzi kuchinja kwepercentage kunoipa?
Kana iyo nyowani kukosha iri pasi peiyo yazvino, formula yeshanduko ichadzosera huwandu hwemazana akaipa, semuenzaniso, 260 pasi pe200, izvo zvinoreva kuti 23% yakaderera.
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/percentage/
curl
curl "https://calculator.free/api/v1/percentage/?mode=of&a=15&b=200"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/percentage/?" + new URLSearchParams({
"mode": "of",
"a": "15",
"b": "200"
}));
const data = await r.json();
console.log(data.results);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.