Nhazi
Chọta ọnụahịa ahịa na olee otú ị ga-echekwa site na ọbụna pasent discount.
Nhọrọ ndị ahụ ga-akpụzi mgbe ị na-etipụta.
N'ihe banyere calculator a
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.
Ajụjụ ndị a na-ajụkarị
Olee otú m ga-esi hazie pasentị n'ụdị nkwụsị?
Ikwu ọnụ ahịa site na pasent discount na 100 iji nweta nchebe, wee wepu ya. 25% off 80 bụ nchebe nke 20, ya mere ọnụahịa nke oge a bụ 60.
Olee otú ịrụ ọrụ na nkwalite?
A nke abụọ discount na-abịa na-adịbeghị anya-reduced price, ọ bụghị na mbụ. 25% off mgbe ahụ 10% off 80 na-enye 80 → 60 → 54, ọ bụghị 52.
Olee otú m ga-esi hazie ọnụahịa nke ikpeazụ mgbe m ga-ewepụ ego?
Itinye ọnụọgụgụ nke ọnụahịa mbụ site na (1 − discount ÷ 100). Maka 25% nke 80: 80 × 0.75 = 60. Oge ị na-echekwa bụ nke mbụ na-enweghị nke ahụ - ebe a 20.
Ọ bụ 50% off mgbe ahụ 20% off dị ka 70% off?
No. The 20% na-abịa off the price already reduced by 50%, ya mere 100 → 50 → 40, a effective 60% off - not 70%. Stacked pasent na-adịghị na-agbakwunye n'otu n'otu.
Olee otú m ga-esi hụ uru mbụ site na uru ahịa?
Wepụ ọnụahịa ahịa site na (1 − discount ÷ 100). Ọ bụrụ na ihenhọrọ bụ 60 mgbe 25% gbanyụọ, ọ bụ 60 ÷ 0.75 = 80. Nke a na-ebuli discount ọ bụla.
Olee otú m ga-esi tinye ụgwọ ahịa na ọnụahịa a na-echekwa?
Ọrụ n'ime ahịa price mbụ, mgbe ahụ multiplied site (1 + tax ÷ 100). Tax field n'okpuru advanced nhọrọ na-eme nke a na-akpaghị aka, ka nke a na-agwụcha figure bụ ihe ị na-akwụ ụgwọ na checkout.
API — jiri kaadị a site na kóòdù
Kpọọ kalkulata a dịka ebe ngwụcha JSON n'efu - enweghị kii achọrọ. Ziga valiu ebe ahụ n'okpuru dịka paramita ajụjụ mọọbụ JSON. Ihe ọbụla ị na-ewepụ na-eji dìfọ́ọ̀ltụ̀ nke a na-edebe ihuakwụkwọ a na ya; parameter a na-amaghị bụ 400, ọ dịghị sẽọ̀rọ̀. Gụọ ngwe ndị ahụ niile →
Ebemkpofuozi
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);
Ihe a na-ahụta bụ n'ihi nlekọta n'ozuzu ya, ọ bụghị nlekọta ego, ọgwụ ma ọ bụ nlekọta ego.