How it works
GST in the price isn't yours, so we start from the price minus GST. A delivered order makes that, minus product cost, packaging, forward freight, the COD charge and the ad spend behind it. A returned order brings in nothing and gives you the product back, but you've paid for packaging, freight both ways and the ads. Add the share of returns you can't resell, and the COD charge if your courier keeps it.
Average per COD order = profit if delivered × (1 − RTO rate) − loss if returned × RTO rate Break-even RTO rate = profit if delivered ÷ (profit if delivered + loss if returned)
The defaults are the example from How to calculate the true profit on a COD order, which walks through each line. Costs are before GST, since you claim that back as input tax credit.