The highest affiliate commission that still leaves you a profit.
The most you can pay is 1 − your target margin − fees and costs as a share of the price. On a $100 sale with $5 of costs and a 40% target, that is 50.2%. Enter your own price, rate and costs.
On each referred sale
The affiliate earns $30.00 and you keep $60.20 (60.2% margin).
Highest commission for a 40% margin
Up to 50.2%, or $50.20 a sale. Your current rate fits.
Commission is a share of the sale price, before fees. Margin is what you keep divided by the price. The highest rate is rounded down to 0.1%.
One referred sale at one price. Refunds, recurring or tiered commissions and coupons for the affiliate's audience are left out.
Where each referred sale goes
Four lines of maths. The worked examples use the calculator's defaults: a $100 sale, 30% commission, $5 of costs and a 40% target margin.
Affiliate earns
price × commission
30% of a $100 sale is $30.00. The calculator pays it on the full price, before fees.
Fee
price × 2% + card processing
Pocketsflow's 2% + card processing: $4.80 on $100.
You keep
price - commission - fee - costs
$100 - $30.00 - $4.80 - $5.00 of costs leaves $60.20, a 60.2% margin.
Highest rate
1 - target - (fee + costs) / price
For a 40% margin: 1 - 0.40 - ($4.80 + $5.00) / $100 = 50.2%. Above it, each referred sale keeps less than you want.
An affiliate program built into checkout
Built in on every plan, including Free: you enroll buyers as affiliates with a commission per product and see their clicks, orders and commission next to your own sales. The fee per sale stays 2% + card processing, and commissions are tracked for you.


Questions
How do I calculate an affiliate commission?
Multiply the sale price by the commission rate. 30% of a $100 sale is $30.00. What you keep is the price minus the commission, the platform fee and your own cost of the sale.
What is the highest commission I can afford?
1 minus your target margin, minus fees and costs as a share of the price. At $100 with $4.80 of fees, $5.00 of costs and a 40% target, that is 50.2%. The calculator rounds it down to 0.1% so it always meets the target.
What is a good affiliate commission rate?
One that is worth an affiliate's effort and still leaves you your margin. Digital products cost little to deliver, so they can pay more than physical goods. Treat the highest rate above as a ceiling and start below it, so you have room for a bonus tier later.
Is the commission paid before or after fees?
It depends on the program. This calculator takes the commission from the full price, before fees, which costs you the most. If your program pays on the amount after fees, your real margin is a little higher.
What if even 0% misses my target?
Then the sale itself does not reach your margin: the fee and your costs already take too much. Raise the price, lower the cost per sale, or lower the target before you add affiliates.
Does Pocketsflow have an affiliate program?
Yes, built in on every plan, including Free. You enroll buyers as affiliates with a commission per product and see their clicks, orders and commission in your analytics. The fee per sale stays 2% + card processing.
More free tools
Fees and pricing
- Fee calculatorWhat each platform takes from a sale, and what you keep each month.
- Payment fee calculatorWhat Stripe, PayPal and Pocketsflow take from a payment.
- Discount calculatorThe extra sales a discount needs before it pays off.
- EU VAT calculatorAdd or remove VAT at every member state's 2026 rate.
- Pricing guideSet a price from value, build three tiers, and see the sales a goal takes.
Profit and growth
- Profit calculatorYour real monthly profit after fees, refunds, ads and costs.
- Break-even calculatorThe sales that cover your costs, where revenue crosses total cost.
- Revenue forecastChart 24 months of compounding growth and the month you hit your goal.
- SaaS margin calculatorCloud and hosting costs against your price: margin and break-even.
Subscribers
Run these numbers on real sales.
2% a sale, plus card processing, with sales tax and VAT handled (2% tax handling fee on taxed sales). No monthly fee, so a month with no sales costs nothing.