Skip to content
Technology14 min read

What is a checksum error? What CRC errors mean and how to fix each type

A checksum error means data changed between when it was checked and when it was used. Here is what that tells you at startup, in a download, in a ZIP file, on a drive and on a network, with the fix for each and real error output from files we damaged on purpose.

By

Editor

Published

Cover image for “Checksum errors, explained”: What they mean and how to fix each one, illustrated with two mismatched checksum values and a red cross.

The short answer

A checksum error means a piece of data no longer matches the check value calculated when it was known to be good, so something changed it: a broken download, a damaged file, a failing drive, a bad cable or lost BIOS settings. The fix depends on where you see it: re-download the file, test the drive, swap the cable or reset the BIOS.

"Checksum error" is one of the least helpful messages a computer can show. It can appear on a black screen before Windows loads, in a download manager, while you unzip a file, when you open a folder on an external drive, or in a network tool. The words are the same, but the cause and the fix are completely different in each place.

This guide explains what a checksum error actually means, then works through each place you are likely to see one, with the fix for each. To show what the errors look like, we damaged files on purpose and recorded the real output. You will also see why some checksums only catch accidents, not tampering.

What is a checksum error?

A checksum error means data changed after it was checked. A checksum is a short value calculated from a block of data, such as a file, a disk sector or a network frame. The sender, or the program that saved the data, calculates it and stores it alongside the data. Later, the receiver recalculates it from the data it actually has. If the two values match, the data is very likely intact. If they differ, you get a checksum error.

Wireshark's documentation puts the purpose plainly: checksums ensure the integrity of data (opens in a new tab) for transmission or storage, because errors such as flipped, missing or duplicated bits can make received data differ from what was sent. The check does not say what changed or why. It only says that the data is no longer what it was.

How a checksum check works: the sender calculates a check value, it travels with the data, the receiver recalculates it and compares the two. A mismatch is a checksum error, seen at startup, after downloads, in ZIP files, on drives and on networks.
How a checksum check works, and the five places a mismatch usually shows up.

What is a CRC error?

A CRC error is a checksum error produced by a cyclic redundancy check, one of the most common ways of calculating a check value. The IEEE describes a CRC as a short, fixed-length value computed from a block of data (opens in a new tab) and attached before the data is sent or stored, so the receiver can recalculate it and spot corruption. CRCs are built on polynomial arithmetic, which makes them very good at catching the burst errors that real cables and disks produce.

You will meet CRCs in more places than you might expect. The IEEE lists Ethernet and Wi-Fi frames, sectors on hard drives, SSDs and optical discs, the CAN bus in cars and machines, and ZIP, gzip and PNG files, which use CRC-32. Cyclic redundancy checking itself dates back to 1961, when, according to IONOS (opens in a new tab), mathematician William Wesley Peterson developed it to reduce errors in transmitting and storing data. So "CRC failed", "bad CRC" and "Data error (cyclic redundancy check)" are all checksum errors under a more specific name.

Where do checksum errors appear?

Find the place you saw the message, then jump to that section.

Checksum errors by where they appear
Where you see itTypical messageWhat it usually meansFirst fix
At startup, before Windows or Linux loadsCMOS checksum error - defaults loaded; CMOS checksum badBIOS settings were lost or corrupted, often a weak coin-cell batteryLoad BIOS defaults, set the time, save; replace the battery if it returns
After downloading a fileChecksum mismatch; hash does not match; FAILEDThe download is incomplete or corrupted, or not the file the publisher releasedDownload it again from the official source and recheck
Opening or extracting a ZIP or RAR fileCRC failed; bad CRC; checksum error in fileOne or more files in the archive are damagedRe-download the archive; extract the files that pass
Copying or opening files on a driveData error (cyclic redundancy check)The drive could not read data back correctly: bad sectors, a loose cable or a failing driveBack up what you can, then check the drive
Network switch, router or packet captureCRC errors, input errors, FCS errors; checksum incorrectFrames are being damaged on a link, or the capture tool is misreading offloaded packetsSwap the cable and port; check offloading before you trust the capture

CMOS checksum error at startup: what it means and how to fix it

