TCGMargin Live demo Sign in
Core concepts

Landed cost & the moving average

The only monetary truth the app uses is what your bank actually debited in USD — wire amount plus wire fees. Enter the invoice lines in the supplier's currency plus that USD figure, and the app spreads the USD across lines proportionally to their invoice value (shipping, tariffs, and fees entered in the "Shipping & fees" field are absorbed the same way). The shown "effective rate" is derived from your money movement, never from a rate feed — if it looks far from the real exchange rate, something was mistyped.

Each product's cost is a moving weighted average: buying 8 more units at $42.50 when you hold 6 at $45 gives (6×45 + 8×42.50) ÷ 14 = $43.57. Sales never change the average — they just reduce units. Every figure is recomputed from the full event history on every read, and each product's "working figures" table shows the step-by-step replay so you can audit any number.