Book a demoBook a demo

AI variance analysis for budget vs actual: a worked example, the prompt that works and the checks to run

Manoj Tutika · Published 30 October 2026 · Last checked 26 November 2026

Mark Holleman

Working on this yourself? Talk to Mark, our co-founder. He helps finance teams go AI-native, and accounting firms put the latest AI to work safely and predictably.

Book a demo

AI is good at the middle of a variance analysis and weak at both ends. Give ChatGPT, Claude or Copilot a budget, the actuals and the drivers behind them, and it will split each variance into its causes and write commentary a director can read. It will not know whether the actuals are complete, and it will not know why a customer bought less unless that is in the data. The method below uses one month of figures, works the sums by hand so you can check any tool against them, and shows where the explanation goes wrong.

Every tool in this article works on a copy of your numbers. For an explanation tied to the entries in your ledger, look at Thred, which works on Exact Online, Xero and Moneybird. Mark Holleman, co-founder, walks through it in a demo. Each vendor fact was taken from that vendor's own pages on 26 November 2026.

What does AI need to explain a variance properly?

It needs three things, and most disappointing results come from sending only the first. It needs the budget and the actuals per line. It needs the drivers, meaning the quantities and rates behind the big lines, such as units sold, average price, headcount or hours. And it needs context that is not in the ledger, such as a price change in June or a campaign that moved a month.

Without drivers, a model can only restate the difference. Saying that revenue is £5,400 over budget is arithmetic. Saying that volume added £12,000 and discounting took back £6,600 is analysis, and the model needs units and prices to get there.

What does a worked budget versus actual variance look like?

Take a company that sells one product line. October was budgeted at 1,000 units at £120 with a unit cost of £70. It sold 1,100 units at an average of £114, and the unit cost came in at £73.

October budget versus actual
LineBudgetActualVariance
Revenue£120,000£125,400£5,400 favourable
Cost of sales£70,000£80,300£10,300 adverse
Gross margin£50,000£45,100£4,900 adverse
Marketing£8,000£11,500£3,500 adverse
Staff costs£22,000£21,200£800 favourable
Operating result£20,000£12,400£7,600 adverse

The headline reads oddly. Sales beat budget and the margin fell. The split by cause shows why. Each effect is one difference multiplied by one quantity, and the three add up to the margin variance.

Gross margin variance of £4,900 adverse, split by cause
EffectCalculationAmount
Volume100 extra units at the budgeted margin of £50£5,000 favourable
Selling price£6 lower price on 1,100 units£6,600 adverse
Unit cost£3 higher cost on 1,100 units£3,300 adverse
Total£5,000 less £6,600 less £3,300£4,900 adverse

The same check works on revenue alone. Volume added 100 units at £120, which is £12,000. Price took £6 off 1,100 units, which is £6,600. The net is the £5,400 in the first table. The budgeted margin was 41.7% of revenue and the actual margin 36.0%. A commentary that says revenue grew is true and misses the point. The business sold more by discounting, while its costs rose.

Where does the AI explanation go wrong?

It goes wrong on what the figures cannot tell it. Look at marketing, £3,500 over budget. An assistant will write that marketing overspent by 44% and may suggest a reason. In this example the real cause is a £3,000 invoice for a November campaign that was booked to October costs in full. That is a cut-off error. The invoice should sit in prepayments at month-end.

The same month after the cut-off correction
LineBudgetActual correctedVariance
Gross margin£50,000£45,100£4,900 adverse
Marketing£8,000£8,500£500 adverse
Staff costs£22,000£21,200£800 favourable
Operating result£20,000£15,400£4,600 adverse

The correcting journal debits prepayments £3,000 and credits marketing costs £3,000, with a reversal in November. No assistant working from an export could have found that. It saw a number and explained it. Here a general assistant reaches its limit. It has no live ledger, it cannot post the correction, and nothing links its sentence to the entry behind it. A commentary can be fluent and wrong at once, which is the subject of AI financial commentary you can trace.

Which AI tools explain budget versus actual variances in plain language?

The general assistants all do it from a file, and Microsoft has a dedicated feature in preview. The table shows what each vendor says its own tool does.

AI tools for variance analysis, from each vendor's own pages (checked on 26 November 2026)
ToolWhat the vendor says it doesWhat to keep in mind
ChatGPT, data analysisAccepts .xls, .xlsx and .csv files and for some tasks writes and runs Python code to analyse themOpenAI advises checking generated code and results, as the first method or chart may not fit your goal
Claude for ExcelAnswers questions about the open workbook with cell-level citations you can click, and adjusts assumptions while keeping formulas intactAnthropic does not recommend it for audit-critical calculations without verification. You need a paid Claude plan, which means Pro, Max, Team or Enterprise
Microsoft Finance Agent, variance analysis in ExcelWorks out variances from the criteria you type in natural language, then drafts an executive summary. Analyses can be saved as templatesMarked preview and prerelease documentation. Needs Microsoft 365 Copilot. Interface in US English only
Microsoft Copilot in Excel and Cowork, accounting capabilitiesAnalyses financial performance against plan, identifies key drivers and prepares reporting that explains what changed and whyAnnounced on 29 October 2026 and available in Frontier, Microsoft's early access programme

Your ledger may have a variance report of its own, without the narrative. For Xero, the steps are in budget vs actual in Xero. Dedicated planning tools add driver models and alerts, and how those compare is covered in AI CFO software vs FP&A platforms. The wider set of FP&A uses is in AI in FP&A, and the two main assistants are compared in Copilot vs Claude for finance.

