virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-24

Profit by marketing channel: formula and worked example

By Devendra Variya, co-founder of Virling. Published 2026-11-24.

Profit by marketing channel is the revenue a channel brought, net of refunds, minus what you spent on the channel and the payment fees on its sales. Work it out for every channel over the same dates, then compare the amounts. In a made-up example, a channel that brought $6,000 on $3,500 of spend and $204 of fees made $2,296. Channels that cost time instead of money need a price on the hours, or they will look free.

This post is for founders and stores comparing channels after spend and fees. If you want to know what one new customer costs instead, read CAC by channel.

The formula

profit of a channel = net revenue - spend - payment fees
payment fees = net revenue x fee percent + payments x fixed fee
return = net revenue / (spend + payment fees)
  • Net revenue is the money credited to the channel in the range, after refunds and lost disputes. Include renewals, since the channel that won the customer earned them too.
  • Spend is what the channel cost in the same range: ads, sponsorships, freelancers, and tools only that channel uses.
  • Payment fees are the percent and the fixed amount your provider takes from each payment. The payment fee calculator estimates them.

This stops before the cost of the product. If you sell physical goods, product and shipping costs can turn a profitable channel into a losing one, so work out what each order leaves with the contribution margin calculator too. For a whole Shopify store, the Shopify profit calculator takes products, shipping, fees, refunds and ads off a month of orders. Salaries and rent stay out, since they do not change with the channel.

Profit or return?

Return says how hard each dollar works, and profit says how much is left. A newsletter can return ten dollars per dollar and still make less than ads that return under two, because it is small. Use profit to see what pays the bills and return to see where a dollar goes furthest. For ads that sell physical goods, the POAS calculator puts profit on ad spend, after product cost, fees and shipping, next to ROAS. Neither tells you what the next dollar will earn: most channels get less efficient as you spend more.

A worked example

Made-up numbers for an imaginary business, not results from a real one. One month, with fees of 2.9% + $0.30 per payment. Paid, email and social have money spent on them, and organic search has none:

ChannelNet revenuePaymentsSpendFeesProfitReturn
Paid$6,000100$3,500$204$2,2961.6x
Email$2,40060$150$87.60$2,162.4010.1x
Organic search$3,00075$0$109.50$2,890.50No data
Social$2,000250$1,980$133-$1130.9x
  • Return and profit disagree. Email has by far the highest return, yet Paid leaves more money.
  • Fees decide Social. Before fees it made $20. Its payments average only $8, so the fixed $0.30 alone costs $75, and after $133 of fees it lost $113.
  • Organic search looks best because nothing was typed as its cost. That is the next problem to fix.

Channels that cost time, not money

Writing posts, answering in communities and sending emails cost hours, and a channel with no invoice wins every comparison by default. Three rules keep it fair:

  • Use one hourly rate. Pick what you would pay someone to do the work, and use it for every channel. An exact rate matters less than the same rate.
  • Price the hours of every channel. Ads need time too. Adding time only to organic channels tilts the result the other way.
  • Spread work that keeps earning. An article written in March can bring sales all year. Divide its cost over the months you expect it to last instead of charging it all to March, and say how many months you assumed.

The same made-up month, with hours at $60: 4 on Paid, 5 on Email, 20 on Organic search and 10 on Social.

ChannelProfit before timeCost of timeProfit after timeReturn after time
Paid$2,296$240$2,0561.5x
Email$2,162.40$300$1,862.404.5x
Organic search$2,890.50$1,200$1,690.502.3x
Social-$113$600-$7130.7x

Organic search falls from first to third, and Paid is now ahead. That is not a reason to stop writing: 20 hours at $60 still left $1,690.50. Keep both tables. Profit before time is close to the cash you have left, and profit after time tells you whether the hours would do more elsewhere.

What to do with the answer

  • High profit, high return. Put a little more in, and check that profit grows as well as revenue.
  • High profit, low return. Keep it, and look for the part that wastes money. One campaign is often behind it, and revenue by campaign shows which.
  • Low profit, high return. A small channel that works. Test whether it can grow.
  • A loss. Check how long its customers take to pay before you cut it. Spend comes first and revenue follows, so a short range punishes slow channels. For subscriptions, also read LTV by acquisition channel.

