The answer is $20. To get this result, use the formula markup = 100 × profit / cost. We transform it to profit = markup × cost / 100 and plug in the numbers: profit = 40 × 50 / 100 = $20. Read more