×

Why LLMs Are Actually Pretty Bad at Math


Why LLMs Are Actually Pretty Bad at Math


1782417985a9fee0d429c6789de016d7326d5bc84d3c48e7f4.jpegwww.kaboompics.com on Pexels

Large language models can write essays, summarize legal clauses, explain ancient history, draft emails, and produce code that looks impressively official. Then you ask one to multiply two awkward numbers, and suddenly the machine that sounded like a professor starts behaving like it left its calculator in another jacket. That contrast can feel confusing, especially when the answer arrives with absolute confidence. The problem isn't that LLMs don't know anything about math; it's that math asks for a kind of precision that language models weren't originally built to guarantee.

An LLM is trained to predict patterns in text, not to manipulate numbers the way a calculator or proof assistant does. It can learn mathematical language, common procedures, and familiar examples, but it may still stumble when the problem requires exact arithmetic, careful symbolic manipulation, or a long chain of dependable steps. Newer reasoning models are much better than older chatbots, yet research continues to find failures in arithmetic, planning, spatial reasoning, and generalization. In other words, the model may sound like it understands the math, but sounding right isn't the same thing as being right.

They Predict Text Better Than They Compute

LLMs work by predicting the next likely tokens based on patterns learned from enormous amounts of text. That makes them very good at producing explanations that resemble the ones humans write. A math solution, however, is not just a style of writing; it's a sequence of operations where one wrong digit can ruin everything. The model can produce the shape of a solution while still mishandling the underlying calculation.

Numbers are also awkward objects for language models. In ordinary writing, “cat,” “kitten,” and “feline” have relationships that appear through usage, context, and meaning. Numbers require exact magnitude, place value, and operation rules, which don't always fit neatly into token prediction. Recent research on numerical benchmarks has found that even advanced LLMs can show persistent weaknesses in basic numerical abilities such as arithmetic, comparison, retrieval, and reasoning over noisy contexts. 

This is why an LLM can explain multiplication beautifully and still get a specific multiplication problem wrong. It has seen countless examples of multiplication explanations, but that doesn't automatically give it a reliable internal calculator. Some models can approximate patterns well enough for easy cases, especially familiar ones. Once the numbers grow larger or appear inside word problems, the error rate can climb in ways that may seem strange.

Word Problems Expose the Weak Spots

Word problems are especially tricky because they combine language comprehension with mathematical structure. The model has to decide which details matter, translate them into operations, keep track of units, and avoid inventing assumptions. That's a lot to ask from a system whose core talent is fluent pattern completion. If it makes one small interpretive mistake early, the rest of the answer may march confidently in the wrong direction.

Researchers have found that LLM math performance often drops when arithmetic is embedded inside broader reasoning tasks. One 2025 study using GSM-Ranges found that models could do well on standalone arithmetic, yet performed much worse when the same kinds of computations appeared inside word problems with larger or shifted numerical ranges. The authors also reported that logical error rates rose as numerical complexity increased. That suggests the issue isn't just weak calculator skills; it's also fragile reasoning under unfamiliar conditions.

Confidence Makes the Mistakes More Dangerous

178241801030efb476e44630144d1cf612eb2d2cad9f5c00ca.jpgLevart_Photographer on Unsplash

The most annoying part is that LLMs can be wrong with excellent manners. A human doing math might hesitate, cross something out, or say, “Wait, that seems off.” An LLM can produce a clean, step-by-step explanation that hides the moment where the logic broke. What's worse, when you point out to it that it's wrong, it might confidently stand by its incorrect answer or try again and give you a different wrong conclusion.

Chain-of-thought style reasoning helps in many cases, but it's not magic. Longer reasoning can give a model more room to break down a problem, yet it can also create more opportunities for drifting, overexplaining, or reinforcing a bad assumption. Recent work has even found that models can produce correct answers through flawed logic or fail on basic reasoning despite verbose explanations. More words don't automatically mean more truth.

The practical solution isn't to ban LLMs from math altogether. They can be helpful for explaining concepts, outlining approaches, checking units, generating practice problems, or showing how to think about a topic. For exact arithmetic, formal proofs, financial calculations, engineering work, or anything high-stakes, they should call tools, run code, or be checked by a reliable system. Treat the LLM like a bright tutor with a suspicious mental calculator: useful, articulate, overconfident, and still very much in need of verification.