Profit is calculated after commissions. Your net return reflects the full cost of buying and selling the shares.