Calculate margin on an online product
Enter the product cost and selling price to see how much profit you generate and what margin percentage you get.
Free • No signup • Fast
Enter the product cost
Result
Profit
$40.00
Margin
40.00%
With a cost of $60.00 and a selling price of $100.00, the margin is 40.00%.
This margin calculator lets you calculate profit margin from cost and selling price, or find the selling price required to reach a target margin. Useful for freelancers, ecommerce stores and small businesses.
Enter the product cost and selling price to see how much profit you generate and what margin percentage you get.
If you want a 30% margin, enter the product cost and target margin to calculate the minimum selling price.
Use the calculator to quickly verify whether a price covers costs and leaves a sustainable margin for your business.
Profit margin is calculated by dividing profit by the selling price and multiplying the result by 100.
Margin measures profit compared to the selling price, while markup measures the increase compared to cost.
Divide the cost by 1 minus the target margin expressed as a decimal. For example, with a cost of $70 and a 30% margin, the selling price is $100.
Add or remove VAT at 22%, 10% and 4%.
Calculate percentages, discounts, increases and decreases.
Calculate percentage markup from product cost.
Estimate monthly take-home pay from gross annual income.
Find the original price from a discounted price and discount percentage.
Convert length, mass, temperature, volume and more.
Decode the header and payload of a JSON Web Token in your browser.
Estimate token usage and approximate cost for AI model prompts.
Format, validate and minify JSON directly in your browser.
Encode and decode Base64 directly in your browser.
Convert Unix timestamps to readable dates and back.
Encode and decode URLs for query strings, APIs and redirects.
Generate UUID v4 identifiers for APIs, databases and tests.