October 7, 2026

Net income: Definition, formula, and how to calculate it

Explore this topicOpen ChatGPT

Net income is revenue minus every expense for a period, including cost of goods sold (COGS), operating expenses, interest, and taxes. To calculate net income, the formula is simple. Getting the inputs right is the hard part.

What is net income?

Net income is the profit left after you subtract every expense from total revenue for a period. It's the last line of the income statement, which is why you'll also hear it called net profit, net earnings, or the bottom line. When expenses exceed revenue, the result is a net loss.

Net income doesn't stay on the income statement. It flows into retained earnings on the balance sheet and feeds ratios like earnings per share (EPS), return on equity (ROE), and net profit margin (Net income / Revenue). Leadership, the board, and auditors read it first, which makes accuracy non-negotiable, and that accuracy depends on how clean your close is.

Net income formula

There are three formulas you can use to calculate net income:

Net income = Total revenue – Total expenses

Net income = Revenue – COGS – Operating expenses (including D&A) – Interest ± Non-operating gains and losses – Taxes

Net income = Operating income – Interest ± Other income and expenses – Taxes

The third version starts from the operating income formula and finishes the trip down the income statement.

Use the short form for a quick check and the expanded form when you need to show your work to an auditor. Use the third formula when you already have the operating income amount available, and you don't need to rebuild it from revenue.

Gross profit vs. operating income vs. net income

Gross profit, operating income, and net income are three levels of profit on the same income statement, and each one strips out another layer of cost. Gross profit tells you how efficiently you produce what you sell. Operating income shows how well the core business runs, and net income shows what's left after financing and tax.

MetricFormulaWhat it excludesWhat it tells you
Gross profitRevenue – COGSOperating expenses, D&A, interest, taxes, non-operating itemsProduction efficiency and pricing
Operating incomeGross profit – Operating expenses (including D&A)Interest, taxes, non-operating itemsHow well the core business runs
Net incomeOperating income – Interest ± Non-operating items – TaxesNothing. Every expense is in.Profit after financing and tax

When gross margin looks healthy and net income doesn't, the gap sits somewhere between operating expenses and the tax line.

Components of net income

Here are the components you need to calculate net income.

Revenue

Revenue is what you've recognized for the period, which isn't always the cash you collected. Booking a multi-month contract up front, or recognizing a December delivery in January, moves profit into the wrong period. Getting annual business revenue right is the first control on the bottom line.

Cost of goods sold

COGS covers the direct costs of producing what you sold. If you misclassify COGS as an operating expense, or the reverse, gross margin changes but net income stays the same. That error still matters because it misleads anyone reading margin trends.

Operating expenses

Operating expenses include payroll, rent, software, travel, and card and vendor spend. Most of your transactions land here, so this is where coding errors pile up. A company running 1,000 card transactions a month has 1,000 chances to hit the wrong general ledger account.

Depreciation and amortization

Depreciation and amortization (D&A) spread the cost of fixed and intangible assets over their useful lives. They reduce net income without touching cash, and they're often embedded within COGS or operating expenses rather than broken out as their own line. Under straight-line depreciation, a $60,000 server with a five-year life costs you $12,000 a year, or $1,000 a month.

Errors here usually come from the close. A missed depreciation entry, an asset placed in service late, or the wrong useful life can all overstate net income. Capitalizing spend that should be expensed, or expensing spend that should be capitalized, shifts profit between periods.

Interest and taxes

Interest expense on your debt comes off first, which gets you to pre-tax income. The income tax provision comes next, so net income is always an after-tax figure.

Non-operating items

Non-operating items include gains or losses on asset sales, FX gains and losses, and one-time items like a legal settlement. For multi-entity companies, FX remeasurement and intercompany items often land here. Selling a fully depreciated delivery truck for $15,000, for example, books a $15,000 gain that lifts net income without saying anything about operations.

Watch this line closely, since a single large item can make a weak quarter look strong.

How to calculate net income

The formulas are simple, but the close determines whether the output is trustworthy. Work through these steps in order to get a number you can stand behind.

1. Confirm the period is closed and complete

Net income is only as accurate as the books it comes from. Before you calculate, confirm that every card, bill, and expense transaction for the period is coded and synced to your enterprise resource planning (ERP) system. Book your accruals and reconcile your accounts first.

2. Start with total recognized revenue

Pull revenue from the income statement for the period, consolidated across entities. Use recognized revenue, not billings or cash received.

3. Subtract COGS to get gross profit

