Skip to main content
Numbers & calculations

How are revenue, cost, gross profit, and margin calculated?

Operating calculates project profitability by combining two money streams — work and expenses — into cost, revenue, gross profit, and margin. How revenue is calculated depends on the project's billing type; expenses affect margin based on whether they're billable and whether they carry markup.

Written By Lauri Eurén

Last updated 6 days ago

Operating builds project profitability from two streams of money — work (people's time) and expenses — and combines them into four numbers:

  • Cost = work cost + expense cost.

    • Work cost = cost rate × hours — and when the person's Site caps costs, the hours are capped to their working hours for the day, week, or month. See more at How cost capping works.

    • Expense cost = what each expense costs you (billable or not).

  • Revenue = work revenue + billable-expense revenue.

    • Work revenue depends on the billing type (below).

    • A billable expense adds the amount billed to the client — which can include markup. A non-billable expense adds nothing to revenue.

  • Gross profit = revenue − cost.

  • Margin = gross profit ÷ revenue, shown as a percentage.

Work revenue depends on the billing type

  • Time-and-materials: rate × hours.

  • Capped time-and-materials: rate × hours, up to the Budget's cap. The cap is an amount or a number of hours, and work beyond it earns no revenue.

  • Fixed-price: a share of the Budget, released by the project's revenue recognition method — not rate × hours.

  • Retainer: the fee of each retainer period, earned evenly across the period's weekdays, plus rate × hours for hours past the period's included hours (overage). Hours within the included hours earn no revenue of their own. See How retainers work in Operating.
  • Non-billable: always zero.

How expenses move the margin

  • A billable expense adds its cost to cost and the billed amount (cost plus any markup) to revenue. The profit it contributes is the markup, so an expense billed at cost adds no profit. Expense markup is usually thinner than your service margin, so billable expenses often pull the blended margin down even while adding profit in dollars.

  • A non-billable expense adds to cost with no offsetting revenue, so it reduces both gross profit and margin.

Worked examples (time-and-materials)

Start with the work alone — a Person on a $150/hour rate and $90/hour cost rate, working 10 hours:

  • Revenue = 150 × 10 = $1,500

  • Cost = 90 × 10 = $900

  • Gross profit = $600

  • Margin = 40%

Add a billable expense ($200 cost, billed to the client at $250):

  • Revenue = 1,500 + 250 = $1,750

  • Cost = 900 + 200 = $1,100

  • Gross profit = 1,750 − 1,100 = $650

  • Margin = 650 ÷ 1,750 = 37%

  • The expense added $50 of profit (its markup), but at a thinner margin than the work, so the blended margin slips from 40% to 37%.

Add a non-billable expense instead ($200 cost, not billed to the client):

  • Revenue = $1,500 (unchanged — nothing is billed)

  • Cost = 900 + 200 = $1,100

  • Gross profit = 1,500 − 1,100 = $400 · Margin = 400 ÷ 1,500 = 27%

  • No revenue offsets the cost, so both gross profit and margin drop.

On a fixed-price project, the work revenue would be the recognized share of the Budget, and billable expenses recognize through the same method. Cost, gross profit, and margin still combine the two streams the same way.

Things to know

  • Where the numbers come from. Cost always traces to the work and expenses themselves, on every billing type. Planned cost comes from allocations and Planned expenses. Actual cost comes from tracked Time entries and recorded Expenses.

    Revenue uses those same sources for time-and-materials and capped time-and-materials. For fixed-price, revenue comes from the Budget, recognized by the chosen method, so Allocations and Time entries drive only the cost side. On a retainer, revenue comes from the fee of each retainer period, and Time entries add revenue only for overage hours.

  • Margin at zero revenue is undefined, not 0% — with no revenue there is nothing to measure profit against.

  • Margin on a retainer's Status tab covers the retainer fee and leaves overage revenue out.
  • The rate is resolved through the rate-determination chain (position-specific rate → Rate card → global default). Non-billable work carries a zero rate, so it earns no revenue even on a billable project.

  • Cost capping limits the cost of a person's tracked time to their working hours. Their cost then stays within what you pay them, even when they work long hours.

    • Turning it on: an admin turns it on for one Site at a time in Settings → Sites → Cap personnel costs by, and picks Daily, Weekly, or Monthly working hours. Capping is off for every Site until someone turns it on.

    • What it changes: tracked cost only. Planned cost, revenue, and time value stay the same.

    • When a person logs more than the cap: the Site's cost capping policy decides how the cap lands. Neutral scales all their work in the period down by the same share. Billable work first keeps billable work whole and reduces non-billable work.

Related