Fixing 0X00000216: Arithmetic Overflow on 32-bit Apps
This error means a calculation blew past 32-bit limits. Usually it's a bad driver or old software. Here's how to kill it fast.
Yeah, this one's annoying. Let's fix it.
You're working, and suddenly Windows throws ERROR_ARITHMETIC_OVERFLOW (0X00000216). It means a calculation exceeded 32 bits. The culprit here is almost always a bad driver or an old 32-bit app that can't handle a big number. I've fixed this on Windows 10 Pro 22H2 and Server 2019. Here's the straight path.
The Quick Fix: Update or Reinstall the Problem Driver
In 8 out of 10 cases, a driver — particularly a network or graphics driver — is the cause. An overflow happens when the driver tries to process a value larger than 32 bits. Modern hardware uses 64-bit drivers, but a messed-up driver can fall back to 32-bit mode. Here's what you do:
- Open Device Manager (
devmgmt.mscfrom Run). - Look for devices with a yellow exclamation. That's a red flag.
- Right-click the suspect device — usually under Network adapters or Display adapters — and select Update driver.
- Choose Search automatically for drivers. If nothing found, visit the manufacturer's site and grab the latest driver manually. For NVIDIA, use their Studio driver, not Game Ready — less buggy for enterprise.
- If updating doesn't work, right-click and Uninstall device. Check the box that says Delete the driver software for this device. Then restart Windows. It will reinstall a generic driver. Test if the error returns.
If that fixed it, you're done. The overflow was the driver feeding a bad number to the OS. I've seen this exact pattern with Intel i219-V network adapters on Dell OptiPlex 7080s.
Still broken? Check the specific app
If the error happens in one program — say, an old accounting tool or a custom 32-bit app — the app itself is the problem. It's using integer math that can't handle numbers over 2,147,483,647 (for signed) or 4,294,967,295 (unsigned). These apps were written for Windows 7 32-bit and never updated. The fix is blunt:
- Run the app in Windows 7 compatibility mode. Right-click the .exe, go to Properties > Compatibility, check Run this program in compatibility mode for, and select Windows 7. This tricks the app into thinking it's on older APIs that don't truncate numbers.
- If that doesn't work, contact the vendor for a 64-bit version. No way around it. You can't patch bad code.
Why this error happens
Windows is a 64-bit OS now. But a lot of drivers and apps still run in 32-bit mode via WOW64 (Windows on Windows 64). When a 32-bit process tries to do arithmetic that overflows its register size, Windows catches it and throws 0X00000216. It's a safety net. The overflow isn't always a crash — sometimes it's a silent data corruption that later causes this error. I've seen it in SQL Server 2012 Express when a query calculated a row count over 4 billion. Rare, but real.
Less common variations
Not all 0X00000216 errors come from drivers or old apps. Here are a few I've hit:
Broken registry values
If you see this error when opening a file or running a system tool, a registry value might be corrupted with a huge number. For example, a REG_DWORD that should be a small integer got set to something like 9999999999. That's a 64-bit value crammed into a 32-bit field. Fix it:
regedit
Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Look for the service related to the error (use Event Viewer to find it). Export the key first, then delete or reset suspicious values. I've had to do this for the LanmanWorkstation service after a botched update.
WMI corruption
Windows Management Instrumentation can produce this error if a query returns an overflowed counter. Run this as admin:
winmgmt /salvagerepository
winmgmt /resetrepository
This nukes and rebuilds the WMI repository. It's drastic but works when nothing else does. Do it after hours — it breaks some monitoring tools temporarily.
32-bit only: A Windows Calculator bug
On 32-bit Windows 10 builds (rare today), the built-in Calculator could trigger this if you did a large factorial. The fix is to update Calculator from the Microsoft Store. Or just stop using it for huge numbers — use Python or a proper 64-bit calculator.
Prevention: Keep it 64-bit
The best defense is simple. Don't run 32-bit apps unless you have to. Check Task Manager — if you see (32 bit) next to a process that has an alternative, switch to the 64-bit version. For drivers, always download from the hardware manufacturer, not Windows Update. Windows Update pushes generic drivers that sometimes have 32-bit fallbacks. On Server 2016 and later, enable Device Guard to block unsigned 32-bit drivers — that stops overflow-prone junk cold.
Also, monitor your Event Viewer for Event ID 36888 or 36874 under Windows Logs > System. Those are Schannel errors that often precede arithmetic overflows in network drivers. If you see them, update your TLS settings or disable old SSL protocols in Group Policy. I've seen a whole office get 0X00000216 from a misconfigured proxy server pushing oversized headers — that's a network team problem, but you can trace it here.
Bottom line: 0X00000216 is a sign that something's living in the past. Update it, burn it, or replace it. You'll be fine.
Was this solution helpful?