August 3, 2026

What is revenue? Definition, types, and formula

Your income statement can show climbing sales and still hide whether the business is actually healthy. The number at the very top, revenue, answers just one question: how much money came in from selling goods or services before any expenses.

Get that figure and its timing right and every metric below it, from profit margins to growth rates, holds up. Get it wrong and the whole statement can mislead everyone reading it.

What is revenue?

Revenue is the total amount of money a business earns from selling goods or services before any expenses are deducted, the "top line" of the income statement.

It measures how much money flows into your business from sales during a given period. It's also the foundation for calculating profitability, growth rates, and nearly every other metric your stakeholders care about.

  • Top line: Revenue sits at the top of your income statement, above all expenses and deductions
  • Before expenses: Revenue doesn't account for costs; it's your gross earnings from sales
  • Sales indicator: It shows how much demand exists for what you sell and how well you convert that demand into dollars

Revenue in a business context

In a business context, revenue signals market demand and growth potential. Climbing revenue means your product or service is gaining traction, while flat or declining revenue means your go-to-market strategy, pricing, or positioning needs attention. Leadership teams, investors, and board members watch revenue trends to gauge whether the company is heading in the right direction.

Revenue in an accounting context

In an accounting context, revenue is a formal entry on your financial statements that must follow specific recognition rules. You can't just record income whenever you want. Standards like GAAP and IFRS accounting standards dictate exactly when and how revenue hits your books.

So the timing of revenue on your income statement may not match when cash actually arrives. That's a critical distinction for accurate financial reporting.

Revenue vs. profit

Revenue is the total money your business brings in before expenses; profit is what you keep after subtracting all your costs. Both are critical, but for different reasons.

  • Revenue: What you bring in
  • Profit: What you keep

Revenue shows up at the top of an income statement and gives a snapshot of market demand and sales performance. While it can guide strategies in sales and marketing, it doesn't always reflect the company's profitability because it doesn't account for expenses.

Profit is found at the bottom of the income statement and reflects the company's efficiency and financial sustainability. Profit metrics influence major business decisions around budgeting and planning because they consider both cash and non-cash expenses.

While revenue can indicate growth potential, profit tells you whether that growth is being managed effectively.

Revenue vs. income

Revenue and income are often used interchangeably in casual conversation, but they mean different things in accounting.

Revenue is your top line, the total money earned from sales before any deductions. Income, particularly net income, is your bottom line: what's left after you subtract all expenses, taxes, and costs from revenue.

Think of it this way: If your business earns $500,000 in revenue and spends $400,000 on salaries, rent, materials, and taxes, your net income is $100,000. Revenue tells you how much demand your business generates. Net income tells you how efficiently you turn that demand into actual earnings.

Types of revenue

You can categorize revenue in different ways depending on its source and how deductions are applied:

Operating revenue

Operating revenue is the money you earn from your primary business activities. If you run a retail store, it's the income from customer purchases. If you manage a software company, it's the revenue from subscriptions. If you provide consulting services, it's the fees clients pay for your work.

This type of revenue is the most reliable indicator of business performance. It shows whether your business model is working, your customer base is growing, and your pricing strategy holds up. It also serves as a baseline for profitability analysis since most expenses tie back to these core activities.

Non-operating revenue

Non-operating revenue comes from activities outside your normal operations. Think interest earned on investments, gains from selling business assets, insurance payouts, or legal settlements. These sources can provide short-term financial boosts, but they aren't part of your recurring income stream.

For example, if you sell a piece of equipment for more than its book value, that gain counts as non-operating revenue. Because these earnings are irregular and unpredictable, they're reported separately on the income statement so anyone reviewing your financials can distinguish between repeatable earnings and one-off events.

Gross revenue

Gross revenue is the total amount of money you receive from sales before any deductions. It represents the full value of every transaction, with nothing subtracted. It's the broadest measure of your sales activity.

Net revenue

Net revenue is what you get after subtracting returns, discounts, and allowances from gross revenue. This figure gives you a clearer picture of what your business actually keeps from sales. If you offer frequent promotions or have a high return rate, the gap between gross and net revenue can be significant—and worth watching closely.

Gross revenue vs. net revenue

