The formula for the cost of revenue is ... In addition, companies may incur costs while products are under a warranty period. These costs may be considered a cost of revenue because customers ...