Margin Calculator
This margin calculator helps you price products faster by solving the missing business metric when you already know two compatible inputs.
The page is designed for operators, founders, and ecommerce teams who need to move quickly between margin and markup without mixing the two up. It helps turn pricing questions into clearer decisions by showing the business meaning behind the math, not just the raw output.
Enter any two compatible fields such as cost and margin or price and markup. The calculator derives selling price, profit, gross margin, and markup percentage in real time.
Understand what this tool measures
What it measures
This calculator measures the pricing or profitability math behind margin calculator so the tradeoff is easier to read.
What affects the result
Cost, selling price, target margins, and the direction of the calculation all change the business outcome.
How people use it
People use the result to set prices faster, check profitability, and avoid making decisions from partial math.
How to keep the result
This margin calculator supports shareable URL state, so the current inputs can be copied into a link and reopened later without re-entering the scenario.
Enter your numbers and review the live output
What the result means
Margin Calculator updates results instantly as inputs change, then explains what the number means in plain language so the output is easier to act on.
How people use this calculator
Retail pricing
A product costs $40 and you want a 35% margin.
You need a selling price of about $61.54.
Profit check
An item costs $120 and sells for $180.
Profit is $60, margin is 33.33%, and markup is 50%.
Common questions
What is the difference between margin and markup?
Margin is profit divided by selling price. Markup is profit divided by cost. They describe the same profit from different reference points.
Can I calculate price from cost and target margin?
Yes. Enter cost and margin and the calculator will derive the selling price needed to hit that margin.
Why is my margin lower than my markup?
Margin uses selling price as the denominator, so it is usually lower than markup for the same product.
Explore nearby tools
Related business and finance tools below help users move into adjacent pricing and return questions.
ROI Calculator
Estimate return on investment, gain or loss, and annualized ROI from a single screen.
Percentage Calculator
Handle percentage of a number, percent-of, and increase or decrease in one place.