Profit Margins: How to Calculate and Improve Them

Understanding profit margins is one of the most useful skills you can develop when starting an online business. You might sell products through Shopify, run a WooCommerce store, work with dropshipping suppliers, or sell digital products. In every case, knowing how much money remains after your costs helps you make better business decisions.

Profit margins guide featuring an ecommerce package, calculator, and financial chart.


A store can receive plenty of orders and still struggle financially. The reason is simple: sales revenue isn't the same as profit. Product costs, payment processing fees, shipping, advertising, refunds, and other expenses can reduce the amount you actually keep.

This guide explains profit margins in simple English, including how to calculate them, how to choose suitable prices, and how to identify costs that may be reducing your results. You'll also work through a hypothetical example and get a practical worksheet you can use for your own business. This guide is for educational purposes only.

Why Profit Margins Matter for Beginners

When you start an online business, it's easy to focus on sales. Getting your first order feels exciting, and increasing daily orders can seem like the main goal. However, sales alone don't tell you whether your business model is financially sustainable.

Imagine two online stores that each generate $5,000 in monthly revenue. One has $1,000 left after all its expenses, while the other has $250. Both stores have the same revenue, but their financial positions are very different.

Profit margins help you understand that difference. They show what proportion of your revenue remains as profit at a particular stage of your calculations.

Understanding margins can help you:

  • Compare the financial performance of different products.
  • Decide whether your selling prices cover your costs.
  • Understand how advertising expenses affect profitability.
  • Evaluate supplier quotations before placing an order.
  • Identify products that generate sales but leave little profit.
  • Plan for refunds, operating expenses, and unexpected costs.

For beginners, this knowledge is especially useful before spending heavily on inventory or advertising. A product that looks attractive in a supplier's catalogue may become much less appealing after you include delivery, packaging, payment fees, and customer acquisition costs.

Think of profit margins as a decision-making tool rather than a score you need to maximize at any cost. A lower-margin product can still make sense if it sells consistently and contributes positively to the business. A higher-margin product can perform poorly if customers rarely buy it or its operating costs are overlooked.

What Are Profit Margins?

A profit margin is the percentage of revenue that remains as profit after subtracting the relevant costs. The exact meaning depends on which costs you include in the calculation.

For example, suppose a product generates $100 in revenue and leaves $30 in profit after the expenses you're measuring. Its profit margin is 30%.

This means that $30 of every $100 in revenue remains as profit at that particular stage. It doesn't automatically mean the business owner can withdraw the full amount, because additional expenses or obligations may still need to be paid.

Revenue, Costs, and Profit Explained

Before calculating a margin, understand three basic terms.

  • Revenue: The income generated from selling products or services, before deducting business expenses.
  • Costs: The money spent to acquire, produce, sell, deliver, and operate the business.
  • Profit: The amount remaining after the relevant costs have been subtracted from revenue.

For example, if your store records $2,000 in sales and the costs included in your calculation total $1,400, the resulting profit is $600.

The margin is calculated using the $600 profit divided by the $2,000 revenue. The result is 30%.

Profit Margin Formula

The general formula is:

Profit Margin = (Profit ÷ Revenue) × 100

Use the same period and consistent figures for both revenue and profit. If you're calculating a monthly margin, use the revenue and costs belonging to that month.

Also, remember that revenue and profit are different from cash flow. A sale may be recorded before the payment reaches your bank account, while supplier invoices and other expenses may be due earlier.


Types of Profit Margins You Should Know

There isn't just one profit margin. Different calculations answer different questions, so it's important to understand what each one includes.

1. Gross Profit Margin

Gross profit margin measures the revenue remaining after subtracting the direct cost of the goods sold or services delivered.

For a physical ecommerce product, direct costs may include the product purchase price and certain costs directly associated with getting the product ready for sale. The exact classification depends on your business and accounting method.

The formula is:

Gross Profit Margin = (Gross Profit ÷ Revenue) × 100

Gross profit is revenue minus the cost of goods sold, commonly called COGS.

This margin helps you evaluate whether your selling prices and product sourcing costs leave enough room to cover the rest of your business expenses.

2. Operating Profit Margin

Operating profit margin measures the percentage of revenue remaining after operating expenses are deducted, according to the operating profit measure you're using.

Operating expenses may include advertising, software subscriptions, employee costs, rent, and other expenses involved in running the business. The precise calculation depends on which expenses are classified as operating costs.

This measure can help you understand how efficiently your business operates beyond the direct cost of its products.

3. Net Profit Margin