To turn this into next month's plan, the marketing budget calculator splits a budget between paid channels by the revenue each brought. It does not take off fees, so check the split against the profit column.

See what each channel leaves after spend and fees

Virling credits each payment to the visit before it, and takes the spend you type and your payment fees off each channel. Self-host it free, or use the hosted version with a 14-day free trial.

Start free trial See the demo

Set up the Profit by channel card in Virling

Spend is typed by hand. Nothing connects to an ad platform, and the numbers are only as good as the amounts you type.

  1. Credit revenue to channels. Add the script, connect your payment provider and link checkout to visits. See link checkout to visits, and tag paid links so they land in Paid, as the rules in channels explain.
  2. Type your spend. In Site settings, under Monthly spend per channel, put one channel per line with what you spend on it each month in dollars. The channels are Paid, Email, AI, Organic search, Communities, Social, Referral and Direct.
  3. Add the Fees line. To take payment fees off too, add a line such as Fees 2.9% + 0.30: the percent of each channel's revenue plus the fixed amount for each of its payments. Use your own provider's rate.
  4. Save, then pick a range. When any channel has a spend, a Profit by channel card appears on the dashboard, below the main grid.

For the example above, the box would hold:

Paid 3500
Email 150
Social 1980
Fees 2.9% + 0.30

To count time as well, add its cost to the amount, such as Paid 3740, and give Organic search its own line, Organic search 1200. The box takes any dollar amount, so write down which view you saved.

Read the card

  • Without a Fees line, it shows each channel's spend, the revenue credited to it, the profit, and the return per dollar spent. Only channels with a spend are listed.
  • With a Fees line, it lists every channel with revenue. Its costs are spend plus fees, and profit is what is left. A channel with no spend entered shows only its fees as costs, and its return shows No data rather than an endless return.
  • Spend is the monthly amount scaled to the range. Pick 7 days and the card takes a little under a quarter of it. If your spend changed, type the amount that fits the range you are reading.
  • Revenue is already net of refunds and lost disputes, so do not subtract them again. To see which channels lose money that way, read refund rate by traffic source.

The Time to pay card shows the median time from first visit to first payment for each channel with at least three first payments in the range. Use it to pick a range long enough to be fair. Every row is in read your dashboard.

What to check when the profit looks wrong

  • Paid loses money and Direct has high revenue. Some ad links may be untagged, so their sales count elsewhere. Add utm_medium=cpc and a utm_source to every ad.
  • The channels add up to less than your revenue. Unattributed payments belong to no channel and are not on the card. See Unattributed revenue.
  • An old channel beats a new one by a lot. Renewals keep the channel of the first payment, so a channel that won subscribers last year still earns from them. See renewals.
  • Fees do not match your payout report. The line is one rate for the whole site, so it is an estimate. Real fees can differ by card, country and plan.
  • Two ad platforms share one row. Both are Paid. Open Paid on the Channels card for the revenue of each source, and subtract its spend and fees yourself.
  • The ranking changes when the model does. A payment is credited to one visit, by default the latest one in the last 90 days that was not Direct. See model and lookback window.

Frequently asked questions

How do you calculate profit by marketing channel?

For one channel and one date range, take the revenue credited to the channel after refunds, then subtract what you spent on the channel and the payment fees on its sales. Do the same for every channel over the same dates.

What is the difference between ROAS and profit by channel?

ROAS is revenue divided by ad spend, so it is a ratio and leaves out payment fees. Profit is an amount of money. A small channel can have the highest ratio and still add less profit than a larger one, so read both.

Should payment fees be part of channel profit?

Yes, if your channels bring payments of different sizes. A fixed fee per payment takes a larger share of a small payment, so a channel with many small orders can look profitable before fees and lose money after them.

How do I work out profit for SEO or social posts that cost time instead of money?

Multiply the hours by one hourly rate, such as what you would pay someone to do the work, and subtract that as the channel's spend. Price the hours of every channel, or keep the time out of all of them, so the comparison stays fair.

Does Virling import my ad spend?

No. You type a monthly amount per channel in Site settings, and nothing connects to an ad platform. Virling takes the revenue from your payment provider and credits it to channels.

Why does a channel show No data for its return?

It has revenue but no spend entered, so there is nothing to divide by. With a Fees line such a channel still appears on the Profit by channel card, with only its fees as costs.

See which channels make money

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo