Home / Calculate / Profit Calculator
🛒 Profit Calculator
Calculate profit, profit margin, and markup from cost and sale price.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is Profit Calculator?
In trade, profit is the difference between the selling price and the cost. However, the same profit amount can be expressed with different percentages depending on which base the percentage is taken from. That is why profit margin and markup (adding a percentage on top of cost) should not be confused.
This tool calculates the profit amount, profit margin, and markup from the cost and selling price you enter. Margin is found with the formula (selling price − cost) / selling price; markup is obtained by dividing the profit by the cost. For example, for a product with a cost of 100 ₺ and a selling price of 140 ₺, the profit is 40 ₺, the profit margin is about 28.57%, and the markup is 40%.
Small shopkeepers, e-commerce sellers, and freelancers may want to see these two ratios together when setting prices. The calculation does not automatically deduct items such as VAT (KDV), commission, shipping, and taxes; you need to add these expenses to the cost.
Formulas: Profit = Selling price − Cost. Profit margin (on sales) = Profit ÷ Selling price × 100. Markup (on cost) = Profit ÷ Cost × 100. Example: for a product that costs 800 ₺ and sells for 1,000 ₺, the profit is 200 ₺, the profit margin is 20%, and the markup is 25%. Profit margin and markup are different measures, so be clear about which one you use when pricing.
How to use
Fill in these fields: Cost, Sale price. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
Margin = (sale − cost) / sale
Example
100 ₺ cost, 140 ₺ sale → 40 ₺ profit
Worked examples and tips
Example 1: A seller sells a product bought for 80 ₺ at 120 ₺. With a cost of 80 and a sale price of 120, the profit is 40 ₺, the profit margin is 33.33%, and the markup on cost is 50%.
Example 2: For a handmade soap, the cost is 450 ₺ and the sale price is 600 ₺. The tool gives a profit of 150 ₺, a margin of 25%, and a markup of 33.33%. The two figures are not the same because the margin is calculated on the sale price and the markup on the cost.
Example 3: If you buy a product for 200 ₺ and sell it for 180 ₺, the tool shows a profit of -20 ₺, a margin of -11.11%, and -10% on cost. A negative value means a loss; it is important to see the result even in deliberate cases such as clearing stock.
Tips and common mistakes: Setting a price by adding 30% to the cost and aiming for a 30% margin are different things; for the latter, the price must be higher. Do not forget to include shipping, packaging, commission, and a returns allowance in the cost, otherwise the profit looks bigger than it is. Since the platform commission is deducted from the sale price, enter the sale amount net of commission. The calculation does not treat VAT (KDV) separately; if you work with VAT-inclusive prices, enter both cost and sales in the same way.
When to use it? It is used when setting a sale price for a new product, checking whether current prices leave enough profit, wanting to see the target margin before negotiating with a supplier, and preparing a spreadsheet for a small business or online sales.
Frequently asked questions
What is the difference between margin and markup?
Margin is divided by sales, markup by cost.
Related guide
- How to Calculate VAT: VAT-Inclusive and VAT-Exclusive Formulas and Examples – How do you separate VAT from a VAT-inclusive amount or add it to a VAT-exclusive one? Formulas, a mixed-rate invoice, rounding gaps and shortcuts.
- Profit Margin vs Markup: Formulas, Conversion and Pricing Examples – Why are profit margin and markup not the same? A conversion table, target-margin selling price and the effect of discounts on profit, with worked examples.
- How to Calculate Gold Karat and Grams: 22, 18 and 14 Karat – How to find the grams of pure gold in 22, 18 and 14 karat gold. Fineness table, value calculation, labor and bid-ask spread, with melt-down loss examples.
Embed this calculator on your site
Copy the code below and paste it into your website, blog or email template. The calculator is free and runs on your site.