Your PC keeps its firmware settings, such as boot order, date and time and fan settings, in a small memory area traditionally called CMOS. On many PCs a coin-cell battery on the motherboard keeps those settings alive while the PC is unplugged. At every start, the firmware checks the stored settings against a checksum. If they do not match, it reports a CMOS checksum error and loads safe default settings so the PC can still start.

Dell says its desktop CMOS battery is a 3V CR2032 coin cell that usually lasts around 2 to 3 years (opens in a new tab), depending on use and environment. The most common signs that it is failing are a wrong or slow clock in the BIOS, settings that are lost when the computer is powered off, and prompts to set the date and time at startup. A CMOS checksum error that comes back every time the PC has been unplugged points to the same cause.

How to fix a CMOS checksum error

  1. Restart once. A single error after a power cut or a forced shutdown can be a one-off. If the PC starts normally next time, you are done.
  2. Load the defaults and save. Enter the BIOS setup (often F2 or Delete), choose the option to load defaults, set the correct date and time, then save and exit. Dell's guide to resetting the BIOS (opens in a new tab) lists Load Defaults or Restore Settings, with F9 or Alt+F on some models, followed by Save and Exit.
  3. If it started after a BIOS update, load the factory defaults. Intel's support article on a CMOS checksum error after a BIOS update (opens in a new tab) gives exactly that fix: enter BIOS Setup and press F9.
  4. If it returns after the PC has been unplugged, replace the coin-cell battery. Shut down, unplug the power cable, ground yourself, and use a plastic tool rather than metal to release the old cell. Fit a new battery of the same type, usually a CR2032; Dell says not to reuse a used one. Then set the date, time and any custom settings again, because removing the battery erases them.
  5. If the message names the firmware itself, such as "BIOS ROM checksum error" or a "BIOS corrupted" screen, the firmware image is damaged rather than the settings. Dell recommends its BIOS Recovery feature in that case. Other makers have their own recovery methods, so look up your exact model before you try anything.

Checksum mismatch after a download

Many software publishers list a checksum, usually a SHA-256 hash, next to each download. You calculate the hash of the file you received and compare. If they differ, the file is not the one the publisher released: the download was cut short, damaged on the way or by your storage, or, in the worst case, swapped for something else.

How to check a file's checksum

Checking a download's SHA-256 checksum on Windows, macOS and Linux
# Windows (PowerShell). SHA-256 is the default.
Get-FileHash .\ubuntu.iso

# macOS
shasum -a 256 ubuntu.iso

# Linux: check every file listed in a SHA256SUMS file
sha256sum -c SHA256SUMS

On Windows, Microsoft's Get-FileHash documentation (opens in a new tab) confirms it uses SHA-256 unless you pick another algorithm with -Algorithm, and it also offers SHA-1, SHA-384, SHA-512 and MD5. Upper or lower case does not matter when you compare: we tested a hash pasted in capitals against sha256sum -c and it still matched.

What a failed check looks like

We made a 1 MB test file, recorded its SHA-256 in a SHA256SUMS file, then damaged it two ways: once by flipping a single bit, the smallest possible change, and once by cutting it short, like an interrupted download. Both failures look identical:

Real output from GNU coreutils 9.4 on Linux; the command also returns exit code 1 on failure
$ sha256sum -c SHA256SUMS
report.pdf: OK

# after flipping one bit, or truncating the file
$ sha256sum -c SHA256SUMS
report.pdf: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match

The fix is to download the file again, preferably from the publisher's own site rather than a mirror you found elsewhere, and check it again. If a fresh copy also fails, try another network or browser, and check your drive, because a disk that corrupts data on write can produce the same error.

For anything you will install, such as an operating system image, go one step further. Ubuntu's own guide to verifying a download (opens in a new tab) separates the two jobs: the SHA-256 check confirms the file is intact, while a GPG signature check on the checksum list confirms that list really came from Ubuntu. If an attacker can replace the download, they can often replace a checksum on the same page too.

CRC failed or bad CRC when you extract a ZIP file

ZIP archives store a CRC-32 for every file inside them. When you extract or test the archive, the tool recalculates each one. To see the error for ourselves, we built a ZIP with two files and damaged one byte in the middle of the second:

