← All financial calculators
BUSINESS

Profit margin & markup

Instructor subject match · Review pending

Compare gross margin with markup on cost.

Your scenario

Your results

Gross profit per unit$40.00
Gross margin40.00%
Markup on cost66.67%

Display currency changes formatting only; it does not convert amounts.

Download this scenario as a PDF ↓
WORKED EXAMPLE

A scenario you can check.

The default example uses the inputs below. Monetary amounts use USD; exchange-rate quantities use the units shown. These public examples are readable without JavaScript.

Default inputs for Profit margin & markup
InputValue
Unit cost60
Selling price100

Apply the formula below using these values; change the form inputs to explore another scenario.

Download the public example inputs and results (JSON)

How this calculator works

Margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

Per-unit gross profit; excludes overhead, taxes, financing and sales volume.

For monthly growth formulas: P is the initial balance, C is the month-end contribution, i is the effective monthly rate and n is the number of months. At zero interest the annuity factor is n. Values are calculated before display rounding.

These are educational scenarios. Entered rates and projections are assumptions, not forecasts or personal recommendations.

MULTI-MODEL PERSPECTIVES

32 model reviews of this calculator.

Our 30+ LLM network reviews the public formula and assumptions. These are saved explanations and cautions; models do not receive your inputs, perform the arithmetic, or certify correctness.

codegemma:2b · 2026-11-17

Profit margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

codegemma:7b · 2026-11-17

> Per-unit gross profit; excludes overhead, taxes, financing and sales volume.

codellama:7b · 2026-11-17

Profit margin and markup formulas assume per-unit gross profit and exclude overhead, taxes, financing, and sales volume.

deepseek-coder:1.3b · 2026-11-17

id: margin-markup, title: Profit margin & markup, formula: Margin = (selling price - cost) / selling price; markup = (

dolphin-phi:2.7b · 2026-11-17

Profit margin and markup are calculated per-unit gross profit, excluding overhead, taxes, financing, and sales volume.

falcon:7b · 2026-11-17

Margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

gemma3:1b · 2026-11-17

Profit margin – Gross profit only.

gemma:2b · 2026-11-17

id: margin-markup

gemma:7b · 2026-11-17

Based on per-unit gross profit, ignoring other expenses.

llama2:7b · 2026-11-17

Margin mark-up: Margin = (selling price - cost)/selling price; markup = (selling price - cost)/cost

llama3.2:3b · 2026-11-17

Margin and markup formula excludes overhead, taxes, financing, and sales volume.

llava:7b · 2026-11-17

Margin formula: Margin = (selling price - cost)/selling price; markup = (selling price -

mistral:7b · 2026-11-17

Profit margin and markup formula provides per-unit gross profit, excluding overhead, taxes, financing, and sales volume.

neural-chat:7b · 2026-11-17

Margin and markup focus on per-unit gross profit, excluding overhead, taxes, financing, and sales volume.

nous-hermes:7b · 2026-11-17

Margin: Margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

openchat:7b · 2026-11-17

Profit margin & markup excludes overhead, taxes, financing, and sales volume.

orca-mini:3b · 2026-11-17

Margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

phi4-mini:latest · 2026-11-17

Ignores overhead, taxes, financing, and sales volume.

phi:2.7b · 2026-11-17

id_margin_markup

qwen2.5:3b · 2026-11-17

Per-unit gross profit calculation; excludes overhead, taxes, financing, and sales volume.

qwen3.5:2b-q4_K_M · 2026-11-17

Margin excludes overhead, taxes, and sales volume from the profit calculation.

qwen3.5:4b-q4_K_M · 2026-11-17

Margin excludes overhead costs, financing charges, and sales volume effects.

qwen:1.8b · 2026-11-17

Margin = (selling price − cost)/selling price), Excluding overhead, taxes, financing and sales volume.

qwen:4b · 2026-11-17

Profit margin and markup calculation

solar:10.7b · 2026-11-17

Margin and markup represent per-unit gross profit, excluding overhead, taxes, financing,

starcoder2:3b · 2026-11-17

Margin = (selling price − cost)/selling price; markup = (selling price − cost)/cost

starling-lm:7b · 2026-11-17

limitations_and_interpretations_margin_markup_sentence

tinyllama:1.1b · 2026-11-17

Profit margin & markup = (seling price ± cost) / seling price

vicuna:7b · 2026-11-17

Margin markup calculates the profit margin and markup as the selling price minus cost, per unit gross profit.

wizard-math:7b · 2026-11-17

Profit margin & markup: Margin = (selling price - cost)/selling price; markup = (selling price - cost)/cost

yi:6b · 2026-11-17

Margin & markup: Per-unit gross profit; excludes overhead, taxes, financing and sales volume.

zephyr:7b · 2026-11-17

Excludes overhead, taxes, financing and sales volume.

Download model identities, opinions and public input provenance (JSON)

KEEP YOUR SCENARIO

Download your personal report.

Get a PDF with your inputs, results, formula and assumptions. Enter your details to save the request and download immediately. Your financial values stay in this browser. No email delivery is promised.

Continue learning

Explore the education library · Ask about the free introductory workshop

Financial concepts and context: Investor.gov: compound interest calculator · CFPB: mortgage payment components · Investor.gov: investment fees and expenses