How do you prompt an assistant for a variance analysis?

Ask for the method, not only the answer. A prompt along these lines works on the example above.

  • State the task and the sign convention. For example, compare October actuals with budget, and call a variance favourable when it improves the operating result.
  • Give the drivers. Units and average price for revenue, unit cost for cost of sales, headcount for staff.
  • Ask for a split of each variance above a threshold, say £1,000 or 5%, into volume, price and cost effects, with the calculation shown.
  • Ask it to prove that the effects add up to the total variance per line and to the operating result.
  • Ask it to list what it cannot explain from the data, as questions for you, and to write no cause it cannot support.
  • Ask for the commentary last, in five sentences, largest effect first.

The fifth instruction matters most. Left alone, a model fills gaps with plausible causes. Told to ask, it will return the marketing line as a question, which is where a controller would start too.

How do you check what the AI wrote?

Check it in five steps, starting with the totals and ending with the causes.

  • Tie the totals. The actuals in the analysis must equal the trial balance for the period, and the budget must equal the approved version.
  • Redo one split by hand. If volume, price and cost do not add up to the line variance, discard the rest.
  • Look for the mix effect. With more than one product, a shift between products changes the margin even at budgeted prices. Ask for it to be shown separately.
  • Test the largest overhead variances for cut-off before you explain them. Accruals and prepayments are a common source of false variances.
  • Read every stated cause and ask where it is in the data. Remove any that came from nowhere.

The finished table and commentary belong in the monthly pack. Our management report template gives you the layout of the pack they go into. For the cost side on its own, by supplier and cost centre, see AI spend analysis by vendor and cost centre.

What does Thred do for budget versus actual?

Thred works on the two ends an assistant cannot reach. Its agents run in Exact Online, Xero and Moneybird, so the actuals are read from the ledger and not from an export, and each sentence of the explanation can point to the entries behind it. Ask why marketing is over budget and the answer names the invoice.

When the cause is a booking error, the fix stays in the same place. The agent prepares the correcting journal, here the £3,000 to prepayments with its reversal, and you see it before it is written. That is the default for every write. Should you hand one kind of entry over to an agent, it works within the rules you gave and every step is logged. Thred does not set your budget and does not decide what a variance means for the business. Those stay with you.

To see it on your own figures, book a demo with Mark Holleman, co-founder of Thred, and bring last month's budget.

What should you do this month?

Run the method once on last month. Export budget and actuals, add units and prices for your largest revenue line, use the prompt above and check the result against a split you did by hand. You will see quickly how much of the commentary you can trust and how much depends on books that are right before the question is asked.

For that second part, book a demo with Mark Holleman, or read how Thred works with Exact Online.

Frequently asked questions

Which AI tools explain budget-versus-actual variances in plain language?

ChatGPT, Claude and Microsoft Copilot all do it from a file you provide. ChatGPT analyses spreadsheets with code, Claude for Excel answers with cell-level citations, and Microsoft's Finance Agent has a variance analysis feature in Excel that is in preview (checked on 26 November 2026). All of them work on a copy of your figures.

Can AI do a price and volume variance analysis?

Yes, if you give it quantities and prices as well as amounts. The volume effect is the change in units at the budgeted price or margin, and the price effect is the change in price on actual units. Ask the assistant to show each calculation and to prove the effects add up to the total.

How accurate is AI variance analysis?

The arithmetic is checkable, so check it. Redo one split by hand and tie the totals to the trial balance. The causes are less reliable. A model will explain a number that is wrong, such as an invoice booked in the wrong month, as if it were real. Ask it to list what it cannot support.

What data should I give ChatGPT or Claude for a variance analysis?

Budget and actuals per line for the period, the drivers behind the largest lines, such as units, prices, headcount or hours, and any context the ledger does not hold, such as a price change. Say which sign means favourable. Use a business plan for company figures.

What is AI-native variance analysis?

It is variance analysis where the system reads actuals directly from the ledger, computes the differences and drafts the explanation with links to the underlying entries, without the export and rebuild in a spreadsheet. The quality still depends on complete, correctly cut-off books.

How does Thred help with budget versus actual?

Thred's agents read actuals from Exact Online, Xero or Moneybird and explain a variance with reference to the entries behind it. If the cause is a booking error, the agent prepares the correction, and by default you approve it before it is written. Mark Holleman takes your own month as the example in a demo.

Sources

  1. OpenAI Help Center, Data analysis with ChatGPT (checked on 26 November 2026)
  2. Anthropic, Use Claude for Excel (checked on 26 November 2026)
  3. Microsoft Learn, Variance analysis in Excel overview (preview) (checked on 26 November 2026)
  4. Microsoft Learn, Welcome to Finance Agent (checked on 26 November 2026)
  5. Microsoft, Microsoft Copilot for finance: Purpose-built for the way finance teams work, 29 October 2026 (checked on 26 November 2026)
  6. Microsoft, Empowering finance with an AI assistant in Microsoft 365 Copilot, 20 October 2025 (checked on 26 November 2026)

Read next

Where Thred comes in

Thred Layer

Finance agents running on top of your existing ledger. You set the rules, approve the work and handle the exceptions. No migration.

Finance, handled.

Book a demo, or request a callback and we will call you.

Book a demo