Get 80% off your plan for your first 3 months*

Get 80% off your plan for your first 3 months.

How to calculate net income

Learn how to calculate net income using a simple formula, a worked example and tips for Indonesian businesses.

December 2023 | Published by Xero

Published Monday 17 August 2026

Table of contents

Net income formula is revenue minus expenses minus tax equals net income

Net income (and its equation) is the same as net profit.

Key takeaways

  • Net income is your total revenue minus all expenses, taxes and deductions. It's also called net profit, net earnings or the bottom line, and it shows how much your business actually keeps.
  • To calculate net income, start with your total revenue, subtract the cost of goods sold (COGS) to find gross profit, then subtract operating expenses, interest and taxes.
  • In Indonesia, your net income feeds into corporate income tax (PPh Badan) at 22%, with reduced rates for qualifying small enterprises, so accurate tracking helps you plan and file correctly.
  • Automating your bookkeeping with cloud accounting software makes it faster to generate accurate profit and loss reports and stay on top of your finances.

What is net income?

Net income is the total amount of money your business keeps after subtracting all expenses, taxes and deductions from your revenue. It's the figure that sits at the bottom of your income statement, which is why it's often called the bottom line.

Gross profit - Operating expenses - Tax = Net profit

You might also hear net income referred to as net profit or net earnings. These terms all mean the same thing: the money left over once every cost of running your business has been accounted for.

Net income gives you a clear picture of your actual profitability. While revenue tells you how much money comes into your business, net income tells you how much you get to keep.

Why net income matters

Knowing your net income is one of the most practical ways to understand whether your business is financially healthy. It shows you whether you're making a profit or operating at a loss after every cost has been paid.

Net income helps you make better decisions about your business. You can use it to set realistic budgets, plan for growth and identify areas where you could cut costs or increase revenue.

If you're applying for a business loan or seeking investment, lenders and investors will look at your net profit as a key indicator of your business's viability. A strong bottom line builds confidence that your business can meet its financial obligations.

In Indonesia, net income also matters for tax. Your taxable profit feeds into corporate income tax (PPh Badan), currently 22%, with reduced rates available for qualifying small enterprises, so an accurate net income figure helps you plan and file correctly.

Net income formula

The net income formula is straightforward. At its simplest, it looks like this:

Net income = Total revenue – Total expenses – Taxes

For a more detailed calculation, you can break expenses down further:

Net income = Total revenue – COGS – Operating expenses – Interest – Taxes

Here's what each part means:

  • Total revenue: the full amount your business earns from sales before any deductions
  • Cost of goods sold (COGS): the direct costs of producing or purchasing the products you sell
  • Operating expenses: the day-to-day costs of running your business, such as rent, utilities and salaries
  • Interest: any interest paid on business loans or credit
  • Taxes: corporate income tax or other taxes your business owes

How to calculate net income step by step

Calculating net income is a step-by-step process. Follow these steps to work out your business's net profit for any given period.

1. Add up your total revenue

Start by calculating all income your business earned during the period. This includes sales revenue, service fees and any other income such as interest earned or rental income.

2. Calculate your cost of goods sold

Work out the direct costs associated with producing or purchasing the goods you sold. This includes raw materials, manufacturing costs and direct labour. Subtract COGS from your total revenue to find your gross profit.

3. Subtract your operating expenses

Deduct all the ongoing costs of running your business. These include rent, utilities, insurance, marketing, office supplies and employee salaries. These are the expenses that aren't directly tied to producing your product but are essential to keeping your business running.

4. Deduct interest payments

If your business has loans, credit lines or other forms of debt, subtract the interest you've paid during the period. This gives you a more accurate picture of your net earnings.

5. Subtract taxes

Finally, deduct the taxes your business owes. In Indonesia, this is mainly corporate income tax (PPh Badan) at 22%, with reduced rates for qualifying small enterprises. The figure you're left with is your net income.

Example of a net income calculation

Seeing the net income formula in action makes it easier to understand. Here's a worked example using an Indonesian small business.

Let's say your business sells Rp 350,000,000 worth of products in a quarter. Your costs break down as follows:

  • Cost of goods sold: Rp 140,000,000
  • Operating expenses (rent, salaries, utilities): Rp 30,000,000
  • Taxes owed: Rp 60,000,000

The net income calculation would be:

Rp 350,000,000 – Rp 140,000,000 – Rp 30,000,000 – Rp 60,000,000 = Rp 120,000,000

Your net income for the quarter is Rp 120,000,000. This is the profit your business gets to keep after all expenses and taxes have been paid. You could reinvest this back into the business, save it for future expenses or distribute it to owners.

Keep in mind that net income can be negative if your expenses and taxes exceed your revenue. A negative net income is called a net loss, and it signals that your business spent more than it earned during that period.

Calculating net income from gross profit