Subtract the direct costs tied to the revenue you recognized. Matching COGS to the same period as its revenue keeps gross profit from swinging month to month.

4. Subtract operating expenses to get operating income

Subtract payroll, rent, software, travel, and card and vendor spend for the period to land on operating income. This figure typically includes D&A, since most companies embed depreciation and amortization within COGS or operating expenses rather than breaking it out as its own line.

5. Subtract interest, adjust for non-operating items, and subtract taxes

Subtract interest expense, then add non-operating gains or subtract non-operating losses to reach pre-tax income. Subtract the income tax provision, and what remains is net income.

6. Eliminate intercompany activity when you consolidate

If you run more than one entity, remove intercompany revenue, expenses, and management fees before you finalize the number. Otherwise, the consolidated figure counts the same dollar twice.

Net income example: A multi-entity company

Picture a mid-market software company with a US parent and a UK subsidiary. The UK entity charges the parent $1.2M in management fees, and five departments run their own card programs.

Line itemAmount
Combined revenue (both entities)$43,200,000
Less: Intercompany management fees($1,200,000)
Consolidated revenue$42,000,000
Less: COGS($16,800,000)
Gross profit$25,200,000
Less: Payroll($11,400,000)
Less: Card and vendor spend($4,600,000)
Less: Rent and other operating expenses($3,600,000)
Operating income$5,600,000
Less: Interest expense($600,000)
Less: FX loss($300,000)
Pre-tax income$4,700,000
Less: Income tax provision (25%)($1,175,000)
Net income$3,525,000
  1. Eliminate intercompany fees: $43,200,000 – $1,200,000 = $42,000,000 consolidated revenue
  2. Subtract COGS: $42,000,000 – $16,800,000 = $25,200,000 gross profit
  3. Subtract operating expenses: $25,200,000 – $11,400,000 – $4,600,000 – $3,600,000 = $5,600,000 operating income
  4. Subtract interest and the FX loss: $5,600,000 – $600,000 – $300,000 = $4,700,000 pre-tax income
  5. Subtract taxes: $4,700,000 – $1,175,000 = $3,525,000 net income

Now say $240,000 of software subscriptions bought on cards gets coded to prepaid expenses, a balance sheet account. Operating expenses drop to $19,360,000 and pre-tax income rises to $4,940,000. After a 25% provision of $1,235,000, net income comes out at $3,705,000, overstated by $180,000.

The same thing happens if that $240,000 posts in the next period instead. This month's net income runs $180,000 high, and next month's runs low by the same amount. The arithmetic was right both times, so the error has to be caught in the close.

Common net income mistakes that start in the close

The formula is only as reliable as the inputs behind it. These five errors are the usual reasons net income comes out wrong.

Miscoded expenses

Spend coded to the wrong GL account, department, or entity is the most common source of a wrong bottom line. Coding an expense to an asset or prepaid account overstates net income for the period. Coding it to the wrong entity leaves consolidated net income intact but distorts each entity's profit and loss (P&L) statement.

Expenses landing in the wrong period

Card transactions that post late, missing accruals for spend incurred but not yet billed, and bills booked on payment date all shift profit between months. A $50,000 contractor invoice for March work, booked when you pay it in April, makes March look $50,000 better than it was.

Missed or misapplied depreciation and amortization

Assets placed in service late, wrong useful lives, and spend expensed when it should have been capitalized all move net income. Shortening a $300,000 asset's life from 5 years to 3 adds $40,000 of depreciation a year and lowers pre-tax income by the same amount.

Unreconciled card and bank activity

Transactions that never reached the ERP understate expenses, and duplicates overstate them. Either way, your expense total is wrong before the calculation starts.

Missed intercompany eliminations

Revenue and expense between entities that stays in the consolidation inflates both lines. Net income may hold steady, but revenue and expenses both run high, which skews every margin you report.

Run these checks before you calculate:

  • Coding complete: Every card, bill, and reimbursement has a general ledger (GL) account, department, and entity.
  • Accruals booked: Spend incurred but not yet billed is on the books for the period.
  • Depreciation run: New assets are in service and useful lives match your policy.
  • Reconciliations done: Card, bank, and ERP balances tie out with no missing or duplicate transactions.
  • Intercompany eliminated: Fees, sales, and loans between entities are removed from the consolidation.

Clear all five, and the net income you calculate is the one you can defend to your board and auditors.

Close your books with accurate net income using Ramp

Net income goes wrong when spend is miscoded or lands in the wrong period. The more entities and card programs you run, the more chances that $240,000 software charge has to hit a prepaid account instead of operating expenses.

