I-Calculator ye-Discount

Fumana ixabiso lokuthengiswa kunye nobungakanani obuzigcinayo kwixabiso eliphantsi lepesenti.

$
%
%
Ixabiso elilandelayo lisetyenziswe kwixabiso elisele liphantsi.
%
Ixabiso eligqityiweyo —
Ugcina —

Iinketho ze projekti

Ingaba le calculator ikunika umyalezo olungileyo?

Malunga nale Calculator

A discount calculator applies a percentage off an original price to give you the final sale price and the amount you save. The saving is the price multiplied by the discount percent and divided by 100; the sale price is what is left after subtracting it. Add a second discount or a tax rate under advanced options to see the true checkout price.

For example, 25% off an 80 item saves 80 × 25 ÷ 100 = 20, so the sale price is 60. If a second 10% coupon applies, it comes off the already-reduced 60 — not the original — giving 60 × 0.90 = 54. That is why stacked discounts are always worth less than simply adding the two percentages together.

Use it while shopping to check whether a "40% off" tag is really the best deal, to compare two offers, or to work out the final price when a store code stacks on a sale. Turn on the tax field to see the actual amount you will hand over at the register.

Imibuzo ebuza rhoqo

Ndiyibala njani iphesenti yokhuphelo?

Ukuphindaphinda ixabiso ngepesenti yokhuphelo uyahlulwe nge-100 ukuze ufumane ukonga, emva koko ukhuphe. 25% phantsi kwe-80 kukonga kwe-20, ngoko ke ixabiso eligqithisileyo liyi-60.

Iikhuphoni ezidityanisiweyo zisebenza njani?

Ixabiso elilandelayo libhekisa kwixabiso elisele liphantsi, hayi eliphambili. 25% phantsi ngoko 10% phantsi kwe80 inika i80 → 60 → 54, hayi i-52.

Ndiyibala njani ixabiso eligqithisileyo emva kokunciphisa?

Ukuphindaphinda ixabiso eliphambili nge (1 − ikhuphoni ÷ 100). Ukuba ixabiso liphezulu nge 25% 80: 80 × 0.75 = 60. Ixabiso olizigcinelayo lixabiso eliphambili eliphantsi lo mfanekiso — apha 20.

Ingaba i-50% yokurhoxisa emva koko i-20% yokurhoxisa ifana ne-70% yokurhoxisa?

Akukho nto. I-20% ivela kwixabiso elisele liphantsi nge-50%, ngoko ke 100 → 50 → 40, i-60% esebenzayo ephantsi — hayi i-70%. Iipesenti ezidityanisiweyo aziyi kudibanisa ngokulula.

Ndiyifumana njani ixabiso eliphambili kwixabiso lokuthengiswa?

Divide the sale price by (1 − discount ÷ 100). If an item is 60 after 25% off, the original was 60 ÷ 0.75 = 80. This reverses a single discount.

Ndiza kudibanisa njani i-VAT kwixabiso eliphantsi?

Umsebenzi urhwebo lwexabiso lokuqala, ngoko uphindaphindo nge (1 + ityala ÷ 100). Icandelo letyala phantsi kokhetho oluphambili yenza oku ngokuzenzekelayo, ngoko ubungakanani besibini luyinto oyenzayo xa uhlawula kwi checkout.

❤️ Uthando Calculator.Free? Yabelana

𝕏  X Facebook Reddit
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/discount/

curl

curl "https://calculator.free/api/v1/discount/?price=80&percent=25"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/discount/?" + new URLSearchParams({
    "price": "80",
    "percent": "25"
  }));
const data = await r.json();
console.log(data.results);

Results are estimates for general guidance only, not financial, medical or tax advice.