A margin calculator is used to determine the margin percentage from the selling price and cost of goods sold. The profit margin calculator, on the other hand, is used to figure out the percentage of profit in relation to the total revenue.