Net profit margin measures net profit as a percentage of revenue after the expenses included in net profit have been deducted. Depending on the business and reporting method, these can include operating costs, interest, and taxes.

The formula is:

Net Profit Margin = (Net Profit ÷ Revenue) × 100

This is particularly useful when you want to understand the overall profitability of a business for a particular period.

Gross Margin vs. Net Margin

Consider a product that generates $100 in revenue. Its direct product costs are $50, leaving $50 in gross profit. Its gross profit margin is 50%.

After allocating advertising, transaction fees, shipping subsidies, and other expenses, suppose the amount remaining is $12. If that $12 represents net profit under your chosen calculation, the net profit margin is 12%.

The difference shows why a strong gross margin doesn't automatically translate into a strong net margin.

Which Costs Affect Ecommerce Profit Margins?

When calculating margins for an online store, you need a realistic view of the expenses involved in making and fulfilling sales.

Product and Supplier Costs

Your supplier's price is usually one of the first figures you'll examine. However, the quoted product price might not include international freight, import-related charges, inspection, packaging, or transport to your warehouse.

When purchasing inventory, calculate the relevant landed cost per sellable unit. This can include the purchase price and appropriate costs of getting the goods to the location where they're ready for sale.

For dropshipping, include the supplier's product and fulfillment charges. Don't assume that avoiding inventory automatically makes every order profitable.

Payment Processing Fees

Payment providers may charge transaction fees, fixed charges per payment, currency conversion fees, or other charges depending on the provider and account.

Check the actual pricing for your business, country, currency, and payment method. A fee that appears small on one order can become significant when you process many transactions.

If you're still choosing a payment setup, read How to Accept International Payments Online to understand some of the options available to online sellers.

Shipping, Packaging, and Returns

Shipping expenses can include warehouse handling, packing materials, courier charges, and the portion of delivery costs your business pays.

Returns create additional uncertainty. You might need to refund a customer, pay return shipping, inspect an item, or discount a returned product. Some costs may not be recovered after a refund.

Use actual order data when possible. If you're new and don't have enough data, make your assumptions explicit and revise them as your business develops.

Advertising and Store Expenses

Advertising costs matter because they influence how much revenue remains after acquiring customers. Track campaign spending alongside sales and other expenses rather than judging a campaign only by the number of orders it generates.

Also consider platform subscriptions, domain renewals, paid applications, customer support, creative production, and other recurring expenses. Some expenses belong to the entire business rather than one individual order, so you may need to allocate them consistently when estimating product profitability.



How to Calculate Profit Margins Step by Step

[INSERT IMAGE: 02-process.png]

Use the following process whenever you evaluate a product, review your store's performance, or compare potential suppliers.

Step 1: Record Your Actual Selling Revenue

Start with the revenue figure appropriate for your calculation period. For product-level analysis, record the selling price and any relevant discounts.

Be consistent about refunds, sales taxes, and other amounts collected on behalf of another party. These items may need different treatment depending on your reporting method and location.

For a simple example, assume you sell one item for $80, excluding any separately collected tax.

Step 2: Calculate the Direct Product Cost

Record what it costs to acquire or produce the product and prepare it for sale. Include the relevant direct costs, not just the supplier's headline price.

Suppose the product and its allocated inbound shipping cost $32 per unit. Your gross profit is $80 minus $32, which equals $48.

Step 3: Calculate Gross Profit Margin

Divide the gross profit by revenue and multiply by 100.

In this example, $48 divided by $80 equals 0.60. Multiplying by 100 gives a gross profit margin of 60%.

This figure describes the margin before the additional expenses that aren't included in your direct product costs.

Step 4: Add Selling and Operating Expenses

Estimate or record payment fees, advertising costs, seller-funded delivery, packaging, software, and other relevant expenses. Avoid counting an expense twice if it's already included in your direct cost figure.

Some expenses are charged per order, while others are paid monthly. Keep these categories separate so you can see which costs change as sales volume increases.

Step 5: Calculate the Remaining Profit

Subtract the relevant expenses from the gross profit. For a net margin calculation, continue until you've accounted for all expenses included in your chosen net profit measure.

Divide the resulting profit by revenue and multiply by 100. If your result is negative, your calculation shows a loss for the period or unit being evaluated.

Step 6: Review the Result Before Making Decisions

Compare your result with your own previous performance, product alternatives, and realistic business requirements. There isn't one ideal margin that applies to every ecommerce business.

A product with a lower margin may still be useful if it generates repeat purchases or supports sales of complementary products. A higher margin can also be misleading if the product sells slowly or requires substantial customer support.

