Percentage Calculator
Work out what X% of a number is, and what one number is as a percent of another.
Results update as you type.
Game da wannan 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.
Tambayoyi da ake yi da yawa
How do I find a percentage of a number?
Multiply the number by the percent and divide by 100. For example 15% of 200 is 200 × 15 ÷ 100 = 30.
Ta yaya yanayin canji na kashi na aiki?
Zaɓi "% canji daga X zuwa Y", shigar da adadin farawa kamar X da adadin ƙarshe kamar Y, kuma kalkuleta zai mayar da bambancin kashi cikin dari tsakaninsu. Zuwa daga 50 zuwa 80 zai ba da (80−50)/50 × 100 = karuwar kashi 60%.
Yadda zan canza kashi na cikin dari zuwa ɗari?
Ka raba kashi na 100, ko kuma ka motsa alamar ɗari biyu zuwa hagu. 15% zai zama 0.15 kuma 7.5% zai zama 0.075. Don ka tafi a wani hanya, ka ninka ɗari da 100.
Mene ne kashi na wani adadi daga wani?
Divide the part by the whole and multiply by 100. If 30 of 200 questions are correct, that is 30 ÷ 200 × 100 = 15%. Choose the "X is what % of Y?" mode to do this directly.
Ta yaya zan ƙara ko in rufe kashi dari daga lamba?
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.
What does a negative percentage change mean?
Wannan yana nufin kimar ta ragu. Idan kimar ta sabon ce mafi ƙaranci daga ta farko, to, canza fom ɗin zai dawo da kashi na rashin kyau — misali 260 ƙasa zuwa 200 yana da kusan -23%.
API — amfani da wannan calculator daga code
Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full 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);
Results are estimates for general guidance only, not financial, medical or tax advice.