HomeCalculatorsFinanceMarkup Calculator
Finance calculator

Markup Calculator

Calculate markup and margin from cost and selling price. Markup divides profit by cost; margin divides by price.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula

Formulas

Core equations used by this calculator.

PrimaryMarkup = (price − cost) / cost; Margin = (price − cost) / price
iRuns locally in your browser. Results are informational — verify critical financial decisions independently.

How to use

Follow these steps for a clear answer.

1

Enter the known values

Fill in each field with amounts and rates as labeled.

2

Calculate

Results update as you type; compare scenarios below when available.

3

Read the outputs

Check the result panel for the primary figure and supporting totals.

Example calculations

Common configurations with formula and result.

ϟ

Worked example

Cost 40 · Price 55 → markup 37.5% · margin ≈ 27.27%

Markup = (price − cost) / cost; Margin = (price − cost) / price
See result panel

Markup calculator specification

Version 1.0.0 · Last reviewed 2026-07-28

Definition
Markup = (price − cost) / cost. Margin = (price − cost) / price. The same dollar profit yields a higher markup than margin.
What it calculates
Markup %, margin %, and profit.
Inputs
  • Values shown on the calculator form
Outputs
  • Primary result in the result panel
Formula
Markup = (price − cost) / cost; Margin = (price − cost) / price

About this calculator

Markup = (price − cost) / cost. Margin = (price − cost) / price. The same dollar profit yields a higher markup than margin.

Formula

Markup = (price − cost) / cost; Margin = (price − cost) / price

Example

Cost 40 · Price 55 → markup 37.5% · margin ≈ 27.27%

Assumptions
  • Fixed rates and terms as entered; no fees or taxes unless modeled.
  • Calculation runs locally in the browser.
Units
  • Currency units as entered (dimensionless rates in %)
Boundary conditions
  • Zero or missing required fields yield zero or empty results.
  • Negative inputs are treated as zero.
Example
Cost 40 · Price 55 → markup 37.5% · margin ≈ 27.27%
Validation cases
  • 40 → 55 → markup 37.5%
  • 100 → 100 → markup 0%
  • 50 → 100 → markup 100% · margin 50%
Sources
  • Standard time-value-of-money / managerial accounting identities
Last reviewed
2026-07-28
Calculation version
1.0.0

Frequently asked questions

Key distinctions behind the calculation.

How does the Markup Calculator work?

It uses Markup = (price − cost) / cost; Margin = (price − cost) / price. All math runs locally in your browser.

Can I share my inputs?

Yes. Use Copy link in the result panel — the URL stores your current inputs.