As illustrated below, this application will return the Cost of an item given its Selling Price and Markup on its Cost. It will also note the Markup Amount, Profit and Profit Margin in relation to Selling Price and Cost.