Revenues from biofuels increased 61% from $47,949,000 in the three months ended September 30, 2012 to $77,434,000 in the three months ended September 30, 2013. We continued to experience increased sales quantities in the third quarter of 2013 with the reinstatement of the federal blenders' credit in January 2013 compared to the third quarter of 2012 when the blenders' credit was not available. Also improving the continued demand for biodiesel in the United States for 2013 is the continued government mandated renewable fuel standard for biodiesel. A substantial portion of our biodiesel sold in the three months ended September 30, 2013 and 2012 was to a major refiner in the United States and no assurances can be given that we will continue to sell to this major refiner or, if we do sell, the volume that will be sold or the profit margin that will be realized. We continue to develop our regional fuel business. Revenues from the biofuel segment have also benefitted from our sales of refined petroleum products as a supplier on a common carrier pipeline.
On July 29, 2013, FutureFuel received notice from a chemicals segment customer for the intermediate anode powder that the customer will terminate the contract in accordance with its terms effective August 9, 2014. FutureFuel does not expect additional material to be produced or sold in 2013 or 2014 under that agreement. Termination of this sales contract also may affect the terms of the grant received by FutureFuel from the U.S. Department of Energy related to construction of the equipment utilized to produce the intermediate anode powder. As a result of this notice, FutureFuel assessed the carrying values of its fixed assets and deferred revenue associated with this product and recorded an impairment loss of $17,580,000 for the equipment based on the scrap value method less disposition costs and recorded a reduction of deferred revenue as an element of cost of goods sold in the amount of $16,160,000 in the three months ended September 30, 2013. The net impact of this impairment recorded in cost of goods sold for the three months ended September 30, 2013 was $1,420,000. FutureFuel's customer remains liable for the payment of a minimum take or pay quantity per the terms of the sales agreement through the termination date.