Real output from UnZip 6.00 on Linux after we corrupted one byte
$ unzip -t photos-damaged.zip
Archive:  photos-damaged.zip
    testing: photo1.txt               OK
    testing: good.pdf                 bad CRC a7e4140b  (should be 93b60f22)
At least one error was detected in photos-damaged.zip.

Two things stood out. First, the error is per file: the undamaged photo tested fine, so one bad file does not spoil the whole archive. Second, when we went ahead and extracted it, UnZip printed the same bad CRC warning but still wrote the damaged PDF to disk. An extracted file is not automatically a good file, so read the warnings rather than assuming the extraction worked.

  1. Test before you trust. Use your archive tool's Test option, or unzip -t as above, to see which files fail.
  2. Download the archive again if it came from the internet. It is the simplest fix, and the right first step.
  3. Update or switch your archive tool. IONOS suggests updating or reinstalling the program, or trying another, and using WinRAR's Repair archive feature for RAR files.
  4. Keep what passes. If the source is gone, extract the files that test OK and replace or recreate the damaged ones.
  5. If archives you create yourself keep failing, suspect the drive or the memory of the PC that made them.

"Data error (cyclic redundancy check)" on a hard drive, SSD or USB drive

This Windows message means the drive returned data that failed its own error check when Windows tried to read it. Storage devices keep check values for every sector, so the cause is usually bad sectors, a loose or failing cable, a worn USB stick or SD card, or a drive that is starting to fail. Unlike the other errors in this guide, this one can mean you are about to lose data.

  1. Reseat or replace the connection. For an external drive, try another cable and another USB port, ideally directly on the PC rather than through a hub. For a desktop drive, reseat its data and power cables.
  2. Copy off important files to another drive or cloud storage. Copy the most important folders first.
  3. Scan without changing anything. Open Command Prompt as administrator and run chkdsk /scan on an NTFS drive. Microsoft describes this as a scan for problems that makes no changes.
  4. Then repair. Run chkdsk X: /r, replacing X with the drive letter. In Microsoft's chkdsk reference (opens in a new tab), /r locates bad sectors and recovers readable information, and includes everything /f does. The drive must be locked, so for the Windows drive, chkdsk offers to run at the next restart.
  5. If the errors keep coming back, treat the drive as failing. Microsoft's own advice for persistent errors is to verify that the underlying hardware is working correctly. Check the drive with its maker's diagnostic tool and plan to replace it.
Run in Command Prompt as administrator; E: is an example drive letter
chkdsk /scan
chkdsk E: /r

If you are replacing a failing laptop drive, it may be the moment to weigh up the whole machine; our guide on whether to buy a laptop now covers current prices.

CRC errors and checksum errors on a network

Networks check data at several layers. Every Ethernet frame ends with a CRC in a field called the Frame Check Sequence. Cisco's explanation of CRC errors on switches (opens in a new tab) describes the process: the sender calculates the value and places it in the FCS, the receiver repeats the calculation, and a frame that does not match is treated as corrupted and dropped. Above that, IP, UDP and TCP use the simpler Internet checksum defined in RFC 1071 (opens in a new tab), a one's complement sum of 16-bit words.

Rising CRC errors on a port

Cisco says the most common root cause of CRC errors is "a damaged or malfunctioning component of a physical link" between two devices. Its list includes damaged copper, fiber or direct-attach cables, bad transceivers, faulty patch panel ports, switch port faults, a failing network card and an MTU mismatch. Cisco Meraki's CRC troubleshooting guide (opens in a new tab) adds a speed or duplex mismatch and gives a simple order to work through:

  1. Confirm the error count is still increasing, not left over from an old fault.
  2. Move the cable to a different port. If the errors follow the cable, replace the cable, and bypass any patch panel.
  3. If the errors stay with the original port, test that port with another device and cable.
  4. Check that speed and duplex settings match on the switch and the device.
  5. If everything matches and errors continue, try a different device or network card.

"Checksum incorrect" in Wireshark

