Xero benchmarking

Benchmark your Xero P&L.

Five standard profitability ratios from your Xero books, every month, with the context to read them. No spreadsheet.

Short answer

Connect Xero to Openfolio and it imports your monthly Profit and Loss report, maps each account to 16 standard categories, and calculates five ratios: gross margin, operating margin, net profit margin, operating expense ratio and labor expense ratio. Your ratios are calculated privately in your workspace. Openfolio only reads the Profit and Loss report and basic company settings (currency and lock date) and never sees your Xero password.

01

Why benchmark your P&L

Xero’s Profit and Loss report gives you revenue, costs and profit for any period. On its own, it does not tell you whether a 38% gross margin is strong or weak, because that depends on your industry, your size and how your books are kept.

Benchmarking answers that question by placing your ratios against comparable businesses. To make the comparison fair, every business’s accounts are first sorted into the same standard categories and every ratio uses the same formula.

Xero added industry benchmarks to Xero Analytics in June 2026, comparing metrics such as gross and net margin with anonymised Xero businesses in the same industry and country. Openfolio is a separate tool: it maps your accounts into standard categories, calculates five monthly ratios and lets your accountant see the same numbers.

02

How the connection works

  1. Create a free workspace and choose your industry and annual revenue range.
  2. Choose Xero and sign in with Xero. You approve the connection on Xero’s own screen, which lists the view-only access Openfolio asks for.
  3. Choose cash or accrual basis and how many past months to import, up to 24.
  4. Openfolio imports the Profit and Loss report for each complete month and checks the report’s totals.
  5. Each account is mapped to one of 16 standard categories with a confidence score. You confirm anything below 0.80.
  6. Your five ratios are calculated. New months are imported automatically once a day.
03

The five ratios you get

Each ratio is a share of revenue for one complete month, using the definitions on the methodology page.

  • Gross margin: revenue minus direct costs, divided by revenue. What is a good gross margin?
  • Operating margin: profit from operations, divided by revenue.
  • Net profit margin: profit after other income and expenses, divided by revenue. Operating vs net margin
  • Operating expense ratio: overhead as a share of revenue.
  • Labor expense ratio: direct labor and payroll as a share of revenue. How to calculate it
04

What Openfolio can and cannot see

Openfolio reads the Profit and Loss report and basic company settings (currency and lock date) and nothing else from your books. It does not import invoices, bank transactions, customer lists or payroll records, and it never sees your Xero password.

Openfolio asks Xero for view-only access. It reads the Profit and Loss report, basic company settings (currency and lock date) and the list of organizations you connected, so you can pick one. It cannot create, edit or delete anything in Xero.

The imported statement is encrypted and kept in your private workspace. No other business can see it. Your accountant sees it only if you grant access. Contributing ratios to peer benchmarks is a separate choice that starts switched off, and only the ratios themselves are ever contributed, never the statement.

You can disconnect at any time from your workspace. You can also disconnect Openfolio from the connected apps settings inside Xero.

05

Cash or accrual

Xero can run the same report on a cash or an accrual basis, and the two can show very different margins for the same month. Openfolio keeps them apart and only ever compares a statement with others on the same basis. If your accountant keeps your books on accrual, choose accrual. More on how comparisons work.

Xero’s Profit and Loss report does not confirm which basis it was run on. Until it does, Xero statements are analyzed privately in your workspace but are not used in peer benchmarks, because a comparison must never mix cash and accrual figures.

06

Other ledgers

If some of your history lives in another ledger, export it as a CSV in the documented format and upload it. Openfolio also connects QuickBooks Online.

Published October 29, 2026. General information, not accounting, tax or financial advice.

Questions

Common questions.

Does Openfolio change anything in Xero?

No. Openfolio only reads the Profit and Loss report and basic company settings (currency and lock date). It never creates, edits or deletes anything in your books.

Do I need to clean up my chart of accounts first?

No. Openfolio maps your existing accounts to 16 standard categories and asks you to confirm only the ones it is unsure about.

How far back can it import?

Up to 24 complete months, on the basis you choose. New months are added once a day after that.

Will I see peer comparisons straight away?

Your own ratios appear as soon as the mapping is confirmed. Peer comparisons appear only when a cohort of comparable businesses passes its publication checks, and until then you see that the comparison is unavailable and why. Xero statements are not yet used in peer benchmarks because the report does not confirm its accounting basis.

What does it cost?

The Free plan costs nothing. Pro is $79 a month for the full peer range, every period and trends.

Can my accountant set this up?

Yes, with your authorization. An accounting firm can invite you or create a workspace for you, and you can take ownership of it at any time.

Connect Xero and see last month in context.

Create a free workspace. The connection takes a few minutes.