Revenue can be reported either as gross or net, so the right figure depends on what you're measuring. Gross revenue is your total sales before any deductions. Net revenue is what remains after you subtract returns, discounts, and allowances.

MeasureWhat it reflectsWhen it matters
Gross revenueTotal sales before deductionsGauging raw demand and sales volume
Net revenueSales after returns, discounts, and allowancesSeeing what the business actually keeps

Use gross revenue to gauge demand and top-line growth. Use net revenue when you need a realistic view of what sales actually contribute, especially if you run frequent promotions or see high return rates.

Recurring revenue

Recurring revenue is regular, predictable income that repeats on a consistent schedule. Subscription fees, retainer agreements, and membership dues are all examples. Because it renews each period, it provides a stable cash flow baseline and is often valued at a premium relative to one-time revenue—especially in SaaS and subscription-based businesses.

In SaaS and subscription businesses, that premium shows up in how recurring revenue is tracked and valued: teams monitor monthly recurring revenue (MRR) and annual recurring revenue (ARR), and because that income is contracted and predictable, a dollar of it is typically worth more to investors than a dollar of one-time sales.

Revenue typeWhat it includesExample
OperatingCore business salesProduct or subscription sales
Non-operatingSecondary incomeInterest income, asset sale gains
GrossTotal before deductionsAll sales receipts
NetAfter returns/discountsAdjusted sales total

The revenue formula

The basic formula for calculating revenue is straightforward:

Revenue = Units sold * Price per unit

"Units sold" is the quantity of products sold during a period, and "Price per unit" is the selling price of each product. For service-based businesses, the formula shifts slightly:

Revenue = Hours billed * Hourly rate

If you offer multiple products or services at different price points, you calculate revenue for each line and then add them together to get total revenue.

For net revenue, extend the formula to account for deductions:

Net revenue = (Quantity sold * Unit price) − Discounts − Allowances − Returns

How to calculate revenue

Follow these steps to calculate revenue for any given period:

  1. Identify all sales transactions that occurred during the period: Pull data from your point-of-sale system, invoicing platform, or accounting software to make sure nothing is missed
  2. Multiply quantity by price for each transaction: For product sales, that's units sold times price per unit. For services, it's hours billed times your hourly rate.
  3. Sum the revenue from all streams to get your total revenue: If you sell products, subscriptions, and services, calculate each separately and then add them together

Accurate revenue tracking starts with clean sales data. Finance leaders know that poor data quality carries steep costs and missed opportunities. That's why many businesses rely on integrated accounting tools or ERP systems to automate revenue reporting and reduce manual errors.

Ramp's Accounting Agent keeps that sales data clean by auto-coding 3.5x more transactions than legacy, rules-only tools, with 98% accuracy on transactions flagged ready to sync. Every decision it makes carries a confidence level, a rationale, and the ability to override it, so your audit trail stays intact.

Revenue calculation examples

  • Product-based business: A company sells 500 units of a product at $20 each—Revenue = 500 * $20 = $10,000
  • Service-based business: A consulting firm bills 100 hours of work at $150 per hour—Revenue = 100 * $150 = $15,000
  • Subscription business: A software company has 200 subscribers paying $50 per month—Monthly revenue = 200 * $50 = $10,000

Businesses that sell on credit need to account for revenue at the time of sale, not when payment is received. This helps match revenue to the right period and gives a more accurate picture of performance.

What is revenue recognition?

Revenue recognition is the accounting principle that determines when you can officially count money as revenue on your financial statements. It exists to make sure your financial reporting reflects when income is actually earned, not just when cash changes hands.

Accrual basis accounting

Accrual accounting recognizes revenue when it's earned, not when the cash arrives. You record income once you've delivered the product or completed the service, even if the customer hasn't paid yet.

Say your business installs software for a client in September but doesn't get paid until October. Under the accrual method, you record the revenue in September, when the service was completed.

This method gives a more accurate view of performance. It aligns income with the period it was generated in and matches that income with related operating expenses, which is essential for measuring profit margins and spotting cash gaps.

The accrual method is required for public companies and businesses following generally accepted accounting principles (GAAP). It's also common in industries with longer payment terms, recurring billing, or complex projects, like SaaS, consulting, or construction. These timing rules are formalized in FASB ASC Topic 606, which lays out a five-step model for recognizing revenue from customer contracts.