Use the calculation as one part of your decision, not as the only reason to purchase inventory or increase advertising.

Worked Example: Calculating Profit Margins With Real Numbers

The following is a hypothetical example for illustration. These figures aren't a market average, supplier quotation, or prediction of business results.

Imagine that you run a small online store selling a reusable water bottle. You sell each bottle for $40, excluding separately collected taxes.

Your estimated costs for one order are:

  • Selling price: $40.00
  • Product and allocated inbound shipping: $14.00
  • Packaging: $1.00
  • Payment processing: $1.50
  • Seller-funded delivery: $4.00
  • Advertising allocated to the order: $6.00

Calculation 1: Gross Profit

For this simplified example, assume the $14 product and inbound shipping cost is the entire cost of goods sold.

Gross profit = Revenue − Cost of goods sold

Gross profit = $40 − $14 = $26

Gross profit margin = ($26 ÷ $40) × 100 = 65%

This means $26 remains after the specified cost of goods sold, equal to 65% of revenue.

Calculation 2: Profit After the Listed Selling Expenses

Now subtract the other listed expenses:

Packaging + Payment processing + Delivery + Advertising = $1 + $1.50 + $4 + $6 = $12.50

Amount remaining = Gross profit − Listed selling expenses

Amount remaining = $26 − $12.50 = $13.50

Margin after listed selling expenses = ($13.50 ÷ $40) × 100 = 33.75%

The result is 33.75%, but it's important to name it accurately. This is the amount remaining after the specific expenses listed in the example, not necessarily the final net profit margin of the business.

Calculation 3: Include Monthly Overhead

Suppose the store also has $270 in monthly overhead, including relevant subscriptions and other operating expenses. For this hypothetical calculation, assume the store completes 90 comparable orders during the month and allocates the overhead evenly across them.

Allocated overhead per order = $270 ÷ 90 = $3

Amount remaining per order after allocated overhead = $13.50 − $3 = $10.50

Margin after the included costs and allocated overhead = ($10.50 ÷ $40) × 100 = 26.25%

This is still not necessarily the final net margin because other expenses, interest, taxes, or adjustments may apply. It simply demonstrates how including additional costs changes the result.

What Does This Example Teach You?

The product has a 65% gross profit margin, yet only $10.50 remains per order after all the specified costs and the assumed overhead allocation.

If you had evaluated the product using only the supplier's price and selling price, you might have overlooked a large part of the cost structure.

The practical lesson is to calculate more than one margin, label each calculation clearly, and include costs that reflect how your business actually operates.

A Simple Profit Margin Worksheet

Copy this worksheet into a spreadsheet or notebook and complete it for each product you want to evaluate. Use your own currency and actual costs where available.

Item Your figure
Selling revenue per order $_____
Product cost and relevant inbound costs $_____
Gross profit $_____
Gross profit margin _____ %
Payment processing fees $_____
Packaging and seller-funded delivery $_____
Advertising allocated per order $_____
Other relevant variable expenses $_____
Allocated operating overhead $_____
Estimated remaining amount $_____
Margin after included costs _____ %

Use these formulas to complete the worksheet:

  • Gross profit = Revenue − Cost of goods sold.
  • Gross profit margin = (Gross profit ÷ Revenue) × 100.
  • Amount remaining = Revenue − All costs included in your calculation.
  • Margin after included costs = (Amount remaining ÷ Revenue) × 100.

If revenue is zero, the percentage calculation isn't defined. If your calculated amount remaining is negative, record the loss rather than changing the figures to make the result look better.

A Weekly and Monthly Profitability Routine

You don't need to analyze every transaction manually forever. A simple routine can help you notice changes before they become larger problems.

What to Check Each Week

  • Review sales, discounts, refunds, and cancellations.
  • Check supplier prices and any new fulfillment charges.
  • Review payment processing fees and advertising spending.
  • Compare product-level costs with the assumptions in your worksheet.
  • Identify products or campaigns where costs have increased unexpectedly.
  • Check available cash and upcoming supplier or platform payments.

Weekly checks are useful for spotting operational changes. However, don't treat a few days of results as definitive evidence of a long-term trend, particularly if your sales volume is low.

What to Check Each Month

At the end of each month, review your revenue, direct costs, operating expenses, and profit measures using consistent definitions.

Compare the results with previous periods, taking into account changes in sales volume, product mix, discounts, and seasonal demand. A change in overall margin may happen because customers purchased different products, not because one particular product became less profitable.

Review cash flow separately. Profit calculations and bank balances answer different questions, and a business can report a profit while experiencing a cash shortage because payments arrive later than expenses fall due.