Ramp's Accounting Agent auto-codes every transaction the moment it posts. It fills in GL, department, class, location, and custom fields with no rules to build or maintain, and learns from every correction, so your books are cleaner before anyone calculates the bottom line.

With the Accounting Agent handling first-pass coding, you can:

  • Close your books 3x faster: Routine, in-policy spend moves through a zero-touch lane with Auto Mark Ready and Auto Sync.
  • Auto-code 3.5x more transactions: The agent learns from your corrections and codes more than legacy, rules-only tools.
  • Review only exceptions: Smart Review and Suggested Actions surface the transactions that need your judgment.
  • Book card accruals automatically: Period-end accruals generate on NetSuite, Sage Intacct, QuickBooks Online, Microsoft Dynamics, and universal CSV.
  • Keep a full audit trail: Every coding decision shows its confidence and rationale; you can override it, and you keep post-to-ERP authority.

Try an interactive demo to see how the Accounting Agent keeps your bottom line accurate at close, and join more than 85,000 businesses that use Ramp to save over a year’s worth of work every hour.

Try Ramp for free
Share with
Richard Moy•Finance Writer, Ramp
Richard Moy has written extensively about procurement and vendor management topics for companies like BetterCloud, Stack Overflow, and Ramp. His writing has also appeared in The Muse, Business Insider, Fast Company, Mashable, Lifehacker, and more.
Ramp is dedicated to helping businesses of all sizes make informed decisions. We adhere to strict editorial guidelines to ensure that our content meets and maintains our high standards.

FAQs

Net income = Total revenue – Total expenses. The expanded version subtracts COGS, operating expenses, depreciation and amortization, interest, and taxes from revenue, then adjusts for non-operating gains and losses.

After tax. Net income is what remains after the income tax provision. Pre-tax income is the line directly above it on the income statement.

Not directly. Net income appears on the income statement and flows into retained earnings on the balance sheet.

Gross income, or gross profit, is revenue minus COGS. Net income subtracts every remaining expense, including operating costs, D&A, interest, and taxes.

Yes. Depreciation and amortization are deducted before net income even though they're non-cash, which is why net income and cash flow differ.

“I assumed I would have to choose between speed and control. What I found is that you can have both. A well-designed system takes friction out, for the finance function and for everyone else.”

Justin Webster

CFO, Denver Broncos

What it takes to pay for an NFL season: inside the Denver Broncos’ finance rebuild

“A well-run district should not have to choose between getting work done at the school site and keeping control of the dollars behind it. We're not hiring more people to do more jobs, so we have to be smarter about the process. With Ramp, the purchase, the receipt, and the record stay together from the start. ”

Nick Brizeno

Director of Purchasing, San Marcos Unified School District

San Marcos Unified gives maintenance teams room to act — and finance a clear record of their spend across 19 schools

“In senior living, scale only works if the communities still feel personal. We needed the back office to carry more of the complexity, not the people serving residents. Ramp helped us build that infrastructure, so the experience in the community could stay human.”

Ryan Cole

CFO, Agemark Senior Living

How the family-owned business behind 28 senior living communities rebuilt finance to close 19 days faster

“AI is moving faster than the finance context around it. Prices change, models change, and the value is not always obvious from an invoice. We needed enough detail to know which bets deserved more investment — and which ones did not.”

Greg Cooley

Controller, AngelList

From purchase requests to 409 API keys: How AngelList puts spend under owner-level control

“Invoices, cards, tokens. The categories change but the principle doesn't: know where the money is going, remove the work around it, and make sure the spend is worth it.”

Maciej Mylik. Finance

ElevenLabs

ElevenLabs speaks more than 70 languages but its money speaks the same one

“We weren’t trying to retrofit an old finance system. We had a blank canvas, and Ramp gave us the foundation to build a global finance function of the future.”

Justin Dourado

Director of Finance, Othership

How Othership’s first finance hires built one operation across Canada and the U.S.

“There's just no surprises anymore. No more waiting two months to find out how a job did. We know how it's doing as it's happening.”

Erich Kuss

Financial Systems Manager, Infinity Home Services

Infinity Home Services prevents the margin leak nobody can see from the ground, so its 20+ local companies build what they bid

“More token spend isn’t proof that AI is working. Less isn’t proof that it isn’t. What matters is whether we’re buying the right level of intelligence for the work. Ramp lets us make that judgment in the same place we manage every other type of spend.”

Cody Nutt

Senior Director of Business Systems, Daxko

How Daxko put every AI token on the same operating system as every dollar