How to use this calculator
- Enter total cost, selling price.
- Choose a display currency, then select Calculate. Results also update after a brief pause while you edit.
- Read the result with the assumptions below. Export details or save a second scenario to compare your choices.
Formula and method
Assumptions and limitations
Both amounts must use the same currency and tax basis. Cost includes whichever expenses you enter. Ratios with a zero denominator are shown as undefined, not 0%.
Worked example
Cost of 60 and price of 100 gives profit 40, margin 40% and markup about 66.67%.
What the result means
Margin and markup use different denominators. A loss appears as a negative value. Zero cost can make markup undefined even when profit exists.
Common questions
Are margin and markup interchangeable?
No. Margin uses revenue; markup uses cost.
What happens at zero selling price?
The profit still calculates, but profit margin is undefined.
Methodology and transparency
Calculation specification reviewed on 2026-10-14. Mathematical implementation is tested against independent reference fixtures. This does not imply review by a licensed financial professional. Read the testing and precision policy.