Skip to content
/
Suscribirse Subscribe

Detrás del telón hay sistemas, no magia. Arquitectura de software, IA y computación de bajo nivel para las trincheras de producción.

Behind the curtain there are systems, not magic. Software architecture, AI, and systems engineering from the production trenches.

(🇪🇸 Cambiar a la Calculadora de Descuento e IVA Inverso en español aquí)

🔒 100 % CLIENT-SIDE · STACKED DISCOUNTS & REVERSE MATH

Compute exact stacked sale prices (e.g., 30% off + extra 15% coupon), calculate true combined discount percentage, or work backwards from any final checkout price to uncover the pre-discount original price and pre-VAT base.

Sale price
—
—
True effective discount
—
—
Implied pre-sale price
—
Reversed from final price
Pre-tax base (ex-21% VAT)
—
—

Stacked Discount & Reverse Percentage Formulas

Under transparent retail pricing rules (such as Spain's Ley 7/1996 requiring 30-day prior lowest price display), stacked promo codes compound multiplicatively rather than additively:

Effective_Discount (%) = (1 - (1 - d1/100) * (1 - d2/100)) * 100
Final_Price = Original_Price * (1 - Effective_Discount/100)
Original_Price_Reversed = Checkout_Price / ((1 - d1/100) * (1 - d2/100))
Net_Pre_VAT_Base = Final_Price / (1 + Tax_Rate)

Stacked Promo Cheat Sheet (Naive Addition vs True Effective Cut)

Store Promo Label Naive Mental Math True Combined Discount Checkout on 100 Sticker

FAQ & Companion Pricing Tools

Why doesn't adding 20% back recover the price after a 20% discount? Reducing 100 by 20% yields 80; adding 20% back gives only 96 because percentages aren't symmetric bases. Need merchant gross margin vs markup math? Try our VAT, Margin & Markup Calculator or audit recurring subscriptions via Subscription Audit Calculator.

Informational notice: Offline browser calculation for consumer comparison and retail pricing; confirm local sales tax or VAT rate at checkout.

Suscribirse Subscribe