Enter your costs and selling price below to instantly see your profit and profit margin. This free calculator is built for online sellers who want to price products with confidence.
How to use this calculator
Start by entering what the product costs you (cost price), the price you plan to charge customers (selling price), and any extra per-sale costs such as marketplace fees or shipping (fees and shipping). Click Calculate to see your profit in dollars and your profit margin as a percentage. Aim for a margin that covers your time and leaves room for discounts: many online sellers target 20 to 40 percent after all costs.
Frequently asked questions
What is a good profit margin for an online store?
There is no single perfect number, but most online stores aim for a 20 to 40 percent margin after all costs. Digital products can support higher margins, while competitive physical products may run lower. Use the calculator above to test different prices and find a margin that keeps your store sustainable.
How is profit margin calculated?
Profit margin is your profit divided by your selling price, shown as a percentage. First subtract the cost price and all fees from the selling price to get your profit. Then divide that profit by the selling price and multiply by 100. The calculator above does this math for you instantly.
Should I include shipping costs in my profit margin?
Yes. Any cost you pay on a sale, including shipping, packaging, and marketplace or payment fees, reduces your real profit. Add them all to the fees and shipping field above so the margin you see reflects what you actually keep.
How to use the calculator: step by step
- Enter your cost price — what you pay for the product itself, per unit.
- Enter your selling price — the price the customer will pay.
- Enter your fees and shipping — marketplace commissions, payment processing fees, packaging and postage, added together.
- Click Calculate to see your profit in dollars and your profit margin as a percentage.
- Adjust the numbers — try a higher price or lower costs — until the margin covers your time and leaves room for discounts and returns.
Worked example
Say you buy a product for $30, plan to sell it for $80, and expect $10 in fees and shipping per sale. Enter 30, 80 and 10 in the calculator and click Calculate:
- Profit: $80 − $30 − $10 = $40.00
- Profit margin: $40.00 ÷ $80 × 100 = 50.0%
A 50% margin is healthy — it leaves room for ad spend, discounts and the occasional return while still paying you well for each sale.
More questions
What should I do if my margin is negative or very low?
A negative margin means you lose money on every sale — do not launch at that price. Either negotiate a lower cost price, reduce fees (for example by selling on your own site instead of a marketplace), or raise the selling price. If none of those work, the product may not be worth selling.
Does this calculator store the numbers I enter?
No. All calculations happen in your browser, and nothing you type is sent to our servers or stored anywhere. You can use the calculator as often as you like.
Can I use this calculator for digital products?
Yes. Enter 0 as the cost price if there is no per-unit cost, and put any transaction fees in the fees field. The calculator will show your margin on each sale, which for digital products is often close to 100% before fixed costs like software subscriptions.