Get 90% off your plan for your first 6 months*

How to calculate profit

Learn how to calculate gross, operating, and net profit for your small business.

Published Thursday 23 July 2026

Table of contents

Key takeaways

Gross profit formula shows that revenue minus the cost of goods or services sold equals gross profit.
  • Profit is the money left after you subtract all expenses from your total revenue. Tracking it regularly helps you make confident decisions about pricing, spending, and growth.
  • There are 3 types of profit to monitor: gross profit, operating profit, and net profit. Each one gives you a different view of your business's financial health.
  • Profit margin turns your profit into a percentage, making it easier to compare performance over time or against other businesses in your industry.
  • You can improve your profit by reducing costs, adjusting your pricing, increasing sales volume, and using accounting software to track your finances in real time.
Operating profit formula shows that gross profit minus operating expenses equals operating profit.

What is profit?

Profit formula shows that revenue minus the cost of goods or services sold equals gross profit. And gross profit minus operat

Profit is the amount of money your business keeps after covering all costs. It's one of the clearest indicators of whether your business is financially healthy.

The basic formula is straightforward:

Profit = total revenue - total expenses

Revenue is the total income your business earns from selling goods or services. Expenses include everything you spend to run your business, from the cost of materials to rent, salaries, and taxes.

Knowing your profit helps you understand whether your business is sustainable. It also guides decisions about where to cut costs, when to raise prices, and how much you can invest back into growth.

Types of profit

Not all profit figures tell you the same thing. Businesses typically track 3 types of profit, each of which focuses on a different layer of your costs. Together, they give you a complete picture of where your money goes and how much you actually keep.

Gross profit

Gross profit shows how much money you keep after covering the direct costs of producing your goods or services. These direct costs are often called cost of goods sold (COGS) and include materials, manufacturing labor, and shipping.

Gross profit = revenue - cost of goods sold (COGS)

This figure tells you how efficiently you're producing and delivering what you sell. A strong gross profit means your pricing covers production costs with room to spare. If your gross profit is low, you may need to renegotiate supplier costs or adjust your prices.

Operating profit

Operating profit takes gross profit a step further by subtracting your day-to-day operating expenses. These include rent, utilities, salaries, marketing, insurance, and other overhead costs.

Operating profit = gross profit - operating expenses

This number reflects how well your core business operations perform. It strips out financing and tax costs, so you can see whether your daily operations are generating enough income to sustain the business.

Net profit

Net profit is your bottom line. It's what remains after you subtract every expense, including operating costs, interest payments, and taxes.

Net profit = operating profit - interest - taxes

You can also calculate it directly:

Net profit = total revenue - total expenses (including COGS, operating expenses, interest, and taxes)

Net profit gives you the truest picture of your business's financial performance. It's the number that tells you how much money your business actually earned in a given period.

How to calculate profit: a step-by-step example

Seeing the formulas in action makes them easier to apply. Here's a worked example using a fictional small bakery called Sunrise Bakery, based on its monthly figures.

  1. Gather your revenue. Sunrise Bakery earned $45,000 in total sales for the month.
  2. Calculate cost of goods sold (COGS). The bakery spent $15,000 on flour, sugar, butter, packaging, and other ingredients. This is its COGS.
  3. Calculate gross profit. Gross profit = $45,000 - $15,000 = $30,000.
  4. Subtract operating expenses. The bakery's monthly operating expenses total $18,000, covering rent ($4,000), staff wages ($10,000), utilities ($1,500), marketing ($1,000), and insurance ($1,500). Operating profit = $30,000 - $18,000 = $12,000.
  5. Subtract interest and taxes. The bakery pays $500 in monthly loan interest and $2,300 in estimated taxes. Net profit = $12,000 - $500 - $2,300 = $9,200.

In this example, Sunrise Bakery keeps $9,200 out of its $45,000 in revenue. That's the true amount available for savings, reinvestment, or owner distributions.

What is profit margin?

Profit margin expresses your profit as a percentage of revenue. While profit tells you a dollar amount, profit margin shows how efficiently your business turns revenue into profit. It's useful for comparing performance across different time periods or against other businesses.

Gross profit margin

Gross profit margin reveals what percentage of your revenue remains after covering production costs.

