Starting with markup
When cost and markup are provided, the calculator multiplies cost by the markup rate to find the dollar difference, then adds that difference to cost. It calculates the equivalent margin by dividing the difference between selling price and cost by the selling price. This conversion makes two pricing proposals stated with different percentage bases directly comparable.