Treasury & FX

Contribution margin by product and currency: how to calculate it

Contribution margin is price minus variable costs, and when inputs are priced in dollars and sales in local currency, every rise in the exchange rate cuts it even if the line sells the same volume.

Erika Sandoval
Erika Sandoval11 min read
Share
Treasury

Two product lines can have the same selling price and very different profitability if one buys its inputs in dollars and the other in local currency. The imported line's contribution margin moves with the exchange rate even when price, volume and fixed costs do not, and the consolidated income statement does not show it. Setting prices from the average margin means deciding with incomplete data.

In Soulbit Academy we follow the CFO Kit, a series on reading the numbers of a company that operates in two currencies. After financial ratios with dollar balances and the income statement in two currencies, this instalment goes down to the product line. Soulbit does not replace your accountant or statutory auditor.

Contribution margin: definition and formulas

Contribution margin is sales revenue minus variable costs, and it measures how much each product adds toward covering fixed costs and generating profit. It is a management accounting concept: no accounting standard defines it or requires presenting it, so each company sets its own definition.

What it does require is a clean cost classification. Variable cost moves with volume: inputs, packaging, sales commissions, delivery freight and piece-rate labor. Fixed cost does not move in the short run: rent, administrative salaries and depreciation. Mixed costs, such as a plant's electricity, are split into a fixed and a variable part.

It should not be confused with gross margin, which deducts the full cost of sales and can include fixed production costs. Contribution margin deducts only what varies with each unit sold, including variable selling costs. The table below gathers the measures used in this article.

MeasureFormulaWhat it answers
Unit contribution marginNet price minus unit variable costHow much each unit sold adds toward fixed costs
Total contribution marginUnit contribution x units soldHow much the line adds in the period
Contribution margin ratioUnit contribution / net priceWhat share of each currency unit sold remains after variable costs
Mix contribution ratioSum of contributions / sum of salesAverage margin weighted by each line
Management operating resultSum of contributions minus fixed costsWhether all lines together cover the fixed structure
Gross margin (for contrast)(Sales minus cost of sales) / salesAccounting margin that may include fixed production costs
Table 1. Contribution margin measures, with their formula and the question each answers.

Contribution margin by product: how to calculate it line by line

To calculate contribution margin by product, follow four steps: set the net price, add the unit variable costs, subtract, and multiply by units sold. The net price excludes sales taxes and deducts discounts and returns.

  1. Net price: revenue per unit after discounts, returns and taxes passed on to the customer.
  2. Unit variable cost: inputs, packaging, piece-rate labor, freight and commissions, each in its original currency.
  3. Unit contribution: net price minus unit variable cost, converted to a single currency at an explicit exchange rate.
  4. Total contribution: unit contribution times the units of the period.

Fixed costs are not allocated to products in this calculation: an arbitrary rule makes a product look loss-making when it actually covers part of the structure. Add up the contributions of all lines and compare them with total fixed costs.

Should a product with a low contribution margin be discontinued?

Not necessarily: a product with positive contribution covers part of the fixed costs, and dropping it without cutting those costs lowers profit. The decision depends on whether the product uses a scarce resource, such as plant capacity or working capital, and whether its sale pulls other products along.

To see the calculation at work, take a fictional Colombian subsidiary with two lines. Every figure in the example is an illustrative assumption: none is market data or belongs to any Soulbit client. Line A distributes imported appliances, priced at COP 500,000, with USD 80 of imported product per unit and COP 70,000 of local variable costs (freight, commission). Line B is a locally made product priced at COP 400,000 with COP 240,000 of variable cost. The company sells 2,000 units of A and 1,500 of B per month, and fixed costs are COP 450,000,000.

At an assumed rate of COP 4,000 per dollar, the imported product costs COP 320,000. Line A's variable cost is COP 390,000 and its contribution is COP 110,000 per unit, or 22.0% of the price. Line B contributes COP 160,000 per unit, or 40.0%. In total A adds COP 220,000,000 and B adds COP 240,000,000. The management operating result is COP 10,000,000.

Contribution margin when costs are in dollars and the price is in local currency

When variable costs are in dollars and the price is in local currency, unit contribution margin falls each time the dollar rises, because the price stays put and the cost does not. The formula is simple: unit contribution equals price, minus dollars of input per unit times the exchange rate, minus local variable cost.

Each extra peso in the exchange rate subtracts as many pesos per unit as there are dollars of input. In the example that is COP 80 per unit, and with 2,000 units a month, COP 160,000 of contribution per peso of movement. Line A therefore carries an exposure of USD 160,000 a month inside its variable cost. The table below recalculates the company at four assumed rates, without changing price, volume or fixed costs.

Exchange rate (assumption)Unit variable cost of AUnit contribution of AContribution ratio of ACompany total contribution (COP million)Management operating result (COP million)
3,800374,000126,00025.2%49242
4,000390,000110,00022.0%46010
4,200406,00094,00018.8%428-22
4,400422,00078,00015.6%396-54
Table 2. Effect of the exchange rate on the contribution margin of a fictional company with a dollar-priced product (COP per dollar; all figures are assumptions).

The table teaches three lessons. First, from 4,000 to 4,400, a 10.0% rise in the dollar, line A's unit contribution falls 29.1% and the result swings from a COP 10 million profit to a COP 54 million loss. Fixed costs amplify the blow because they do not give way.

Second, line B did not change and still adds COP 240 million, so the deterioration sits in one line that the average hides. Third, the ratio gap is wide: A earns 22.0% against 40.0% for B at 4,000, and the gap grows with every rise in the dollar. Volume priorities that look right at one rate may not at another.

The inverse case also exists: an exporter with dollar prices and local-currency costs loses contribution when the local currency strengthens. The principle is the same. Calculate contribution currency by currency, then convert it at an explicit rate.