Accrual accounting does require more tracking. You'll need to manage accounts receivable and stay on top of invoicing and collections.

Ramp's Accounting Agent posts automated accruals so revenue and expenses land in the right period. That coverage spans NetSuite, Sage Intacct, QuickBooks Online, Microsoft Dynamics, and universal CSV, taking manual accrual work off the close.

Cash basis accounting

Cash-basis accounting recognizes revenue only when cash is received. If the money isn't in your account, it doesn't go on your books, even if the work is done.

For example, if you finish a project in May but don't get paid until June, you record the revenue in June. That's when the cash arrives, even though you completed the work earlier.

This method is simpler and easier to manage, especially for small businesses or solo operators. There's no need to track receivables or match income and expenses across periods.

The trade-off is blind spots. Because income only shows up when payments are collected, cash accounting can understate revenue in busy months and overstate it in slow ones. That makes it harder to plan, forecast, or evaluate true performance.

Cash accounting isn't always suitable for businesses with inventory, long-term contracts, or growth-stage operations. Still, many small businesses in the U.S. use it, mainly for its ease and tax simplicity.

Accrued revenue vs. deferred revenue

These two concepts represent timing differences between when revenue is earned and when payment is received. Understanding both is essential for accurate financial reporting.

What is accrued revenue?

Accrued revenue is income you've earned by delivering a product or completing a service, but for which you haven't yet received payment. It shows up as an asset on your balance sheet because the customer owes you money.

For example, if you complete a consulting project for a client in December but won't be paid until January, that amount is accrued revenue for December. You've done the work, the payment just hasn't caught up yet.

What is deferred revenue?

Deferred revenue, also called unearned revenue, is payment you've received for products or services you haven't yet delivered. It's recorded as a liability on your balance sheet because you owe the customer something in return.

A common example: A customer pays up front for a year-long software subscription. You record that full payment as deferred revenue and then recognize it as earned revenue on a monthly basis as you deliver the service. This is standard practice for SaaS companies, membership businesses, and any model involving prepayment.

Are revenue and cash flow the same?

No. Revenue and cash flow track two different things, and confusing them can lead to serious planning mistakes.

Revenue is recorded when it's earned, which under accrual accounting may be well before payment arrives. Cash flow tracks the actual movement of money into and out of your business—what's in your bank account right now.

You can have high revenue but poor cash flow if your customers haven't paid their invoices yet. This is common in industries with 30-, 60-, or 90-day payment terms. A business that looks profitable on paper can still struggle to make payroll if cash isn't arriving on time. That's why monitoring both metrics matters.

Revenue across other sectors

Revenue isn't only a for-profit concept. It shows up across government, nonprofit, and real estate contexts, each with its own sources.

Government revenue

Government revenue is the money a government collects to fund public services, mainly through taxes, fees, fines, and intergovernmental transfers.

Nonprofit revenue

Nonprofits generate revenue too, but it often looks different from for-profit businesses. Common sources include donations, grants, membership dues, and fees for programs or services.

Nonprofits track revenue to measure financial health and ensure they have the funds to support their operations and mission. The key difference is that nonprofit revenue isn't tied to profit generation. It's tied to sustaining the organization's ability to deliver on its purpose.

Accounting standards for nonprofits also differ, with specific nonprofit accounting rules around how restricted and unrestricted funds are recognized and reported.

Real estate revenue

Real estate revenue is the income a property generates, including rent, parking, and facility fees. Subtract the property's operating expenses from that income and you get net operating income (NOI), the standard measure of a property's profitability.

Close your books faster with Ramp

Month-end close is a stressful exercise for many companies, but it doesn't have to be that way. Ramp's AI-powered accounting tools handle everything from transaction coding to ERP sync, so teams close faster every month with fewer errors, less manual work, and full visibility.

Every transaction is coded in real time, reviewed automatically, and matched with receipts and approvals behind the scenes. Ramp flags what needs human attention and syncs routine, in-policy spend so teams can move fast and stay focused all month long. When it's time to wrap, Ramp posts accruals, amortizes transactions, and reconciles with your accounting system so tie-out is smoother and books are audit-ready in record time.

