Basic margin
Input
1000 700
Output
Revenue: 1000.00 Cost: 700.00 Profit: 300.00 Margin: 30.00%
Margin is calculated as profit divided by revenue.
Calculators
Review practical Margin Calculator examples so you can understand expected input, output, and common patterns faster.
Use this margin calculator to calculate gross profit margin from revenue and cost. It is useful for pricing checks, sales analysis, and quick business calculations.
Example pages are especially useful for calculators because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
1000 700
Output
Revenue: 1000.00 Cost: 700.00 Profit: 300.00 Margin: 30.00%
Margin is calculated as profit divided by revenue.
Input
50 30
Output
Revenue: 50.00 Cost: 30.00 Profit: 20.00 Margin: 40.00%
Useful for quick product profitability checks.
Fix: Enter revenue first and cost second.
Fix: Revenue must be greater than zero to calculate margin.
Fix: Margin uses profit divided by revenue, while markup uses profit divided by cost.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main Margin Calculator page and test your own real input.