Smekys
Ad Space

Operating Expense Calculator

Free OpEx calculator: total operating expenses, gross profit, operating income (EBIT) and OpEx-to-revenue ratio from COGS, salaries, rent and marketing.

Enter Values

$/yr

Total revenue (top line) for the period, usually one fiscal year.

$/yr

Direct costs to produce what you sell (materials, factory labor). Not part of OpEx.

$/yr

Payroll for admin, sales and support staff (excludes production labor in COGS).

$/yr

Office or retail rent, property-related overhead, and facilities costs.

$/yr

Ad spend, campaigns, agencies, tools and promotion.

$/yr

Electricity, internet, software subscriptions, supplies and other office overhead.

$/yr

Any remaining SG&A lines (insurance, travel, professional fees, depreciation, amortization).

Result

Gross Profit
$300,000.00
Total Operating Expenses (OpEx)
$250,000.00
Operating Income (EBIT)
$50,000.00
OpEx Ratio (% of Revenue)
50%
Gross Margin
60%
Total Costs (COGS + OpEx)
$450,000.00

Every business, from a one-person startup to a mature company, lives and dies on the gap between what it earns and what it spends. On a standard income statement, that gap is built in layers. Revenue sits at the top. Subtract the direct cost of producing what you sell and you get gross profit. Then you subtract the day-to-day cost of running the business itself — rent, payroll, marketing, utilities, software — and whatever is left is operating income. Those day-to-day costs are operating expenses, or OpEx, and this calculator adds them up for you and shows how they erode your gross profit.

The result card gives you gross profit, total operating expenses, operating income (also called EBIT), the OpEx-to-revenue ratio, and your gross margin. Slide any figure and the whole statement recalculates instantly, so you can see what happens if you raise marketing spend, move to cheaper rent, or scale salaries with growth.

How to Use

  1. Enter your Annual Revenue — the top line for the period you are reviewing, typically one full fiscal year.
  2. Enter Cost of Goods Sold (COGS) — the direct cost of producing your product, such as raw materials and factory-floor labor. COGS is not an operating expense; it is subtracted first to arrive at gross profit.
  3. Add your Salaries & Wages for administrative, sales, and support staff. Production payroll belongs in COGS, not here.
  4. Fill in Rent & Facilities, Marketing & Advertising, and Utilities & Office using the annual totals from your books.
  5. Use Other Operating Expenses as a catch-all for any remaining selling, general, and administrative lines — insurance, travel, professional fees, depreciation, and amortization. Leave it at zero if you have none.

The engine then computes gross profit, sums every OpEx line, subtracts that from gross profit to reach operating income, and expresses OpEx as a percentage of revenue.

The Income Statement, Line by Line

Understanding operating expenses is easiest when you see the full waterfall:

  • Revenue — everything you sold, before any costs.
  • Minus COGS — the cost of the goods or services you directly delivered.
  • = Gross Profit — the markup left after production cost. Divide it by revenue for gross margin.
  • Minus Operating Expenses — the overhead of running the business, regardless of how much you produce: salaries, rent, marketing, utilities, software, travel, insurance, and non-cash charges like depreciation and amortization.
  • = Operating Income (EBIT) — earnings before interest and taxes. This is the profit your core business generates, separate from how it is financed or taxed.

The critical distinction is COGS versus OpEx. A baker's flour and yeast are COGS; the bakery shop's rent and the cashier's wage are OpEx. Both matter, but trimming the wrong bucket wastes effort. The OpEx ratio — operating expenses divided by revenue — tells you how many cents of every sales dollar disappear into overhead. A ratio of 50% means you spend half of every dollar just to keep the lights on.

Examples

Example 1 — The worked example (a healthy small business). Revenue is $500,000 and COGS is $200,000, leaving a gross profit of $300,000 (a 60% gross margin). OpEx lines are salaries $150,000, rent $60,000, marketing $30,000, and utilities $10,000, for total operating expenses of $250,000. Subtracting that from gross profit gives an operating income of $50,000, and the OpEx ratio is $250,000 ÷ $500,000 = 50%. Half of revenue goes to overhead, which is typical for a service or light-retail business.

Example 2 — Scaling up (a large operation). Revenue of $2,000,000 with COGS of $800,000 yields a $1,200,000 gross profit. OpEx totals $960,000 (salaries $600,000, rent $200,000, marketing $120,000, utilities $40,000). Operating income is $240,000 and the OpEx ratio is 48% — slightly leaner than the smaller business, showing how fixed overhead can spread over a larger revenue base.

Example 3 — A margin squeeze. Revenue is $200,000 with no COGS (a pure-service firm), salaries of $50,000 and rent of $20,000. Total OpEx is $70,000, operating income is $130,000, and the OpEx ratio is 35%. Service businesses carry little COGS, so their profitability depends almost entirely on keeping salaries and overhead in check.

FAQ

What counts as an operating expense?

Operating expenses (OpEx) are the costs of running the business that are not directly tied to producing a specific product. They typically include salaries and wages for non-production staff, rent and facilities, marketing and advertising, utilities, office supplies, software subscriptions, insurance, travel, professional fees, and depreciation and amortization. What does not count is COGS — the direct cost of materials and factory labor — and interest and taxes.

What is the difference between COGS and operating expenses?

COGS are the direct costs of producing the goods or services you sell, such as raw materials and production labor. Operating expenses are the indirect overhead of running the business, such as office rent, marketing, and administrative salaries. You subtract COGS first to get gross profit, then subtract operating expenses to get operating income. Misclassifying a cost between the two buckets changes your gross margin but not your bottom line.

What is a good operating expense ratio?

The OpEx ratio — operating expenses divided by revenue — varies widely by industry. Software companies run high OpEx ratios (heavy payroll and R&D) while keeping near-zero COGS. Manufacturers carry large COGS but leaner overhead. As a rough rule, a declining OpEx ratio as revenue grows means your overhead is scaling efficiently; a rising ratio means fixed costs are outpacing sales and should be investigated.

Is operating income the same as net income?

No. Operating income (EBIT) is the profit from core business operations before interest and taxes. Net income subtracts interest expense, taxes, and any non-operating gains or losses on top of operating income. A company can have strong operating income but a low net income if it is heavily leveraged (large interest payments) or faces a high tax bill.

Are salaries an operating expense?

Salaries for administrative, sales, marketing, and support staff are operating expenses. Wages for production-line workers directly making the product are part of COGS. The rule of thumb is: if the labor supports the business generally, it is OpEx; if it directly creates the goods you sell, it belongs in COGS.

What about depreciation and amortization?

Depreciation and amortization are non-cash operating expenses. They spread the cost of long-term assets (equipment, vehicles, intangibles) across their useful life. They reduce reported operating income but do not involve an immediate cash outflow, which is why net operating cash flow often looks healthier than net income. Enter them in the "Other Operating Expenses" field.

Disclaimer

This operating expense calculator is provided for informational purposes only and does not constitute financial, accounting, tax, or legal advice. Results are estimates based solely on the figures you enter and a standard income-statement build; real-world cost classification, depreciation schedules, and tax treatment vary by business, industry, and jurisdiction. Always consult a qualified accountant or financial professional before making decisions based on these figures.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.