Factory overhead includes all indirect costs of production that are not directly tied to a product. An example is the cost of electricity to run machinery in a factory, which supports production but isn’t directly part of any specific product.