How to fix a divide or divide by zero error
The divide error messages are caused when the computer or software attempts run a process that attempts to perform a mathematical division by zero, which is an illegal operation. This error message could also be caused by a computer or software limitation or conflict with computer memory.
If you or the program you're using performs a calculation in any program and experience a divide error, ensure that the calculation being performed is possible. Some programs are not capable of verifying the accuracy of a calculation and may perform an illegal instruction.
Hardware or software incompatibility
This issue can occur if a program is incompatible with hardware or software on your computer. Make sure all computer software installed is up-to-date and compatible with the operating system and hardware inside and connected to the computer.
If you are encountering a divide error while using Windows, make sure you are running the latest drivers and software for all component hardware devices. Verify the video card, sound card, network card, and modem drivers on the computer.
You can find a listing of computer drivers on our drivers page.
Also, verify no other program is running in the background that could be causing your problem by End Tasking all background programs and TSRs.
External cache or 2nd level cache
If you are encountering the divide error in an older software program or game, it can be caused by compatibility issues with external cache or 2nd level cache. Temporarily disabling this feature in CMOS setup may resolve your issue.
Operating system issue
If you continue to experience divide errors and tried all of the above recommendations, make sure it's not a problem with the operating system by reinstalling the operating system.
Finally, if none of the above recommendations resolve or help to determine the cause of your issue, the computer may have a hardware issue. When a divide error is encountered because of hardware, it's most often caused by an issue with the computer processor (CPU).
Error with autoexec.bat or config.sys
Users who are running Microsoft Windows 3.x can temporarily remark or remove any additional lines that may not be required in the autoexec.bat and config.sys.
Users who are running Microsoft Windows 95 or Windows 98, we recommend they temporarily rename the autoexec.bat and config.sys to ensure that these files are not causing the issue. To do this, follow the instructions below:
- Click Start, Shutdown, and then Restart the computer in an MS-DOS mode.
- Once at the MS-DOS prompt, type:
cd\ <press Enter>
ren autoexec.bat autoexec.ch <press Enter>
ren config.sys config.ch <press Enter>
- Once the files are renamed, reboot the computer.
Additional help and information with the autoexec.bat and config.sys is on our autoexec.bat and config.sys page.
If you can't get to an MS-DOS prompt or Windows to rename or edit the files, boot the computer to an MS-DOS mode only.