"When considering multiple products with different revenues and costs, we can calculate overall margin (%) on either of two bases: Total revenue and total costs for all products, or the dollar-weighted average of the percentage margins of the different products."[1]