Your calculation is correct. I'm not sure how you reached the conclusion you will have a loss?
$17.21 (30% of the gross amount) has already been paid in tax. As your marginal rate is 32.5% you will only have to pay an additional 2.5% in tax, which equals $1.43.
Thanks for your quick reply McLovin.
Silly me. So the net position should be $40.15 - $ 1.43 = $38.72 right?