If you capture traffic on your own computer and Wireshark flags lots of outgoing packets with bad checksums, the network is probably fine. Many network cards calculate checksums themselves, which is called checksum offloading. Wireshark explains that it captures those packets before the hardware fills in the checksum (opens in a new tab), so it sees placeholder values and marks them invalid even though they leave with correct checksums. Recent Wireshark releases turn checksum validation off by default for this reason. Real errors show up on received packets, or in a capture taken from another device on the link.

Why checksums catch accidents but not tampering

Not every checksum protects you against the same things. CRCs and simple sums are designed to catch accidental damage, such as noise on a cable or a weak disk sector, and they do that very well. But they are not secret and not designed to resist someone who changes the data on purpose. To show the difference, we wrote a short Python script that damages a message by accident, then tampers with it deliberately and forces the CRC-32 to match:

checksum_demo.py: accidental damage vs deliberate tampering (tested)
import hashlib
import zlib

def crc32(data):
    return f"{zlib.crc32(data):08x}"

def sha256(data):
    return hashlib.sha256(data).hexdigest()[:16] + "..."

original = b"Pay Alex $100 by Friday."
print("original  CRC-32:", crc32(original), " SHA-256:", sha256(original))

# 1. Accidental damage: flip a single bit, as a bad cable or failing disk might.
damaged = bytearray(original)
damaged[4] ^= 0b00000001
print("1 bit off CRC-32:", crc32(damaged), " SHA-256:", sha256(damaged))

# 2. Deliberate tampering: change the text, then append 4 bytes chosen so
#    the CRC-32 matches the original. This is easy because CRC is linear.
TABLE = []
for i in range(256):
    c = i
    for _ in range(8):
        c = (c >> 1) ^ 0xEDB88320 if c & 1 else c >> 1
    TABLE.append(c)
TOP_BYTE = {TABLE[i] >> 24: i for i in range(256)}

def force_crc32(data, target):
    goal = target ^ 0xFFFFFFFF
    picks = []
    for _ in range(4):  # walk back from the target to find the table entries needed
        j = TOP_BYTE[goal >> 24]
        picks.append(j)
        goal = ((goal ^ TABLE[j]) << 8) & 0xFFFFFFFF
    reg = zlib.crc32(data) ^ 0xFFFFFFFF
    patch = bytearray()
    for j in reversed(picks):  # then walk forward, choosing bytes that hit them
        b = (reg ^ j) & 0xFF
        patch.append(b)
        reg = (reg >> 8) ^ TABLE[(reg ^ b) & 0xFF]
    return data + bytes(patch)

forged = force_crc32(b"Pay Alex $900 by Friday.", zlib.crc32(original))
print("forged    CRC-32:", crc32(forged), " SHA-256:", sha256(forged))
print("CRC-32 match:", crc32(forged) == crc32(original),
      "| SHA-256 match:", sha256(forged) == sha256(original))
Output from Python 3.13
original  CRC-32: 027ef075  SHA-256: 556eec755ed95b91...
1 bit off CRC-32: 6719cb33  SHA-256: 068b1e35b059aea1...
forged    CRC-32: 027ef075  SHA-256: c64ca2d8d3ceee2d...
CRC-32 match: True | SHA-256 match: False

A single flipped bit changes both values completely, so both catch accidents. But after we changed $100 to $900 and appended four carefully chosen bytes, the forged message had exactly the same CRC-32 as the original. Its SHA-256 did not match. That is why software publishers use SHA-256 rather than CRC-32 for downloads, and why Microsoft's documentation warns that MD5 and SHA-1 are no longer considered secure against attack and should only be used for simple change detection.

For a check that also proves who published a file, you need a digital signature on top of the hash, as in Ubuntu's GPG step above. Tampered downloads are one of the ways attackers get malware onto machines; our guide to AI and cybersecurity covers how those threats are changing.

Checksum vs CRC vs hash: what is the difference?

Checksum types compared
TypeExamplesCatches accidental damageResists deliberate tamperingWhere you see it
Simple checksumInternet checksum (RFC 1071), paritySome errorsNoIP, TCP and UDP headers
CRCCRC-32, CRC-16Yes, very wellNoEthernet, Wi-Fi, disks, ZIP and PNG files
Older hashMD5, SHA-1YesNo longerOld download pages, simple change checks
Cryptographic hashSHA-256, SHA-512YesYesSoftware downloads, package managers
Signed hashSHA256SUMS plus a GPG signatureYesYes, and proves who published itOperating system images