Use a spreadsheet or suitable bookkeeping tool to maintain records. If the business grows or its reporting becomes more complicated, consider obtaining help from a qualified professional who understands your circumstances.

Common Profit Margin Mistakes to Avoid

[INSERT IMAGE: 03-mistakes.png]

Small calculation errors can lead to poor pricing, misleading comparisons, and purchasing decisions that don't reflect your actual costs. Watch out for these common mistakes.

1. Confusing Margin With Markup

Margin and markup aren't the same thing. Margin measures profit as a percentage of selling revenue, while markup measures profit as a percentage of cost.

For example, a product costs $60 and sells for $100. The profit is $40. The profit margin is 40%, while the markup is approximately 66.67%. Using the wrong formula can cause you to set a price that doesn't meet your intended target.

2. Ignoring Payment Processing Fees

Some sellers calculate profitability using only the product price and selling price. This can overstate the amount remaining because transaction fees and other payment-related charges haven't been included.

Check your provider's actual pricing and record relevant fees consistently. Don't rely on an outdated fee estimate if your payment arrangement has changed.

3. Forgetting Shipping and Fulfillment

A low supplier price doesn't necessarily mean a low total product cost. Freight, packing, warehouse handling, and customer delivery can materially change the economics of an order.

Before committing to a supplier, request a detailed quotation and estimate the relevant costs of getting the product to your customer.

4. Treating Gross Profit as Net Profit

Gross profit is calculated before certain operating and other expenses. It shouldn't be presented as the final profit available to the business.

Calculate gross margin to evaluate direct product economics, then use additional calculations to account for operating costs and other relevant expenses.

5. Setting Prices by Copying Competitors

A competitor's listed price doesn't reveal its supplier agreement, overhead, advertising costs, or business strategy. Copying that price without calculating your own costs can result in a weak margin.

Use competitor research to understand the market, but build your pricing decisions around your own cost structure, customer expectations, and business objectives.

6. Forgetting Refunds, Discounts, and Returns

Full-price sales aren't the only transactions that affect profitability. Discounts reduce revenue, while refunds and returns may introduce additional expenses or inventory losses.

Review the actual effect of these transactions rather than assuming that every order contributes the same amount.

7. Ignoring Monthly Overhead

Store subscriptions, domain renewals, software, and other recurring expenses can seem minor individually. Together, they can reduce the profit left after product-level costs.

Record overhead separately and use a consistent approach when allocating it to products or orders. Remember that an allocation is an analytical estimate, not necessarily a direct cost caused by a single sale.

8. Assuming a High Margin Guarantees Success

A product can have an attractive margin and still perform poorly because demand is limited, customers don't trust the store, or the cost of acquiring each customer is too high.

Look at demand, conversion rates, returns, customer feedback, inventory turnover, and cash requirements alongside margin. Avoid suppliers or online schemes that promise guaranteed profits or claim that a product can never lose money.

Practical Ways to Improve Profit Margins

Improving margins doesn't always mean raising prices. Often, the best starting point is to understand where money is being spent and identify changes that preserve customer value.

1. Compare Suppliers Carefully

Request quotations from multiple suitable suppliers and compare product specifications, quality, minimum order quantities, shipping, lead times, and payment terms.

Don't select a supplier based on the lowest advertised price alone. Poor quality, inconsistent delivery, and high defect rates can create costs that outweigh an apparent saving.

2. Review Your Pricing Structure

Calculate the margin at your current price, then model alternative prices before making a change. Consider customer expectations, competitors, product differentiation, and the effect of discounts.

Higher prices may affect conversion rates and sales volume, so evaluate the complete business outcome instead of assuming that every price increase improves profitability.

3. Reduce Avoidable Operating Costs

Review software subscriptions, unused applications, packaging waste, and unnecessary fulfillment expenses. Cancel or replace services only after checking whether they're needed for important business functions.

Small, repeatable savings can improve the cost structure without requiring you to compromise product quality or customer service.

4. Monitor Advertising Performance

Measure advertising results using reliable sales and cost data. Consider how much you spend to acquire a customer and how much revenue and contribution that customer generates.

Be careful with campaigns that show strong revenue but leave little after advertising and other variable costs. Attribution can be imperfect, so compare several relevant measures rather than relying on one dashboard figure.

5. Improve Product Quality and Customer Experience

Clear product descriptions, accurate photographs, reliable shipping, and responsive support can help reduce avoidable customer disappointment.

