An overflow error occurs when a calculation or operation results in a value that is too large to be represented with the available number of bits or memory allocation. This can happen in programming languages, mathematical calculations, or computer systems.