Margin Calculator
Margin and markup are different numbers that are constantly confused. Enter cost and price to see both, plus the profit per unit.
Enter values
About the Margin Calculator
Because margin uses price as the denominator, margin can never reach 100% while markup is unbounded. To hit a 40% margin you need to price at cost/0.6, which is a 66.7% markup.
This Margin Calculator is part of CalcHub's financial collection. It runs entirely in your browser: the numbers you type are processed locally with JavaScript and never sent to a server, so you can use it offline and keep your inputs private.
Enter the values in the fields above and press Calculate. Results appear instantly below the form, together with a breakdown table where it helps explain the answer. Press Reset to start a new calculation. The tool is free, requires no account, and works on desktop, tablet and phone.
Results are estimates intended for quick reference and planning. For decisions with legal, medical or financial consequences, confirm the numbers with a qualified professional.