Gross profit margin = (gross profit / revenue) x 100

Using Sunrise Bakery's numbers: ($30,000 / $45,000) x 100 = 66.7%. This means the bakery keeps 66.7 cents of every dollar earned after paying for ingredients and direct production costs.

Net profit margin

Net profit margin shows what percentage of revenue you keep after all expenses.

Net profit margin = (net profit / revenue) x 100

For Sunrise Bakery: ($9,200 / $45,000) x 100 = 20.4%. This means the bakery keeps about 20 cents of every dollar as actual profit after every cost is paid.

Tracking both margins over time helps you measure profitability and spot trends. If your gross margin stays steady but your net margin drops, your operating costs or taxes may be rising faster than your revenue.

What affects your profit?

Several factors influence how much profit your business earns. Understanding these factors helps you identify where to focus your efforts.

  • Cost of goods sold: the price of raw materials, labor, and shipping directly affects your gross profit. Supplier price increases can erode your margins quickly.
  • Operating expenses: rent, utilities, salaries, and insurance make up your overhead. Keeping these costs under control protects your operating profit.
  • Pricing strategy: setting prices too low squeezes your margins, while pricing too high can reduce sales volume. Finding the right balance is key to healthy profit.
  • Sales volume: selling more units spreads your fixed costs over a larger base, which can improve your profit margin. A drop in sales, however, means fixed costs take a bigger share of revenue.
  • Payment timing: late customer payments can strain your cash flow, even when your profit on paper looks strong. Collecting payments on time keeps your actual profit accessible.

How to improve your profit

Improving profit doesn't always mean selling more. Often, small adjustments across your business can make a noticeable difference. Here are practical steps you can take.

  • Review your pricing regularly. Compare your prices to competitors and check that they cover your costs with a reasonable margin. Even small price adjustments can significantly affect your bottom line.
  • Reduce your cost of goods sold. Negotiate better rates with suppliers, buy in bulk where practical, or find alternative materials that maintain quality at a lower cost.
  • Cut unnecessary operating expenses. Audit your subscriptions, renegotiate your lease, and look for areas where you can reduce overhead without affecting quality or customer experience.
  • Increase your sales volume. Invest in marketing that targets your most profitable customer segments. See tips on how to increase revenue. Repeat customers and referrals often cost less to acquire than new ones.
  • Monitor your finances consistently. Use accounting software to track your revenue, expenses, and profit in real time. Catching issues early gives you time to adjust before they grow.
  • Streamline your operations. Automate repetitive tasks like invoicing, bank reconciliation, and expense tracking to save time and reduce errors.

Help simplify your profit tracking with Xero

Calculating profit by hand or in spreadsheets takes time and leaves room for mistakes. Xero's cloud accounting software automates the number-crunching, so you can see your gross, operating, and net profit in real time.

With Xero, your bank transactions flow in automatically, your expenses stay organized, and your profit and loss reports update as you go. You can check your profit from anywhere and share access with your accountant or bookkeeper for expert support when you need it. Get one month free.

FAQs on how to calculate profit

Here are answers to frequently asked questions about how to calculate profit.

What is the difference between profit and revenue?

Revenue is the total money your business earns from sales before any costs are subtracted. Profit is what remains after you deduct all expenses, including production costs, operating expenses, and taxes.

What is a good profit margin?

A good net profit margin varies by industry, but most small businesses aim for 7% to 10%. Some industries, like consulting or software, often see higher margins, while retail and food service typically run lower.

What is the difference between profit and profitability?

Profit is a specific dollar amount you earn in a given period. Profitability refers to your business's ability to consistently generate profit over time, often measured using profitability ratios.

How often should you calculate profit?

Review your profit monthly at a minimum. Monthly tracking helps you spot trends, catch rising costs early, and make timely adjustments to pricing or spending.

How do you calculate profit per unit?

Subtract the total cost to produce 1 unit from the selling price of that unit. For example, if you sell a product for $25 and it costs $10 to make, your profit per unit is $15.

Handy resources

Advisor directory

You can search for experts in our advisor directory

Find an advisor

Income statement template

Download an income statement template to help track your profitability

Get the free template

Financial reporting

Keep track of your performance with accounting reports

Find out more

Disclaimer

This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.