<!-- Markdown version of https://ocxly.com/margin-markup-calculator.html · auto-generated, may lag the live page -->

# Margin & Markup Calculator

Turn cost and price into profit, margin and markup — or work backwards from a target margin or markup. Runs entirely in your browser.

### How it works

**Profit** is price minus cost. **Margin** is profit as a percentage of the *selling price*; **markup** is profit as a percentage of the *cost* — the two are often confused. Working backwards, price = cost ÷ (1 − margin) for a target margin, or cost × (1 + markup) for a target markup. All computed on your device.

---
*Source: [ocxly.com/margin-markup-calculator.html](https://ocxly.com/margin-markup-calculator.html) — OCXLY, free 100% client-side privacy-first tools. Free margin and markup calculator. Turn cost and price into profit, margin and markup, or work backwards from a target margin or markup, entirely in your browser.*
