How Are Affiliate Commissions Calculated? Formulas + 5 Worked Examples

Quick answer: Affiliate commission = qualifying sale amount × commission rate. A $120 order at 8% pays $9.60. Flat-fee programs skip the maths and pay a fixed amount per sale. In practice the “qualifying amount” is usually the price after discounts, tax and shipping, and the payout shrinks when customers get refunds.

Want your own number instead of reading about it? Affiliate Commission Calculator

AI can tell you the formula in one line. What it can’t easily tell you is which number goes into the formula, and that’s where most affiliates get surprised. This guide gives you the five commission models, a worked example of each (with the arithmetic shown), and the four adjustments that quietly change your real payout.


The core formula

Commission = Qualifying sale value × Commission rate

Everything else is a variation on what counts as qualifying and how the rate is applied.

The 5 commission models at a glance

Model How it pays Typical where You need to know
Percentage of sale % of order value E-commerce, courses, digital products Is it % of gross, net of tax, or net of discounts?
Flat fee (CPA / bounty) Fixed $ per sale or signup Hosting, fintech, SaaS trials What counts as the “action” (signup, first payment, 30-day retention)?
Recurring % of every subscription payment SaaS, memberships For how many months, and does it stop on cancellation?
Tiered Rate rises with your volume Networks, retailers Is the higher rate applied to all sales or only the extra ones?
Hybrid Flat upfront + % tail Larger SaaS/DTC brands Upfront trigger + length of the tail

Benchmark ranges reported by affiliate-program vendors (not guarantees, programs vary widely): SaaS commonly 20–30% recurring, e-commerce 5–15% per sale, online courses 30–50%, and hosting/fintech paying flat $50–$200 per customer.


Worked example 1: Percentage of sale

A reader buys a $120 jacket through your link. The program pays 8%.

$120 × 0.08 = $9.60

Sell 40 of those in a month and you earn $384. Simple, but see the “net vs gross” section below before you trust that $120.

Worked example 2: Flat fee (CPA)

A web-hosting program pays $75 per new customer. You refer 12.

12 × $75 = $900

Flat fees ignore order size. A $5 plan and a $50 plan pay the same, so what matters is the definition of a qualifying customer, not the price.

Worked example 3: Recurring commission (with churn)

A software tool costs $49/month and pays 30% recurring. You bring in 20 customers.

Month 1: 20 × $49 × 0.30 = $294

If nobody ever cancelled, a year would pay $294 × 12 = $3,528.

But subscribers do cancel. At a 5% monthly churn rate (about 1 in 20 customers leaving each month), the same 20 customers pay out about $2,703 over 12 months. That’s 23% less than the “no churn” fantasy. Whenever a recurring-commission page promises a yearly figure, ask what churn it assumed.

Worked example 4: Tiered commission

A retailer pays 5% on your first 10 sales in a month, 7% on sales 11–30, and 10% on sales 31+. Average order is $80 and you make 45 sales.

Applied marginally (each band at its own rate):

10 × $80 × 5%  = $40
20 × $80 × 7%  = $112
15 × $80 × 10% = $120
Total          = $272

Applied retroactively (hit the top tier and all sales earn 10%):

45 × $80 × 10% = $360

Same sales, $88 difference. Always read whether tiers reset monthly and whether they’re marginal or retroactive.

Worked example 5: Hybrid commission

A subscription service pays $25 upfront plus 10% of the $30 monthly fee for 6 months.

$25 + (10% × $30 × 6) = $25 + $18 = $43 per customer

Hybrids reward you quickly (upfront cash) while still sharing the long-term value.


What is the “sale value”? (Where the numbers quietly change)

Most programs calculate commission on the net amount, not what the customer sees at checkout.

A customer pays $110, which includes $10 of 10% sales tax/GST. The merchant pays you on the ex-tax amount:

$110 ÷ 1.10 = $100 → $100 × 10% = $10 (not $11)

Typical exclusions: tax/GST/VAT, shipping, gift-card purchases, and discount codes. Coupons are the big one: a $100 item bought with a 20%-off code usually pays commission on $80.

Whole-cart rules (Amazon-style)

Some programs pay on everything in the order, at each item’s own rate. Example: a cart with a $60 item at 3% and a $20 item at 4.5% pays

(60 × 0.03) + (20 × 0.045) = $1.80 + $0.90 = $2.70

The four adjustments that change your real payout

1. Refunds and chargebacks. If you earn $10 on each of 100 sales, that’s $1,000. With 8% of sales refunded, you keep $920. Most networks reverse the commission on refunded orders. Some (e.g. certain CPA deals) don’t. Check.

2. Attribution window (cookie length). Reported cookie windows: ~42% of programs use 30 days, 22% use 60, 18% use 90, and only about 3% have lifetime cookies. A buyer who returns on day 45 pays you only if the window is 60+ days.

3. Payment thresholds and holds. Many networks only pay once you pass a minimum balance and hold some revenue back for returns. Your earnings and your cash received are not the same number in the same month.

4. Currency and fees. Network currency conversion, wire fees, and payment-processor charges come out of what lands in your bank.


A quick checklist before you trust any commission figure

  • [ ] Is the rate applied to gross, net of tax, or net of discounts?
  • [ ] Flat, percentage, recurring, tiered or hybrid?
  • [ ] If recurring: how many months, and what’s the churn?
  • [ ] Are refunds/chargebacks reversed?
  • [ ] What’s the cookie window?
  • [ ] What’s the payout threshold and hold period?

Frequently asked questions

How do affiliates get paid per sale?
The merchant or network tracks the click via your link or code, confirms the sale after any return period, then credits your account. You’re paid once your balance passes the minimum payout threshold.

Is affiliate commission calculated before or after tax?
Usually before. Most programs use the ex-tax, ex-shipping order value.

What’s a good affiliate commission rate?
It depends on the vertical: roughly 5–15% for physical products, 20–30% recurring for software, 30–50% for courses, or flat $50–$200 for hosting/fintech. A high rate on a product that never converts earns less than a low rate on one that does, which is why EPC (earnings per click) matters more than rate alone.

Do recurring commissions last forever?
Only if the program says “lifetime.” Many cap at 6, 12 or 24 months.

How do I calculate my expected commission?
Multiply clicks × conversion rate × average order value × commission rate, then subtract refunds. The calculator below does it in seconds.

Try it with your own numbers

[Open the Affiliate Commission Calculator →] Enter your traffic, conversion rate, order value and refund rate, and see your realistic monthly commission.