Math calculator
Margin Calculator
Calculate profit margin percentage from cost and selling price.
Math
Margin Calculator
Margin Percent
Result
Formula
margin = (selling price - cost) / selling price x 100
This calculator uses the formula above and rounds the final answer to 4 decimal places for readability.
When to Use This Calculator
Use this margin calculator for quick math checks, schoolwork, planning, shopping, and everyday calculations. Enter the values requested by the form and review the result before using it in a worksheet, estimate, or note.
How to calculate it
Start with the inputs shown in the calculator, apply the formula margin = (selling price - cost) / selling price x 100, and then round the result if you only need a practical answer. The example table below shows common inputs so you can compare your result with a known calculation.
Example Calculations
| Example | Inputs | Result |
|---|---|---|
| Cost 60, price 100 | cost: 60; sellingPrice: 100 | 40 |
| Cost 30, price 50 | cost: 30; sellingPrice: 50 | 40 |
| Cost 80, price 120 | cost: 80; sellingPrice: 120 | 33.3333 |
Frequently Asked Questions
How does the margin calculator work?
It uses the formula margin = (selling price - cost) / selling price x 100. Enter the required values and the calculator displays the result rounded to 4 decimal places.
Is this margin calculator free?
Yes. The calculation runs locally in your browser and does not require an account.
Can I use this for school or everyday calculations?
Yes. It is designed for quick general-purpose calculations, homework checks, planning, and everyday math.