operations

We gave Claude Code 100 numbers to add up

John Dwyer 2 min read

We came across a Reddit post from u/stony-breadwinner about Claude getting long financial calculations wrong. The concern was fair. A total can look believable and still be hundreds of dollars out.

Their suggested test was simple: give Claude 100 values and check the answer against a spreadsheet SUM. In the same thread, u/Strong-Archer-7708 tried Opus 4.6 five times and reported five wrong results.

We were curious, so we repeated it on 18 August 2026 with current models in Claude Code. The same 100 dollar amounts went into fresh chats. We checked the correct total, $50,431.54, separately using exact decimal code.

Fable 5 in Claude Code beside the spreadsheet of 100 currency values, reporting a total of $50,431.54
Fable 5 chose Python’s decimal.Decimal, ran one shell command and returned $50,431.54 in 16 seconds.
Opus 5 in Claude Code beside the spreadsheet, reporting $50,431.54 for 100 amounts and a $504.32 average
Opus 5 chose Python’s decimal.Decimal, ran one shell command and returned $50,431.54 in 24 seconds.
Sonnet 5 in Claude Code beside the spreadsheet of 100 values, reporting a sum of $50,431.54
Sonnet 5 used Python floats and returned $50,431.54 in 12 seconds. That worked here, though exact decimals are safer for currency.
Haiku 4.5 in Claude Code beside the spreadsheet, displaying the result $50,431.54
Haiku 4.5 answered without tools and returned $50,431.54 in 1 minute 1 second. A fresh repeat also matched.

It’s a small test, and that’s all we’d claim for it. The useful bit was seeing three models recognise that code was the safer way to do the calculation. Haiku getting it right by itself was interesting too.

One run also reminded us how easily the input can go wrong: only 97 values made it into that chat, so we left it out.

For financial work, we’d still have Xero, a spreadsheet or exact code produce the official number. Claude can help query and explain the result, but the calculation should stay visible enough to check.

Talk to us

Book your discovery call

Pick a time that suits you and we will have a straight conversation about where your business is at and whether we can help. No obligation, no pitch.

  • No obligation A straight chat about where your business is at. No pitch deck, no pressure to sign anything.
  • Fifteen focused minutes We keep it tight and respect your time, so you get value even from a short call.
  • Clear next steps You leave with at least one practical idea you can act on, whether or not we work together.

Your consultation will be with

John Dwyer, Smashed Avo John Dwyer Fractional Digital Strategist

Prefer to contact us directly?

Call, email or use the contact page.