Here's what accounting looks like on Ramp:

  • AI codes in real time: Ramp learns your accounting patterns and applies your feedback to code transactions across all required fields as they post
  • Auto-sync routine spend: Ramp identifies in-policy transactions and syncs them to your ERP automatically, so review queues stay manageable, targeted, and focused
  • Review with context: Ramp reviews all spend in the background and suggests an action for each transaction, so you know what's ready for sync and what needs a closer look
  • Automate accruals: Post (and reverse) accruals automatically when context is missing so all expenses land in the right period
  • Tie out with confidence: Use Ramp's reconciliation workspace to spot variances, surface missing entries, and ensure everything matches to the cent

Try an interactive demo to see how businesses close their books 3x faster with Ramp.

Try Ramp for free
Share with
Ken BoydAccounting and finance expert
Ken Boyd is a former CPA, accounting professor, writer, and editor. He has written four books on accounting topics, including The CPA Exam for Dummies. Ken has filmed video content on accounting topics for LinkedIn Learning, O’Reilly Media, Dummies.com, and creativeLIVE. He has written for Investopedia, QuickBooks, and a number of other publications. Boyd has written test questions for the Auditing test of the CPA exam, and spent three years on the Audit staff of KPMG.
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

Bookings represent a customer's commitment to spend money with you in the future, like a signed contract. Revenue is recognized only when you actually deliver the product or service, so a $120,000 annual contract is a booking on day one but revenue as you fulfill the terms.

Yes. You can have strong sales and still report zero or negative profit if your total expenses equal or exceed your revenue. This is common for fast-growing companies investing heavily in expansion, marketing, or research and development.

Recurring revenue is predictable, regular income you expect to receive on an ongoing basis, such as monthly or annual subscription fees and retainer payments. It's valued highly because it provides stable, foreseeable cash flow that makes planning and forecasting easier.

Revenue can be reported either way. Gross revenue is your total sales before deductions, while net revenue is what's left after subtracting returns, discounts, and allowances.

No. Revenue is the total money earned from sales before any deductions, while income (specifically net income) is what remains after subtracting all expenses, taxes, and costs.

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

Most banks treat the back office as a cost to keep down. We treat ours as a return to compound, which is why we run it on Ramp. Now we put our clients on Ramp, too.

Patrick Gaughen

President & COO, Hingham Institution for Savings

The 192-year-old bank that banks on Ramp to take the waste out of its own books

Browserbase builds infrastructure so AI agents can do real work. Ramp is doing the same for finance. It’s not another tool. It’s a system purpose-built for AI-driven finance, and that’s why we chose Ramp as our financial operating system from day one.

Paul Klein IV

Founder & CEO, Browserbase

How the startup that helped design Ramp’s procurement agent automated its own procure-to-pay

We used to pay up to $20k a year for our AP platform. With Ramp, we’re earning back well over that amount. That's money that belongs to the mission now, not to the back-office software.

Heidi Coffer

Chief Financial Officer, Boys & Girls Clubs of San Francisco

Boys & Girls Clubs of San Francisco used to pay for their finance software — now it pays them

The tricky thing about corporate travel policy is timing. We didn't need a stricter policy. We needed the policy to show up earlier. With Ramp Travel, it finally does.

Keith Frantz

Director of Enterprise Risk Management, Prosper

When Prosper put policy into its corporate travel booking flow, costs fell 15% and finance reclaimed a week every month

We're accountable to our funders, our partners, and the families we serve. That accountability starts with how we manage every dollar. Ramp makes it easy for our team to spend wisely, track in real time, and keep overhead low so more resources reach the families navigating infertility.

Rachel Fruchtman

CFO, Jewish Fertility Foundation

Jewish Fertility Foundation reclaimed 11 work weeks and put more time into serving families

Each member of our team has an outsized impact due to our focus on using high-leverage tools like Ramp.

Lauren Feeney

Controller, Perplexity

How Perplexity's finance team of 10 scales one of the fastest-growing AI startups

With Ramp, we haven’t had to add accounting headcount to keep up with growth. The biggest takeaway is that instead of hiring our way through it, we fixed the workflow so we can keep supporting the organization as we scale.

Melissa M.

VP of Accounting at Brandt Information Services

Brandt grew finance operations 3x with zero added accounting headcount