Choose which pricing value is unknown, then enter the other two. The calculator keeps markup against cost separate from gross margin against selling price and reports the complete solved pricing set.
Inputs
Instant calculation
Required
Result
Instant calculation
Cost
100.00
Selling price
125.00
Gross profit
25.00
Gross margin
20%
Markup
25%
Was this calculator helpful?
How to use this calculator
Enter the value to calculate and any two of unit cost, selling price, and markup percentage.
Review which costs are included, whether percentages are markup or margin, tax treatment, discounts, and currency consistency.
A $60 cost with 25% markup gives a $75 price, $15 gross profit, and a 20% gross margin.
Reference guide
Formula details and result guidance
Follow the variables, derivation, precision rule, and worked cases below to reproduce the calculation independently.
Variables
Formula variables, units, and roles
Symbol
Meaning
Unit
Role
C
Unit cost
currency
Input
P
Selling price
currency
Input
G
Gross profit
currency
Output
m
Price markup percentage
% of cost
Output
g
Gross profit margin percentage
% of selling price
Output
Derivation
Gross profit is the spread between price and cost: G = P − C.
Price markup percentage divides gross profit by cost: m = G ÷ C × 100%; gross profit margin percentage divides gross profit by selling price: g = G ÷ P × 100%.
When solving from price markup percentage, P = C × (1 + m); when solving from gross profit margin percentage, P = C ÷ (1 − g).
Rounding and precision
Calculations retain full decimal precision. Currency results display 2 decimal places. Price markup percentage and gross profit margin percentage each display 2 decimal places. Values near a 100% target gross profit margin are rejected because the selling price would be unbounded.
A zero profit is valid and distinct from a missing cost or price.
Common mistakes
Using price markup percentage and gross profit margin percentage interchangeably even though their denominators differ.
Leaving shipping, transaction fees, or variable labor out of the entered unit cost.
Using a 100% margin target, which cannot be reached with a finite positive price and cost.
How to interpret the result
Price markup percentage describes gross profit relative to cost; gross profit margin percentage describes gross profit relative to revenue. Neither result is net profit unless all operating expenses and taxes are included elsewhere.
Scope
Appropriate for
Comparing a unit selling price with its included unit cost.
Translating a target price markup percentage or gross profit margin percentage into an indicative price.
Do not use for
Forecasting net income without overhead, tax, and volume assumptions.
Setting regulated or contractually controlled prices.
Percent calculations require an explicit comparison base.OpenStax: Prealgebra 2e — Preface and ScopeSupports: Percent, proportion, radical, ratio, and elementary geometry procedures. Reviewed 2026-08-22.
Price markup percentage uses cost while gross profit margin percentage uses selling price as its denominator.OpenStax: College Algebra 2e — Preface and ScopeSupports: Slope, equations, radicals, proportions, and inverse algebraic operations. Reviewed 2026-08-22.
Assumptions and limits
The model treats cost as the complete positive cost basis and excludes tax, overhead, returns, and transaction fees unless already included.
Markup Calculator treats the entered values as estimates and does not infer missing project, account, or personal details.
Calculations retain working precision except where the cited method requires an intermediate rounding step; displayed values are then formatted separately. Source rules and dated rates must be rechecked when they change.
Trust comes from reproducible evidence, not model confidence. You can inspect the formula, assumptions, worked example, and cited sources on this page.
Versioned calculationFormula logic is kept separate from the interface and covered by automated registry and behavior checks.
Cited evidenceSources linked for independent checking: 3.
Transparent AI useAI may assist drafting or adversarial review. Agreement between models is not proof, and no human expert review is claimed unless a named reviewer is shown.
What information should I enter in the Markup Calculator?
Enter the value to calculate and any two of unit cost, selling price, and markup percentage, then verify which costs are included, whether percentages are markup or margin, tax treatment, discounts, and currency consistency.
What should I verify before using this Markup Calculator result?
The model treats cost as the complete positive cost basis and excludes tax, overhead, returns, and transaction fees unless already included.
Last updated 2026-08-25 · solve-any-two-v2 · content-2026-08-14 · Published by YunFanLabs