Profit, margin, and markup from cost and price.
How this calculator works
Profit is price minus cost. Margin is profit divided by price. Markup is profit divided by cost. A zero price or a zero cost leaves the matching percent at zero.
Questions
How is margin different from markup?
Margin uses the price as the base. Markup uses the cost.
Can price be below cost?
Yes. Profit and both percents are then negative.
Are taxes in the price?
Only if you included them in the numbers.