I-Calculator yepesenti
Umsebenzi owenzayo yi X% yenani, kwaye yintoni enye inani njengeepesenti yenye.
Iinketho ze projekti
Malunga nale Calculator
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.
Imibuzo ebuza rhoqo
Ndifumana njani iphesenti yenani?
Ukuphindaphinda inani ngeepesenti kwaye udibanise nge 100. Umzekelo 15% ye 200 yi 200 × 15 ÷ 100 = 30.
Inkqubo yotshintsho lwepesenti isebenza njani?
Khetha "% utshintsho ukusuka ku-X ukuya ku-Y", ngenisa inani lokuqala njenge-X kwaye inani lokuphelisa njenge-Y, kwaye i-calculator ibuyisela utshintsho kwipesenti phakathi kwabo. Ukusuka ku-50 ukuya ku-80 kunika (80−50)/50 × 100 = ukukhula kwe-60%.
Ndiyiguqula njani iphesenti kwishumi?
Divide the percentage by 100, or move the decimal point two places to the left. 15% becomes 0.15 and 7.5% becomes 0.075. To go the other way, multiply the decimal by 100.
Iphi iphesenti eyinxulumene nenani elinye lelinye?
Yahlula inxalenye ngento epheleleyo kwaye uyiphindaphindwe nge 100. Ukuba 30 yemibuzo engama-200 ilungile, oko kukuthi 30 ÷ 200 × 100 = 15%. Khetha "X yi% ye Y?" indlela ukwenza oku ngqo.
Ndizidibanisa njani okanye ndizikhupha njani iepesenti kwinani?
To add, multiply by (1 + percent ÷ 100); to subtract, multiply by (1 − percent ÷ 100). Adding 15% to 200 gives 200 × 1.15 = 230, and taking 15% off gives 200 × 0.85 = 170.
Yintoni ethetha ukuba utshintsho lwepesenti olubi?
Oku kuthetha ukuba ixabiso lihla. Ukuba ixabiso elitsha lincinci kunelo lokuqala, ifomu yetshintsho ibuyisela iphesenti e negative - umzekelo 260 ezantsi kwi 200 malunga ne - 23%.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
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);
Results are estimates for general guidance only, not financial, medical or tax advice.