You ask ChatGPT to calculate an estimate or unit economics, and you get a beautiful answer with a table and a total. You recheck on a calculator — and it's off by 15–20%. Sound familiar? This isn't a bug but a fundamental property of language models: they predict the next token, not solve equations. This article provides a working protocol for determining where ChatGPT can be trusted, how to recheck numbers with Excel formulas and a Python script, and how to phrase requests to get a verifiable result rather than convincing prose.
Where exactly ChatGPT's math breaks down
ChatGPT (and any LLM) does not perform arithmetic operations the way a calculator does. It generates text that is statistically similar to the correct answer. For simple examples like "2+2" or "what is 15% of 200," the model has seen thousands of such pairs in training data and produces the correct answer from memory. But as soon as the task becomes non-trivial — multi-step calculations, cumulative sums, compound interest — the probability of error rises sharply.
Typical risk areas:
- Multi-step calculations. If the chain has more than 3–4 arithmetic operations, the model may "lose" an intermediate result or quietly round it in its favor.
- Large numbers and precision. ChatGPT struggles with long numbers, especially when precision to the cent must be preserved.
- Cell and range references. The model does not "see" your Excel spreadsheet if you simply describe it in words. It may invent non-existent rows or mix up columns.
- Units of measurement and currency. Dollars and euros, pieces and kilograms — the model may confuse the scale.
At the same time, there are tasks where ChatGPT is reliable: explaining a formula, writing a script for calculation, proposing a table structure, checking calculation logic against business rules. It's important to separate: the model is not a calculator but a translator from human language to the language of formulas and code. More on the topic: “Writing and Editing: How a Fact-Checking Workflow Saves Your Reputation and Cuts Revisions”.
How to check ChatGPT's answer: three levels of control
Verification of calculations should not be chaotic. Divide it into three levels depending on the cost of an error.
Level 1: quick plausibility check
Suitable for rough calculations where a wrong figure will not lead to financial losses. Ask yourself three questions: More on the topic: “Prompts for Accounting and Finance: How LLMs Close the Month Without Excel Hell”.
- Does the order of magnitude make sense? If you asked to calculate monthly revenue for a small online store and got a billion — something is wrong.
- Are there negative values where they cannot be? A negative price, a negative payback period — a clear sign of error.
- Does the total match the sum of the parts? Ask the model to show intermediate steps and check that the sum of the components equals the total.
This level does not guarantee correctness but filters out gross blunders.
Level 2: recalculation in Excel
If the answer will be used in a report or estimate, transfer the calculation to Excel. Not because Excel is smarter, but because formulas are transparent and reproducible. Here is a minimal set of techniques. More on the topic: “Excel on Autopilot: 12 Prompts That Turn an LLM Into Your Spreadsheet Analyst — From Pivot Tables and Formulas to Cleaning Dirty Data”.
Technique 1: break a complex formula into steps. Instead of one cell with a cumbersome expression, create a chain: one cell for an intermediate total, another for the next step. This way you can see at which stage the discrepancy occurs.
Technique 2: use built-in checking functions. For example, SUM with a selected range will show whether the total matches. The IF function helps catch anomalies: =IF(A2<0,"Error: negative value",A2). Conditional formatting will highlight cells outside the expected range.
Technique 3: cross-check with an alternative method. If ChatGPT suggested calculating compound interest using the formula =A2*(1+B2)^C2, verify the same result using the FV (future value) function or by step-by-step interest accrual over periods. Agreement between two methods is a good sign.
Technique 4: ask ChatGPT for a formula, not an answer. Instead of "calculate the NPV of the project for me," ask: "Write an Excel formula to calculate NPV if cash flows are in range B2:B10 and the discount rate is in cell B1." You will paste the resulting formula yourself and see the result in the cell — this is no longer text but a calculation. More on the topic: “Excel Formulas or Apps Script? How to Choose Your LLM Prompt Stack for Spreadsheet Data Analysis”.
Level 3: Python script for repeatable calculations
When a calculation needs to be repeated regularly (monthly report, recalculating estimates with changing prices), Excel becomes inconvenient. Here Python comes to the rescue. ChatGPT writes code excellently — but there are pitfalls here too. More on the topic: “Your Excel Chart Is Not an Analysis: LLM Prompts That Hunt Anomalies Before You Draw Anything”.
Step 1. Ask for code, not a result. Request: "Write a Python function that takes a list of amounts and a VAT rate, returns the amount including VAT and the VAT amount. Use decimal for precision." The model will generate a script.
Step 2. Test the code on a simple example. Plug in known numbers: for example, an amount of $1,000, a rate of 20% — VAT should be $200, total $1,200. If the script gives a different result, there is an error in the code.
Step 3. Run on real data. Make sure the script handles edge cases: zero amounts, negative values (if they are allowed), empty cells.
Step 4. Compare with an independent source. If possible, recalculate the same data in Excel or manually on a small sample. A discrepancy is a signal to recheck the logic.
Example of a simple script for checking VAT calculation:
from decimal import Decimal, ROUND_HALF_UP
def calculate_vat(amount, rate):
amount = Decimal(str(amount))
rate = Decimal(str(rate))
vat = (amount * rate).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
total = amount + vat
return vat, total
# Test
vat, total = calculate_vat(1000, 0.20)
print(f'VAT: {vat}, Total: {total}') # Expected: VAT: 200.00, Total: 1200.00
This approach provides reproducibility: you can always rerun the script and get the same result. ChatGPT, when asked again, may produce a different number.
How to phrase a request to get a verifiable result
The problem is not only that the model makes mistakes but also that it does not show how it calculated. A good request should force it to reveal intermediate steps.
Bad request: "Calculate an estimate for renovating a 100 sq.m office." — the model will invent prices that have nothing to do with your reality.
Good request: "I have a list of materials with prices (I'll provide below). Write an Excel formula that multiplies quantity by price and sums the totals. Don't calculate yourself, just give the formula." Or: "Here is data in CSV format. Write a Python script that calculates the total amount with a 5% discount for items over $100. Output intermediate sums for each item." More on the topic: “Spreadsheets Don't Lie, They Just Return #N/A: How to Make an LLM Your Formula, Pivot and Apps Script Co-Pilot”.
Key elements of a verifiable request:
- Explicitly separate roles: "you write the formula/code, I calculate."
- Provide source data in a structured form — table, CSV, JSON. Don't describe in words "about 50 pieces at $3 each."
- Ask to show steps: "output intermediate calculations."
- Specify the output format: "result as a table with columns: item, quantity, price, amount."
- Ask for verification: "check that the sum of all rows equals the total."
Where trust ends: limits of applicability
Even with verification, there are tasks where using ChatGPT for calculations is a bad idea.
Financial reporting and audit. Here any error is fraught with fines and reputational loss. Use ChatGPT only to generate formulas and scripts, but never to obtain ready numbers.
Legal calculations. Penalties, statutory interest, tax penalties — formulas must be taken from regulations, not from the model's head. Verification in Excel or Python is mandatory, but even it does not guarantee that the formula complies with the law.
High-precision calculations. If precision to 4+ decimal places is needed (scientific calculations, engineering tasks), use specialized libraries (numpy, scipy) and do not trust intermediate calculations to the model.
On the other hand, there are areas where ChatGPT is almost indispensable:
- Rapid prototyping. When you need to sketch the structure of a calculation to refine later.
- Explaining formulas. The model is good at breaking down complex formulas into components.
- Generating code for non-standard tasks. For example, parsing logs and calculating metrics.
- Checking logic. "Did I forget to account for inflation?" — the model can point out a missed factor.
Step-by-step verification protocol: from request to the number in the report
Let's put everything together as a sequence of actions.
-
Determine the cost of an error. If the error will lead to losses of more than an hour of your time or to money — proceed to step 2. If it's a back-of-the-envelope estimate — you can limit yourself to a plausibility check.
-
Phrase the request to get a formula or code, not a number. Use the structure: data + role + steps + format + verification.
-
Transfer the formula to Excel or the script to Python. Make sure all cell and range references are correct.
-
Test on a test example with a known answer. Plug in simple numbers where the result is obvious.
-
Run on real data. Compare the total with an independent estimate (another method, manual recalculation on a sample).
-
Document the calculation. Save the file with formulas or the script with comments. This will allow rechecking in a month and explaining to colleagues.
-
If there is a discrepancy — return to step 2. Perhaps the request was unclear and the model understood it differently.
This protocol takes more time than simply copying ChatGPT's answer. But it saves you from errors that could cost more.
What to do if ChatGPT has already produced a wrong number
The situation is unpleasant but fixable. First, don't panic: calculation errors happen to everyone. First, determine the scale: if the wrong number has already gone into a report, notify the recipients and provide a corrected version with an explanation. Second, conduct a debrief: at which step did the model make a mistake? This will help improve the request in the future. More on the topic: “AI Detectors Get It Wrong: 7 Signs of AI Text That No Detection Service Can Replace”.
And most importantly — don't try to "push" the model with repeated requests like "come on, calculate more carefully." If it made an arithmetic error, a repeated request may give another wrong answer. Switch to Excel or Python.
Tools that help automate verification
In 2026, tools have emerged that partially automate calculation verification. For example, some versions of ChatGPT with data analysis mode enabled execute Python code within the session and show results. This reduces the risk of arithmetic errors but does not eliminate the problem entirely: the model may misinterpret data or choose the wrong method. More on the topic: “AI for Professionals: Automating Your Own Work End to End — An Advanced Program for Professionals Who Want to Stop "Trying ChatGPT" and Start Saving Hours”.
Another approach is to use specialized platforms that combine LLMs with a computational engine. For example, ASI Biont supports connection to Excel and Python via API — learn more at asibiont.com. This allows sending requests to the model and immediately verifying results in a familiar environment.
However, even with automation, remember: responsibility for the numbers in the report lies with you, not the model. Verification remains a mandatory step.
Short checklist before trusting a number from ChatGPT
- [ ] I understand that the model does not calculate but generates text.
- [ ] I requested a formula or code, not a ready answer.
- [ ] I tested the formula/code on a test example.
- [ ] I compared the result with an independent source (manual recalculation, another method).
- [ ] I saved the calculation in a reproducible form (Excel file, script).
- [ ] I know how to explain to a colleague where each number came from.
If at least one item is not completed — do not use the result in responsible work.
ChatGPT is a powerful tool for generating ideas, explanations, and code. But it does not replace a calculator and does not guarantee arithmetic accuracy. Treat it as a smart assistant that suggests how to calculate, but entrust the final calculation to Excel or Python. Then the numbers in your reports will add up, and verification time will decrease.