How to protect a product line's contribution margin from exchange-rate moves

A line with dollar variable costs can be protected from the exchange rate in four ways: pass the rise through to the price, change the currency of the price or the cost, hedge the position, or accept a lower margin. The first is pass-through. In the example, to hold COP 110,000 of contribution with the dollar at 4,400, the price must rise from COP 500,000 to 532,000, or 6.4%.

The price rises less than the dollar because the imported product is 64% of the price at 4,000. The second is changing currency: agreeing a dollar price with customers that accept it, or negotiating a local-currency cost with the supplier. The third is hedging, with instruments that fix the rate for future purchases; their cost and conditions are explained in FX hedging for companies with dollar revenue and local costs. The fourth is accepting the lower margin if competition blocks a price rise.

Two controls prevent late decisions. First, use in the line margin the same rate as in the 2027 budget FX rate assumption. Second, carry the input purchases into the cash flow forecast for foreign-currency flows, because USD 160,000 a month is a dated cash outflow.

At what exchange rate does a line stop contributing?

A line stops contributing when its unit contribution reaches zero: the price minus local variable cost, divided by the dollars of input per unit. With the example's assumptions, (500,000 minus 70,000) divided by 80 gives COP 5,375 per dollar. Long before that the company stops covering fixed costs; that overall threshold is the break even point and how exchange rates shift it, a separate analysis.

Accounting margin versus management contribution margin

The management contribution margin uses the replacement cost of the input at the current rate, while the accounting cost of sales uses the rate at which the inventory was recorded. IAS 21 treats inventory as a non-monetary item, kept at the rate of the transaction date. A dollar payable to the supplier, by contrast, is monetary and is remeasured at the closing rate, with the difference in profit or loss.

This creates a timing gap. If the company bought the product at 3,800 and sells it with the dollar at 4,400, the income statement shows a cost of sales at 3,800 and a contribution near COP 126,000. The replacement margin, the one that matters for the next purchase, is already COP 78,000.

It is not an accounting error, it is a difference in purpose. In Colombia, Decree 2420 of 2015 gathers the applicable financial reporting framework; neither it nor IAS 21 defines contribution margin. Calculate two versions and present the bridge between them: one at replacement rate to decide prices, and one at historical rate to reconcile with the income statement.

Common mistakes in contribution margin by product and currency

Six mistakes to avoid when calculating contribution margin by product and currency concern classification, conversion and frequency. The first is mixing currencies without an explicit rate: adding dollars and local currency in one column yields a number nobody can reproduce.

The second is classifying a fixed cost as variable, or the reverse. The third is allocating fixed costs across products and concluding one loses money when its contribution is positive. The fourth is using the rate of the last purchase to set future prices instead of the replacement rate.

The fifth is forgetting the financing cost of imported inputs: inventory in transit ties up cash, and that cost does not appear in the contribution; estimate it with the cost of idle cash and the cash conversion cycle. The sixth is calculating once a year: with dollar inputs, recalculate monthly and always record the rate used.

What Soulbit delivers today and what stays with your accountant

Soulbit V1 delivers company balances in stablecoins (USDC and USDT) and fiat (USD, EUR and GBP) under institutional custody, eOTC conversion by quote on request, a local bank rail in Colombia only, payment links, collection QR codes and recurring or batch payroll. Each movement carries a date, amount and reference, and the history can be exported for reconciliation.

That history helps document how much and when a dollar input was paid, which feeds the variable cost of the imported line. What Soulbit does not do: it does not calculate contribution margins, cost products or classify costs as fixed or variable. There is no API or SDK to connect to accounting software or an ERP in V1, and export is manual. It offers no currency hedging or yield on balances. Costing and classification are the accountant's job.

Frequently asked questions

What is contribution margin?

Contribution margin is sales revenue minus variable costs, and it measures how much a product adds toward covering fixed costs and profit. It can be stated per unit, in total or as a percentage of price. It is a management accounting measure, not a figure defined by accounting standards.

How do you calculate contribution margin per product?

Subtract the unit variable cost from the net selling price and multiply the result by the units sold. Variable cost includes inputs, packaging, delivery freight and sales commissions. Fixed costs are not allocated to products: they are compared with the sum of all contributions.

What is the difference between contribution margin and gross margin?

Contribution margin deducts only variable costs, including variable selling costs. Gross margin deducts the full cost of sales, which can include fixed production costs such as depreciation or supervision. The first suits pricing and volume decisions, and the second suits reading the income statement.

How does the exchange rate affect contribution margin?

If a line's variable costs are in dollars and its price is in local currency, each rise in the dollar raises the cost and cuts the unit contribution by the dollars of input per unit. If the price is in dollars and costs are local, the opposite happens when the local currency strengthens.

What is a good contribution margin?

There is no universal good value, because it depends on the sector, the fixed cost structure and the volume. A contribution margin is sufficient when the sum of contributions covers fixed costs and leaves the profit the company targets. Compare it with each line's own history and with the exchange rate used to calculate it.

Want your company to add stablecoins to its operations?

Join the Soulbit waitlist and start paying payroll, collecting and managing treasury without SWIFT.

Join the waitlist

Related articles

Treasury

Break Even Point and Exchange Rates: How Currency Shifts the Threshold

The break even point is the sales level where profit is zero. This guide gives the formula in units and in sales, the margin of safety, and how exchange rates move it when costs are in one currency and revenue in another.

11 min read
Break Even Point and Exchange Rates: How Currency Shifts the Threshold
Treasury

Cash flow forecast: USD revenue, local currency costs

Forecasting an entire cash flow at today's exchange rate is the most common mistake a company makes when revenue arrives in dollars and costs are fixed in local currency.

11 min read
Cash flow forecast: USD revenue, local currency costs