Returns won't disappear completely, but understanding their causes may reveal opportunities to improve sizing information, packaging, instructions, or supplier quality. Track whether changes actually reduce costs without creating new problems.

6. Test Changes Before Scaling

Use small, controlled tests when changing prices, offers, packaging, or marketing. Record the original figures, define what you want to measure, and compare results over a reasonable period.

A change that looks promising in a few orders may not perform the same way at a larger volume. Test carefully before making major inventory purchases or increasing advertising budgets.

Final Profit Margin Checklist

[INSERT IMAGE: 04-checklist.png]

Before launching a product, changing a price, or increasing advertising, work through this checklist. It can also serve as a regular review for an existing online store.

  • Record the selling price and relevant revenue adjustments.
  • Calculate the direct cost of the product or service.
  • Include appropriate inbound shipping and fulfillment costs.
  • Check payment processing fees and other transaction charges.
  • Account for packaging and seller-funded delivery.
  • Review advertising expenses and relevant acquisition costs.
  • Include returns, refunds, and discounts where appropriate.
  • Calculate gross profit and gross profit margin.
  • Account for operating expenses when evaluating operating or net profit.
  • Keep cash flow separate from profit margin calculations.
  • Compare your assumptions with actual business records.
  • Review supplier reliability and customer demand before scaling.

Keep the completed worksheet with your product research and supplier quotations. Updating it whenever costs change can make future pricing and purchasing decisions more consistent.

Frequently Asked Questions About Profit Margins

1. What Is a Profit Margin in Simple Words?

A profit margin is the percentage of revenue remaining as profit after subtracting the costs included in the calculation. It helps you understand how much of your sales revenue remains at a particular stage of the business.

2. How Do You Calculate Profit Margin?

Divide the profit by revenue and multiply by 100. For example, if revenue is $200 and the relevant profit is $50, the margin is ($50 ÷ $200) × 100, or 25%.

3. What Is the Difference Between Gross and Net Profit Margin?

Gross profit margin measures profit after deducting the cost of goods sold. Net profit margin measures net profit after the expenses included in that measure have been deducted. Net margin therefore provides a broader view of profitability.

4. What Is a Good Profit Margin for an Online Store?

There isn't one margin that is appropriate for every store. The result depends on the product category, operating model, advertising costs, shipping arrangements, sales volume, and other expenses. Compare your margins with realistic business requirements and relevant competitors rather than relying on a universal target.

5. Is a 50% Profit Margin the Same as a 50% Markup?

No. If an item costs $50 and sells for $100, the $50 difference represents a 50% margin but a 100% markup on cost. The two percentages use different denominators.

6. Can a Business Have High Sales but Low Profit Margins?

Yes. High revenue can be accompanied by low margins when product costs, advertising, shipping, processing fees, refunds, and operating expenses consume most of the revenue. That's why sales figures should be reviewed alongside costs and profit measures.

7. How Often Should I Calculate Profit Margins?

Review important product costs and selling performance regularly, and prepare a consistent monthly profitability review. The appropriate frequency depends on transaction volume and how quickly your costs change. Use reliable records instead of reacting to small fluctuations without context.

8. Do Profit Margins Show How Much Cash I Have?

No. Profit margin measures profitability relative to revenue, while cash flow tracks money moving into and out of the business. Delayed customer payments, inventory purchases, loan repayments, and other timing differences can affect available cash even when a business reports a profit.

Related Guides From This Blog

If you're building an ecommerce business, these guides can help you make more informed decisions about products, suppliers, and payment arrangements.

Conclusion: Start Calculating Your Profit Margins

Profit margins help you look beyond sales figures and understand the costs behind your online business. By separating gross, operating, and net profit measures, you can see which expenses affect your results and evaluate products using more realistic assumptions.

You don't need complicated software to begin. Start with a spreadsheet, record the selling price, include the relevant costs, and calculate your gross profit margin. Then expand the calculation to cover advertising, payment fees, delivery, overhead, and other expenses that apply to your business.

Remember that no margin percentage guarantees a successful business. Demand, customer experience, cash flow, supplier reliability, and operating decisions all matter. Avoid shortcuts and guaranteed-profit claims, and use actual business records to check your assumptions.

Your next action: Choose one product you currently sell or plan to sell. Complete the worksheet in this article using your best available cost figures, calculate its gross margin, and then calculate how much remains after the other relevant expenses. You'll have a clearer starting point for your next pricing or product decision.

Written by Saad | Online Business Guide

Comments

Popular posts from this blog

How to Receive UK Payments: A Complete Guide for Businesses and Freelancers

How to Build a Profitable Niche Website

Building a Successful Online Business