# Margin & Markup Calculator | Octura Solutions

Free Tool · Updated June 30, 2026

# Margin & Markup Calculator

From cost and price to margin and markup, or from a target margin to the price you must charge. Margin is off the price, markup is off the cost: two numbers people often confuse.

Calculator · Margin & Markup

## Calculate margin and markup

Start from cost and price, or set a target margin to find the price. Margin is off the price, markup is off the cost.

Calculation mode From price to margin, or from a target margin to the price

Cost & priceTarget margin

Cost (USD) What the product costs you

Selling price (USD) What the customer pays

Margin40%$40.00 profit on a $100.00 price

Profit$40.00

Margin40%

Markup66.7%

Margin is profit divided by price; markup is profit divided by cost. A 100% markup is only a 50% margin.

Copy linkCopy breakdown

[Manage Pricing in Odoo →](/schedule)

-   Margin and markup togetherEnter cost and price to see both numbers side by side, so you never mix them up.
-   Price from a target marginStart from a target margin and a cost to get straight to the price you must charge.
-   No email, everRun as many costs and prices as you want. Nothing leaves your browser.

[Book a Free Audit](/schedule)[Margin vs markup](#explained)

Embed this calculator on your site

Paste this into your page. The calculator loads in a responsive frame with an attribution link back to Octura.

ThemeDarkLightMax width

−+

px

<iframe src="https://octurasolutions.com/embed/tools/margin-and-markup-calculator" width="100%" height="740" style="border:0;max-width:560px" loading="lazy" title="Margin & Markup Calculator"></iframe> <p style="font-size:13px;color:#555;font-family:system-ui,sans-serif">Powered by <a href="https://octurasolutions.com/tools/margin-and-markup-calculator">Margin & Markup Calculator</a> from <a href="https://octurasolutions.com">Octura Solutions</a></p> <script>window.addEventListener("message",function(e){if(e.data&&e.data.type==="octura-embed"&&e.data.slug==="margin-and-markup-calculator"){var f=document.querySelector('iframe\[src\*="margin-and-markup-calculator"\]');if(f){f.style.height=e.data.height+"px"}}});</script>Copy code

## Margin vs Markup Explained

Both measure the same profit, but against a different base. Profit is always price minus cost. Margin divides that profit by the selling price; markup divides it by the cost. That is why, for the same product, the markup is always a higher percentage than the margin.

| Measure | Formula |
| --- | --- |
| Profit | price minus cost |
| Margin (%) | (profit / price) x 100 |
| Markup (%) | (profit / cost) x 100 |
| Price from a target margin | cost / (1 minus margin/100) |

Worked example: a product costs $60 and sells for $100. The profit is $40. The margin is 40 / 100, or 40%. The markup is 40 / 60, or 66.7%. Same profit, two very different percentages, and mixing them up is how people underprice.

## Pricing in Odoo Sales

In Odoo, every product carries a cost and a sales price, and pricelists apply your margin or markup rules by customer, quantity, or currency. You can compute a sales price directly from cost using a markup, or track real margin line by line in the sales and inventory reports.

Octura sets up your pricelists, costing, and target margins in Odoo Sales so every quote respects your profitability thresholds without manual math.

[Explore Odoo Sales →](/odoo-apps/sales)

Pricing and margins in Odoo?

### We set up your pricelists and target margins

[Book a free consultation](/schedule)

#### Related Resources

-   AppOdoo[Odoo Sales](/odoo-apps/sales)
-   Tool2026[Software Stack Savings Calculator](/tools/odoo-stack-savings-calculator)
-   Tool2026[US Sales Tax Calculator](/tools/us-sales-tax-calculator)

## How this calculation is made

The Octura Margin and Markup Calculator converts between the two using margin = (price − cost) ÷ price and markup = (price − cost) ÷ cost, so a 50 percent markup is a 33.3 percent margin. Give it any two of cost, price or target margin and it solves for the third.

Backed by real migrations

## Numbers like yours, validated on real migrations

These are three engagements where the projection actually turned into operational reality on Odoo, and the full case studies live on the migration service page.

-   ManufacturingV12 → V17
    
    Industrial Manufacturer, Texas
    
    12custom modules carried over, zero data lost
    
-   DistributionV14 → V18
    
    Wholesale Distributor, Quebec
    
    30%faster page loads once the upgrade shipped
    
-   Professional ServicesCE → Enterprise
    
    Consulting Firm, Brussels
    
    0hproduction downtime during cutover
    

Implementation, migration and audit counts span our senior consultants' careers, including work delivered before Octura was founded in 2024. Go-live weeks and retention are measured on Octura engagements.

Official Odoo Partner · 50+ Migrations Delivered · V8 through V19 [Verify our partner status on odoo.com →](https://www.odoo.com/partners/octura-solutions-21959839?utm_campaign=partner-9354565e&utm_source=partner_ref)

[See the full case studies on migration →](/services/migration#cases)

## Frequently Asked Questions

-   ### What is the difference between margin and markup?
    
    +
    
    Both describe the same profit, but against a different base. Margin is profit divided by the selling price; markup is profit divided by the cost. For a $60 cost and a $100 price, the $40 profit is a 40% margin but a 66.7% markup.
    
-   ### How do I calculate price from a target margin?
    
    +
    
    Divide the cost by 1 minus the target margin as a decimal. For a $60 cost and a 40% target margin, the price is 60 / (1 minus 0.40) = $100. The target-margin mode of the calculator does this for you.
    
-   ### Why can margin never reach 100%?
    
    +
    
    Margin is profit divided by price, and profit is always less than price as long as there is any cost. Only a zero cost would give a 100% margin, so a target margin of 100% or more has no finite price.
    
-   ### Should I price on margin or markup?
    
    +
    
    Most businesses think in margin because it ties directly to revenue and profitability. Markup is handy for working up from cost. The key is not to confuse them: a 50% markup is only a 33.3% margin.