Calculate gross margins, markup percentages, and target selling prices.
Execution runs 100% locally inside the browser sandbox using HTML5 Canvas, Web Cryptography Subtle API, and Web Workers. Zero egress.
Zero network latency. Operates completely offline with zero dependencies on third-party backend servers or cloud services.
Built according to official RFC specifications, cryptographic test vectors, and enterprise-grade data transformation standards.
Choose whether to calculate from Cost & Revenue, Cost & Target Margin, or Cost & Target Markup.
Type in your product cost, retail price, or percentage targets.
View the exact gross profit, margin percentage, and markup multiplier with 1-click summary copy.
Margin is profit expressed as a percentage of revenue ((Revenue - Cost) / Revenue), whereas markup is profit expressed as a percentage of cost ((Revenue - Cost) / Cost).
Yes, markup can be greater than 100% (e.g., buying for $10 and selling for $30 is a 200% markup), while gross margin is always bounded below 100%.
Zero-egress companion tools in the Calculators suite
Solve percentage increases, decreases, fractions, and discounts.
Calculate future investment value with recurring contributions.
Calculate monthly payments, total interest, and amortization schedule.
Calculate your monthly mortgage payments and total interest easily.