If you already know your gross profit, you can calculate net income by subtracting your remaining expenses from that figure. This approach is useful when your accounting records separate direct costs from operating costs.

The formula looks like this:

Net income = Gross profit - Operating expenses - Interest - Taxes

Using the same figures from the example above, your gross profit is Rp 210,000,000 (Rp 350,000,000 revenue minus Rp 140,000,000 COGS). From there:

Rp 210,000,000 – Rp 30,000,000 – Rp 60,000,000 = Rp 120,000,000

The result is the same: Rp 120,000,000 net income. Starting from gross profit simply means you've already accounted for your cost of goods sold in a previous step.

Net income vs gross income

Gross profit and net income measure different things, and understanding the difference is important for measuring your profitability accurately.

Gross profit is your total revenue minus the cost of goods sold. It shows how much money you make from selling your products or services before accounting for operating expenses, interest and taxes.

Net income goes further. It subtracts all remaining expenses from your gross profit, giving you the final profit your business keeps. In short, gross profit is your revenue minus cost of goods sold, while net income is your revenue minus all expenses and taxes.

If your gross profit is healthy but your net income is low, it could mean your operating costs are too high. Reviewing both figures side by side helps you pinpoint where your money is going.

Net income vs operating income

Operating income and net income are both measures of profitability, but they capture different stages of your business's financial performance.

Operating income is the profit your business makes after deducting the cost of goods sold and operating expenses from revenue. It shows how well your core business activities are performing before factoring in interest payments and taxes.

Net income takes the calculation further by subtracting interest and taxes from operating income. It represents the final profit your business keeps after all costs have been paid. If you want to assess how efficiently your operations run, focus on operating income. If you want to know what's left at the end, look at net income.

Net income vs cash flow

Net income and cash flow are related but they don't always tell the same story. A profitable business on paper can still struggle with cash flow if payments come in slowly or large expenses hit at the wrong time.

Net income is an accounting measure. It's calculated based on revenue earned and expenses incurred during a period, regardless of when the actual money changes hands.

Cash flow tracks the actual movement of money in and out of your business. It includes everything from customer payments and loan repayments to money spent on equipment.

Keeping an eye on both figures is essential. Your net earnings might look strong, but if your customers are slow to pay their invoices, you could face a cash shortfall.

Common mistakes when calculating net income

Getting your net income right depends on accurate data and careful calculations. Here are some of the most common errors to watch out for:

  • Forgetting to include all expenses: it's easy to overlook smaller costs like bank fees, software subscriptions or professional services. Make sure every business expense is accounted for.
  • Mixing up personal and business expenses: keep your personal and business spending separate. Including personal costs in your business expenses will distort your net profit figure.
  • Not accounting for depreciation: assets like equipment and vehicles lose value over time. Failing to include depreciation as an expense can make your net income look higher than it actually is.
  • Using the wrong time period: make sure your revenue and expenses cover the same period. Mismatched dates lead to inaccurate results.
  • Relying on manual calculations: spreadsheets are prone to human error. Using cloud accounting software to automate your bookkeeping reduces mistakes and saves you time.

Track your net income with Xero

Calculating net income doesn't have to be a manual process. Xero automatically pulls your revenue and expenses together, so you can generate a profit and loss report in seconds and see your bottom line at a glance.

With real-time reporting, bank feeds and automated reconciliation, you'll spend less time on bookkeeping and more time running your business. Ready to try it? Get one month free and see how Xero can simplify your finances.

FAQs on how to calculate net income

Here are some frequently asked questions about calculating net income.

Is net income the same as profit?

Net income is the same as net profit. Both terms refer to the amount left after subtracting all expenses and taxes from your total revenue. Gross profit, however, only accounts for the cost of goods sold and doesn't include operating expenses or taxes.

Is net income before or after tax?

Net income is calculated after tax. It represents your final profit once all expenses, including taxes, have been deducted from revenue.

What is a good net income for a small business?

A good net income varies by industry and business size. As a general guide, a net profit margin of 10% or higher is considered healthy for most small businesses. Reviewing your margin over time helps you spot trends and set realistic goals.

How often should you calculate net income?

Most businesses calculate net income monthly or quarterly to stay on top of their financial performance. Regular tracking helps you catch issues early, plan ahead and meet your tax obligations, including monthly PPh 25 instalments and your annual SPT Tahunan filing.

Can net income be negative?

Yes, net income can be negative. When your total expenses and taxes exceed your revenue, the result is a net loss. This indicates your business spent more than it earned during that period and may need to reduce costs or increase revenue.

What's the difference between net income and operating income?

Operating income is profit after deducting cost of goods sold and operating expenses, but before interest and taxes. Net income subtracts interest and taxes as well, giving you the final profit your business keeps.

Learn more about net income

Handy resources

Advisor directory

You can search for experts in our advisor directory

Find an advisor

Explore our guides

Find guides with expert advice and tools to help manage and grow your business

Browse all guides

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.