how do you calculate 30% margin?