Margin Calculator
Calculate margin with reusable inputs and a clear result. This free calculator runs locally, supports shareable URL values and does not send entered amounts to analytics.
🔒 100% private — files never leave your browser
Result
Your values stay in this URL when you share it; they are not sent to analytics.
Formula
profit margin = (revenue − cost) ÷ revenue × 100
Worked example
$1,000 revenue − $600 cost = $400 profit and 40% margin.
How to use the Margin Calculator
- 1 Enter the values for the calculation.
- 2 Review the formula and worked example below the form.
- 3 Copy the result or share the URL with its values when useful.
Frequently asked questions
What is the margin formula?
profit margin = (revenue − cost) ÷ revenue × 100.
Are my entered amounts uploaded?
No. The calculation runs in your browser. URL sharing stores values only in the address you choose to share.
Is this financial, tax or medical advice?
No. This is a general arithmetic tool. Verify business decisions and local requirements with qualified sources.
More free tools
Markup Calculator Use this markup calculator with a clear formula, worked example and instant results. Values stay in your browser and are not uploaded. Profit Calculator Use this profit calculator with a clear formula, worked example and instant results. Values stay in your browser and are not uploaded. Break-even Calculator Use this break-even calculator with a clear formula, worked example and instant results. Values stay in your browser and are not uploaded. Age Calculator Calculate your exact age in years, months, days — even hours, minutes and seconds. Next-birthday countdown included. Free, instant, private. Percentage Calculator Three percentage calculators in one: X% of a number, one number as a percent of another, and percentage increase or decrease. Instant, client-side. Unit Converter Convert between metric and imperial units: length, weight, temperature, speed, area, volume, data size and time. Instant and precise — in your browser.