9+ How To Calculate The Contribution Margin Trending. Now, divide the total contribution margin by the number of units sold. Imagine that a basketball costs £20, with variable costs per unit of £8. Contribution Margin Ratio Formula Per Unit Example Calculation from www.myaccountingcourse.com Total contribution margin measures the amount of contribution margin earned by the …