✏️Prompts

When AI Gets Numbers Wrong: How to Check Its Work

The six ways AI assistants get numbers wrong in finance and operations work, a review checklist that catches them, and prompts that make mistakes less likely.

A magnifying glass highlighting one cell in a spreadsheet next to a calculator

AI assistants are fluent with numbers in the way a confident new hire is fluent: the answer arrives quickly, formatted nicely, and is sometimes wrong. The fix is not to stop using them. It is to make the tool calculate in a way you can inspect, and to keep a short set of checks that a person runs before any figure leaves the building.

Why the numbers go wrong

A language model writes text one piece at a time. When it adds a column "in its head," it is producing digits that look right, not running a calculation. The more reliable route is to have the assistant write and run code. OpenAI's help page for data analysis in ChatGPT, for example, describes the tool writing Python to process an uploaded file, running it and letting you view the code. When the work happens in code or spreadsheet formulas, you can check the method, not just the answer.

The six common error types

ErrorWhat it looks likeHow to catch it
1. Text arithmeticA total that is close but not exact, often off by a digit or a carried oneRecalculate the total yourself, or ask for the formula
2. Dropped rowsA summary built from part of the file, for example only the rows the tool previewedCompare row counts and the grand total with the source file
3. Wrong period or columnOctober figures labeled as September, or budget used as actualTick two or three numbers back to the source by hand
4. Sign and unit mix-upsCredits treated as positive, or thousands read as unitsState the sign convention and units in the prompt; spot-check one account
5. Invented figuresA plausible number with no source in the data, often a benchmark or a percentageAsk where each number came from; delete any it cannot point to
6. Inconsistent rerunsThe same prompt gives a different answer the second timeRun important calculations twice and compare

A review checklist before a number is used

  1. Totals tie. The grand total and the row count match the source file or the system report.
  2. The method is visible. You can see the formula or the code, and it does what you asked.
  3. Three numbers ticked. Someone traced three figures, including the largest, back to the source.
  4. Every number has a source. Anything the tool cannot point to in the data is removed.
  5. Periods and signs checked. Column headings, dates and debit/credit conventions match the source.
  6. A person signs off. The reviewer's name goes on the schedule, not the tool's.

Prompts that reduce mistakes

Anthropic's guidance on reducing hallucinations recommends giving the model explicit permission to say it does not know, asking it to cite the source for each claim and retract any claim it cannot support, and running the same prompt more than once to look for inconsistencies. Those techniques translate directly to numbers work.

Prompt
Use Python or spreadsheet formulas for every calculation; do not do arithmetic in your reply text. Before you answer, tell me how many rows you read from the file and the grand total of the amount column, so I can check you used all of it. For every number in your answer, give the column and row range it came from. If the data does not support a number, say "not in the data" instead of estimating. Treat negative numbers as credits.
Prompt
Check the attached summary against the attached source file. Recalculate every total with code, list any figure in the summary that does not match the source, and list any figure that has no source at all. Do not fix anything; only report the differences.

Where this breaks

Where this breaks

Correct code, wrong question. Code makes arithmetic reliable, not judgment. If the tool filtered on the wrong department or period, the code will calculate the wrong thing perfectly. Read the method, not only the result.

No full guarantee. Anthropic's own guidance says these techniques reduce made-up answers but do not eliminate them, and that critical information should always be validated. Treat every AI-prepared number as a draft until a person has run the checklist.

Sensitive files. Payroll, customer and employee data should only go into tools your organization has approved, on a business plan or inside the system of record.

Free playbook

The CFO's AI Adoption Playbook

A phased rollout plan for AI in finance: what to automate first, what to wait on, and how to measure the return.

Last checked 23 November 2026 against Anthropic and OpenAI documentation. This is an independent guide, and no vendor reviewed or paid for it.

Sources: Anthropic, "Reduce hallucinations", Claude documentation; OpenAI, "Data analysis with ChatGPT", OpenAI Help Center. Both checked 23 November 2026.

Related Articles