Mpikirakira

Mitadiava ny vidiny amin'ny fivarotana sy ny hoe ohatrinona no hotahianao amin'ny isan-jato amin'ny fihenam-bidy.

$
%
%
Ny fihenam-bidy faharoa dia ampiharina amin'ny vidiny efa nihena.
%
Ny vidiny farany —
Namonjy ianao —

Manova ny valin'ny fanoratanao.

Nanome anao ny valinteny marina ve ity milina fanisana ity?

Momba ity kapila ity

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.

Fanontaniana matetika

Ahoana no fomba hisafidiananao ny isan-jato amin'ny fihenam-bidy?

Multiply the price by the discount percent and divide by 100 to get the saving, then subtract it. 25% off 80 is a saving of 20, so the final price is 60.

Ahoana ny fomba fiasan'ny fihenam-bidy mitambatra?

A second discount applies to the already-reduced price, not the original. 25% off then 10% off 80 gives 80 → 60 → 54, not 52.

Ahoana no fomba hisafidianana ny vidiny farany aorian'ny fihenam-bidy?

Ampitomboy amin'ny (1 − fihenam-bidy ÷ 100) ny vidiny voalohany. Raha 80 ny fihenam-bidy 25%: 80 × 0.75 = 60. Ny vola voatahiry dia ny vidiny voalohany noesorina tamin'io isa io — 20 eto.

Ny fihenam-bidy 50% ary avy eo 20% ve dia mitovy amin'ny fihenam-bidy 70%?

Tsia. Ny 20% dia avy amin'ny vidiny efa nihena 50%, ka 100 → 50 → 40, 60% ny fihenam-bidy — tsy 70%. Tsy mitambatra fotsiny ny isanjato.

Ahoana no ahafahako mahita ny vidin'ny voalohany avy amin'ny vidiny fivarotana?

Zarao amin'ny (1 − fihenam-bidy ÷ 100) ny vidiny. Raha 60 ny vidiny aorian'ny fihenam-bidy 25%, dia 60 ÷ 0.75 = 80 ny vidiny voalohany. Miverina amin'ny fihenam-bidy tokana izany.

Ahoana no ahafahako mampiditra ny hetra amin'ny varotra amin'ny vidiny ambany?

Ataovy aloha ny vidiny, avy eo ampitomboy amin'ny (1 + hetra ÷ 100). Ataon'ny sehatr'asa hetra eo ambanin'ny safidy ambony izany, ka ny isa farany dia ny vidiny tena aloanao rehefa mividy.

❤️ Fitiavana Calculator.Free? Zarao

𝕏  X Facebook Reddit
API — mampiasa io milina fanisana io avy amin'ny rindran'asa

Antsoy ho toy ny farany JSON malalaka ity milina fanisana ity - tsy mila famaha. Mandefa ireo sanda eo amin'ny sehatr'asa etsy ambany ho toy ny mpizaratry ny fanontaniana na JSON. Ny zavatra tsy voalaza dia mampiasa ny sanda tsotra efa nameno ity pejy ity; 400 ny sanda tsy fantatra, tsy aotra tsy misy feo. Vakio ny tahirin-kevitra API feno →

Endpoint

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);

Ny voka-pikarohana dia natao ho an'ny torohevitra ankapobeny ihany, tsy torohevitra ara-bola, ara-pitsaboana na ara-bola.