Profit Margin and Markup Calculator
See how much you earn on one sale and how that amount compares with your cost and selling price. You can also work back from a margin or markup target.
Calculate a price or margin
- Choose whether to analyze a sale, find a minimum price or find a maximum cost.
- Choose your currency and enter the active amounts. For a target, choose margin or markup and enter the percentage.
- Review the result, the basis for each percentage and any rounding to the currency unit.
What each percentage means
Profit is the selling price minus cost.
Divide profit by the selling price to get margin. Divide it by cost to get markup. Multiply by 100 to express each as a percentage.
A minimum price rounds up and a maximum cost rounds down when the exact amount falls between two currency units.
Worked examples
At a selling price of €100 and a cost of €80, profit is €20. That is a 20% margin and a 25% markup.
With a €100 cost and a 33.33% target margin, the minimum selling price is €150.00.
Amounts included
Enter cost and selling price for the same item or service in one currency.
Profit reflects the amounts you enter. When finding a minimum price, enter a cost that stays fixed as the selling price changes.
Local calculation
Your browser calculates the results on your device.
Profit margin questions
Calculation sources
These references explain retail pricing, the two percentage bases and currency minor units.
- extension.umaine.eduUniversity of Maine Cooperative Extension — Retail pricingRetail pricing examples connect cost, selling price and profit.
- shopify.comShopify — Margin and markupShows why margin uses the selling price and markup uses the cost.
- six-group.comSIX — ISO 4217 currency standardsThe currency-code maintenance agency publishes the standard minor-unit precision.
Reviewed 19 November 2026.
The calculator uses the amounts entered, standard minor units, and exact target comparisons before display rounding.
Related tools
Monthly Budget Planner
Compare average monthly income, spending and savings allocations in one unit.
Open tool — Monthly Budget PlannerInvoice Generator
Create invoices for freelance work, services or products. Add line items, tax, discounts and payment details, then print or save a PDF locally in your browser.
Open tool — Invoice GeneratorProrated Rent Calculator
Estimate rent for inclusive charged dates within one calendar month using its actual day count and clear currency rounding.
Open tool — Prorated Rent CalculatorLoan Calculator
Estimate fixed monthly loan payments, total repayment and interest from the amount, annual interest rate and term.
Open tool — Loan CalculatorSavings Goal Calculator
Find a monthly saving amount or estimate months to your target under clear interest assumptions.
Open tool — Savings Goal CalculatorCompound Interest Calculator
Estimate a balance from starting money, recurring deposits and a stated interest rate, with monthly or yearly compounding and clear timing.
Open tool — Compound Interest CalculatorSalary / Hourly Pay Converter
Compare six gross-pay frequencies with explicit weekly hours, a 52-week model and clear currency rounding—without tax or exchange-rate assumptions.
Open tool — Salary / Hourly Pay ConverterVAT Calculator
Add VAT to a price or remove included VAT using your rate, with clear currency rounding and balanced totals.
Open tool — VAT Calculator