# Profit margin calculator

> Calculate profit, profit margin and markup from your cost and selling price. Understand the difference between margin and markup. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/profit-margin-calculator

Margin and markup are not the same number, and mixing them up costs money. Enter what a product costs you and what you sell it for.

1. Enter what the product costs you.
2. Enter the price you sell it for.
3. Press Calculate and read the margin and the markup.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `cost` | number | yes | Cost. |
| `price` | number | yes | Selling price. |

## Example

Input:

```json
{
  "cost": 60,
  "price": 100
}
```

Result:

```json
{
  "profit": 40,
  "margin_percent": 40,
  "markup_percent": 66.67,
  "verdict": "You keep 40% of every sale."
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "profit-margin-calculator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/profit-margin-calculator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"cost":60,"price":100}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**What is the difference between margin and markup?**

Margin is profit as a share of the price; markup is profit as a share of the cost. Buying at 60 and selling at 100 is a 40% margin and a 66.7% markup.

**What is a good profit margin?**

It depends on the trade: around 5% net for groceries, 10 to 20% for most retail and services, 70 to 85% gross for software.

**Is this gross or net margin?**

Whatever your cost covers. With only the cost of the goods it is gross margin; add overheads and taxes to the cost for net margin.

All free tools: https://orkosi.com/tools.md
