To allocate ad spend to products, assign product-specific campaigns directly first. Then divide the remaining shared costs using a documented basis, such as net revenue or units sold. Reconcile every allocated dollar to the actual advertising expense.
Enter the allocated advertising expense per unit into the multi-SKU profit calculator at MarginCalculator.io to estimate contribution after advertising. This is a management allocation, not an inventory valuation.
How to allocate ad spend to products: formulas
Shared ad expense assigned to a product = total shared expense × product allocation weight ÷ total weights. Product advertising expense = direct advertising + allocated shared advertising. Ad cost per unit = product advertising expense ÷ units sold.
Use net revenue, quantities or suitable activity measures for allocation weights. Match the period used for weights with the period used for the advertising bill. Handle discounts and refunds consistently. For marketplace transactions, the TikTok Shop settlement report profit guide explains how to match outside advertising costs without deducting statement fees twice.
Attribution assigns credit for conversions; cost allocation distributes expenses. Google Ads attribution guidance explains how the selected attribution model affects conversion credit. Attributed revenue is not proof that all those sales would disappear without ads.
Worked example: two product lines
Product A sells 100 units at $60 and Product B sells 200 units at $20. Unit costs are $30 and $12 respectively. Combined revenue is $10,000 and gross profit is $4,600, or 46%.
Each product line incurs $600 of other direct expenses. Before ads, A earns $2,400 contribution and B earns $1,000. Monthly advertising costs $1,500, including $600 directly assigned to A, $300 to B and $600 shared.
A represents 60% of revenue, and B represents 40%. Allocate $360 of shared costs to A and $240 to B.
| Metric | A | B |
|---|---|---|
| Units | 100 | 200 |
| Net revenue | $6,000 | $4,000 |
| Product cost | $3,000 | $2,400 |
| Contribution before ads | $2,400 | $1,000 |
| Direct ads | $600 | $300 |
| Shared ads | $360 | $240 |
| Total ad cost | $960 | $540 |
| Ad cost/unit | $9.60 | $2.70 |
| Contribution after ads | $1,440 | $460 |
Combined contribution after ads is $1,900, or 19%, before unentered overhead. A’s contribution margin after advertising is 24%; B’s is 11.50%. The allocations sum to the $1,500 advertising bill.
Revenue share versus unit share
If you allocate the shared pool by units instead, A gets $200 and B gets $400. Total advertising becomes $800 and $700. Contribution changes to $1,600 and $300.
| Basis | A contribution | B contribution | Total |
|---|---|---|---|
| Revenue | $1,440 | $460 | $1,900 |
| Units | $1,600 | $300 | $1,900 |
The total does not change. The choice of weights changes only the product-level reporting. Choose a basis appropriate to the decision, and assign actual campaign-specific expenses directly when possible.
In the multi-SKU calculator, enter each quantity, price and product cost. Include $9.60 and $2.70 allocated ads per unit in the other direct cost field, along with any other direct costs not entered elsewhere. Do not also enter the same advertising bill as fixed overhead.
Common mistakes and practical checks
Counting campaigns twice
Remove directly assigned amounts from the shared pool. Reconcile costs to invoices, not overlapping campaign reports.
Confusing attribution with incrementality
Use appropriate campaign tests when deciding whether additional spend causes additional purchases. The allocated product margin alone cannot answer that question.
Forcing an unsupported allocation
Keep brand advertising separately at period level if no reliable product basis exists. If a product sells zero units, its cost per sold unit is undefined but the incurred expense still exists.
Compare advertising limits using the break-even ROAS calculator and profit after advertising guide. Different products can support different marketing budgets.
Choose an allocation basis for different campaign types
Not every advertising bill should be allocated in the same way. A product shopping campaign that reports costs by item may have a usable direct cost assignment. A campaign promoting an entire store may have no reliable product-level spending breakdown. Separate these pools before choosing an allocation method.
A reasonable reporting basis is one you can explain and reproduce. If you allocate by revenue, high-priced products receive more shared expense even if they sell fewer units. If you allocate by units, lower-priced products with high sales counts may receive a larger share. Neither convention establishes that the attributed product caused the cost.
| Campaign type | Possible treatment |
|---|---|
| Single-product promotion | Assign actual campaign cost directly |
| Shared category campaign | Allocate within eligible products |
| Storewide brand campaign | Use a documented shared basis or keep unallocated |
| Unidentified or unreconciled costs | Investigate before assigning |
Try another allocation using campaign activity
Return to the $600 shared expense in the worked example. Suppose a documented campaign activity measure is split evenly between A and B. The shared cost allocation becomes $300 each, leading to $900 total advertising for A and $600 for B.
A’s after-ad contribution becomes $1,500 and B’s becomes $400. Combined contribution still totals $1,900. This demonstrates why choosing different reporting weights can change product-level conclusions without changing the business’s overall financial result.
| Allocation basis | A total ads | B total ads |
|---|---|---|
| Revenue share | $960 | $540 |
| Unit share | $800 | $700 |
| Equal campaign activity | $900 | $600 |
Use the same convention consistently for a meaningful comparison between periods. If you change the allocation method, document the reason and separate its effect from any actual change in spending or sales.
Calculate advertising burden as a share of revenue
Under the revenue-share example, Product A has $960 advertising expense and $6,000 revenue. Its advertising burden is 16%. Product B has $540 expense and $4,000 revenue, or 13.50%. These figures reflect directly assigned and allocated spending together.
The advertising burden is not automatically the same as the inverse of campaign-reported ROAS. The revenue denominator may include organic sales and repeat buyers, while a platform’s ROAS can use an attribution window and a different revenue definition. Label the measurement clearly so it is not confused with a campaign performance report.
Prepare a reproducible advertising cost worksheet
Start with a list of invoices and charges for the reporting period. Record the campaign name, relevant product or product group, currency and any adjustment or credit. Identify costs for which direct assignment is available. Remove those amounts from the shared pool before allocating the balance.
Next, collect the chosen weights from the same period. Make sure product identifiers match between the sales report and advertising report. A campaign that promotes a collection should not automatically be assigned to unrelated inventory. Keep unallocated expenses visible if the basis is uncertain.
Reconcile the assigned costs back to the original advertising bill. Calculate contribution per SKU using product costs, selling fees, fulfillment and assigned advertising. If the report shows a loss for a product, investigate actual avoidable costs before removing that item. A shared campaign expense may remain even if the product is discontinued.
Finally, retain the original source reports and the allocation assumptions. This allows future reviews to distinguish a true decline in contribution from a change in accounting convention. Use controlled tests and cohort evidence for decisions about incremental advertising budgets rather than relying exclusively on the allocated profitability table.
Frequently Asked Questions
Should advertising be allocated by revenue or units?
Choose a documented basis that matches the purpose. Both can change individual product margins without changing total contribution.
Are ads part of inventory cost?
Ordinary advertising is generally a selling expense. Management allocation does not make it inventory cost.
What if a SKU sells no units?
Ad cost per unit is undefined. Keep the expense visible separately.
Can I use attributed conversion values as weights?
Yes, as a documented reporting convention if comparable and reconciled. They do not establish incremental demand.
Why is combined profit unchanged?
The actual advertising expense stays constant. Only its distribution changes.
Formula and illustrative example checks: December 1, 2026. See our editorial policy. Educational planning estimates only, not personalized financial, tax or accounting advice.