Notes

Maths

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

How to Calculate Stacked Discounts: Why 20% Off Then 10% Off Isn't 30%
Learning notes

How to Calculate Stacked Discounts: Why 20% Off Then 10% Off Isn't 30%

Stacked discounts multiply rather than add. To find the final price, multiply the original price by (1 − first discount) and then by (1 − second discount). So 20% off followed by an extra 10% off gives 0.8 × 0.9 = 0.72 of the price, which is 28% off, not 30%.

October 18, 2026 · 10 min read · 31 views

0%