How to prevent checksum errors

  • Download from the official source and check the published SHA-256 for anything you will install.
  • Shut down properly and eject external drives before unplugging them, so writes are not cut off halfway.
  • Replace an aging coin-cell battery when the clock starts drifting, before it turns into checksum errors at startup.
  • Use decent cables, and replace any network or USB cable that is kinked, crushed or loose in its socket.
  • Keep backups, so a drive that starts throwing CRC errors is an inconvenience rather than a loss.
  • Watch for repeats. One error after a power cut is usually harmless. The same error again and again points to hardware that needs attention.

The bottom line

A checksum error means data changed between when it was checked and when it was used. At startup, it usually means lost BIOS settings and a tired coin-cell battery. After a download or in a ZIP file, it means a damaged copy, so download it again and check the SHA-256. On a drive, it can mean failing hardware, so back up first and run chkdsk. On a network, look at cables and ports, and do not trust checksum warnings from your own outgoing packets in Wireshark. For more plain-English fixes for your hardware and gadgets, browse our technology guides.

Common questions

What causes a checksum error?

Anything that changes data after its check value was calculated: an interrupted or corrupted download, a damaged archive, bad sectors on a drive, a faulty cable or network port, or BIOS settings lost because the CMOS battery ran down. The error tells you data changed; where you see it tells you which of these is likely.

Is a checksum error serious?

It depends on where it appears. A failed download check is usually fixed by downloading again. A CMOS checksum error that comes back after every shutdown usually means a worn-out coin-cell battery. A "Data error (cyclic redundancy check)" on a drive is the one to take seriously: back up what you can before you run repairs.

What is a CRC error?

A CRC error is a checksum error produced by a cyclic redundancy check, a common type of check value. Drives, ZIP files and Ethernet all use CRCs. You see the error when the CRC recalculated from the data does not match the stored one, which means the data was damaged.

How do I fix a CMOS checksum error?

Load the BIOS defaults, set the date and time, then save and exit. If the error returns after the PC has been unplugged, replace the coin-cell battery on the motherboard, usually a CR2032. If it appears right after a BIOS update, loading defaults is the fix Intel recommends.

What is the difference between a checksum and a hash?

Every hash can work as a checksum, but not every checksum is a secure hash. Simple checksums and CRCs catch accidental damage but are easy to fake on purpose. Cryptographic hashes such as SHA-256 are built so that a tampered file cannot be made to match, which is why software downloads publish them.

Can you recover a file with a checksum error?

Often partly. For a download, get a fresh copy. For an archive, extract the files that pass and replace the damaged one. For a drive, copy off everything that still reads, then run chkdsk with /r. A checksum only detects damage; it cannot repair it.

Sources

  1. Checksums (Wireshark User's Guide), Wireshark
  2. Cyclic Redundancy Check, IEEE Technology Navigator
  3. CRC errors: explanation, causes, and possible solutions, IONOS Digital Guide
  4. How to Replace or Change a CMOS Battery on Your Dell Desktop, Dell
  5. How to Reset Your Dell BIOS or CMOS & Clear NVRAM, Dell
  6. CMOS Checksum Error or Other Problem After BIOS Update for Intel Server Board, Intel
  7. Get-FileHash, Microsoft Learn
  8. How to verify your Ubuntu download, Ubuntu
  9. Troubleshoot data corruption and disk errors, Microsoft Learn
  10. chkdsk, Microsoft Learn
  11. Understand Cyclic Redundancy Check (CRC) Errors on Nexus Switches, Cisco
  12. RFC 1071: Computing the Internet Checksum, IETF
  13. Troubleshooting CRC Errors, Cisco Meraki Documentation

About Marcus E.

Qualified software engineer with 10+ years of experience building payments and machine learning infrastructure

Marcus is a qualified software engineer who spent 10+ years building payment and machine learning infrastructure before joining GeeklyPlug. He writes AI and technology guides, with a focus on models, machine learning and the tools developers use.

troubleshootingdata integritypc hardwarestoragehow-to

Keep reading

More from Technology, then the rest of the archive.