# Why AI Gets Numbers Wrong in PDF Tables

> A correct-looking answer can use the wrong column, the wrong unit or the wrong calculation. Check those separately.

Published 2026-11-26

You ask for the revenue growth in a PDF report. The AI returns a percentage and cites the right page. You check the table and get a different answer.

The error may not be arithmetic. The model could have read a digit incorrectly, selected a regional row instead of the total, missed a unit in the heading or used the wrong year as the denominator.

To check an AI answer from a PDF table, separate four tasks: reading the values, identifying what they represent, selecting the right cells and performing the calculation. A page citation helps locate the evidence, but it does not verify those steps.

## Reading a table means more than recognizing numbers

The number `480` is easy to recognize in a clean document. Its meaning may depend on a heading two rows above it, a unit printed outside the grid and a footnote below it.

A table extraction system therefore needs more than a stream of text. Microsoft's [document-layout documentation](https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/prebuilt/layout?view=doc-intel-4.0.0) describes table structure including header cells and cells spanning multiple rows or columns. Those relationships help establish which label belongs to a value.

Problems can arise when a continuation page omits its header, two columns use similar names, or a footnote changes the basis of comparison. A model can transcribe a figure correctly and still use it incorrectly.

## A worked example with a known answer

The following table is fictional. It is a checking exercise, not a report of errors measured in a particular AI product.

**Revenue, USD thousands**

| Business area | 2025 actual | 2026 actual |
| :--- | :--- | :--- |
| Domestic | 240 | 300 |
| International | 160 | 180 |
| Total | 400 | 480 |

Question: “What was the percentage growth in total revenue from 2025 to 2026?”

The relevant values are 400 and 480, from the total row. The calculation is:

`(480 - 400) / 400 × 100 = 20%`

The increase is 80 thousand dollars, or $80,000. The total for 2026 is $480,000, not $480.

Here are several plausible wrong answers and the different checks they require:

| Hypothetical answer | Likely problem | Check that exposes it |
| :--- | :--- | :--- |
| Revenue grew 25% | The domestic row was used instead of total revenue | Match the row label to the question |
| Revenue grew about 16.7% | The increase was divided by 2026 revenue | Check which period is the base |
| Revenue increased by $80 | The thousands unit was lost | Read the table title and unit note |
| 2026 total revenue was 960 | Component rows and the total were added together | Separate detail rows from summary rows |

None of these mistakes requires the AI to misread a single digit. Asking it to “look more carefully” is less useful than asking it to show the selected row, column, unit and formula.

## Ask for evidence before asking for the calculation

Use two stages. First establish the source values:

> Find the table needed to answer this question. Report the exact row labels, column labels, printed values, units and relevant footnotes. Give the filename and PDF page. Do not calculate yet. If the table or labels are unreadable, say what is missing rather than estimating.

Check that output against the PDF. Then request the calculation:

> Using only these verified values, show the formula and substitute the numbers into it. State the denominator, preserve the units and distinguish an amount change from a percentage change. Keep rounded and unrounded results separate where rounding affects the answer.

This split does not make the model infallible. It makes an incorrect step easier to identify. For important figures, perform the final arithmetic independently in a spreadsheet or calculator rather than asking the same system to certify its own answer.

Research such as [FinQA](https://arxiv.org/abs/2109.00122) treats financial question answering as a numerical-reasoning task over reports, not merely text retrieval. Its existence supports that distinction; it does not establish the accuracy of a current consumer tool on your document.

## Watch for percentages and percentage points

If a margin rises from 16% to 20%, it increases by 4 percentage points. Its relative increase is 25%, because `4 / 16 × 100 = 25`.

Both statements can be mathematically correct, but they answer different questions. An article, board report or budget note can become misleading if the wording does not distinguish them.

Also check whether a column reports a percentage, a decimal ratio or an amount. A printed `0.20` may mean 20% in one table and 0.20 units in another. The heading decides, not the model's preferred interpretation.

## When the problem really is extraction

If the source values themselves are wrong, stop calculating. Inspect the page and the extracted text side by side.

Look for missing minus signs, decimal points mistaken for noise, numbers split across lines and values attached to adjacent rows. In multipage tables, check the rows immediately before and after a page break.

For scans, compare against the visible image, not just its searchable text. A hidden OCR layer can contain an error even when the page looks correct. Re-extracting from the same incorrect text layer may reproduce the same answer.

For text-based tables with clear columns, direct extraction into Excel may be easier to verify than repeated conversational questions. Our [table-to-Excel guide](/blog/get-tables-out-of-a-pdf-into-excel) covers that route.

## Make a small check set for recurring reports

Before using a tool on a recurring reporting task, prepare a handful of questions with answers you have checked manually. Include a direct lookup, a total, a year-on-year calculation, a footnote-dependent answer and a question the report cannot answer.

Record the file version, tool, date, request and result. Count an answer as correct only when both the value and its explanation match the source. Keep “not enough information” as a valid outcome where appropriate.

This is a practical local check, not a scientific benchmark or proof of future reliability. Repeat it when the report layout, source quality or workflow changes.

## Where FynePDF fits

FynePDF's [PDF to Excel tool](/tools/pdf-to-excel) can extract tables, with an AI option for a requested subset. Use it to build a worksheet you can inspect, retaining the headings and units needed for calculation.

The useful endpoint is verified data, not a confident answer. No extraction or AI tool should replace source checking for figures that affect payments, reporting or other consequential decisions.

### Does a correct citation prove the answer is correct?

No. It can point to the right page while the answer uses the wrong row or interpretation. Check the actual cells and any qualifying notes.

### Should I crop out the rest of the page?

Only if you preserve the labels, units, footnotes and other context the question needs. A tightly cropped grid may be easier to read but harder to interpret correctly.

### Can an image-reading model avoid these problems?

It may help with some layouts, but seeing the page does not guarantee correct cell selection or arithmetic. Apply the same checks to the resulting answer.

---

Open this page in a browser: https://fynepdf.com/blog/why-ai-gets-numbers-wrong-pdf-tables

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
