In an effort to make America less dependent on foreign oil, the government mandates the use of biofuels. When a gallon of renewable fuel is created it is assigned a Renewable Identification Number or RIN. In the past year the prices for RINs have spiked and helped put margin pressure on refiners, but this resulted from a number of onetime factors. Don't expect RINs to fall back down to their earlier low prices, but over the next two to three years they do not pose a major risk to the refining industry. 

What Drove The Latest RIN Spike?
Industry estimates state that ethanol RINs exploded from $0.03 to current levels around $0.74. The latest RIN spike was driven by a number of factors. 2012 was a poor year for farmers, temporarily suppressing the corn crop that ethanol refiners need. 

The long term issue affecting the refining industry is the blend wall. The majority of vehicles can only handle 10% ethanol, and the EPA's RIN requirements are about to pass this 10% level. Some say that vehicles produced after 2001 can handle 15% ethanol, but infighting between industries has left E15 in limbo. An AAA survey in late 2012 found that only 12 million of America's 240 million light vehicles are officially rated for E15. 

The reality is that the infrastructure to increase biofuel consumption does not exist, and efforts to resolve the situation require car manufacturers to change their practices. The EPA realizes this, and for a number of reasons it has already cut back its 2013 RIN requirements. The infrastructure constraints related to E15 are out of refiners' control, so do not expect RIN use to substantially grow over the next couple years.

What Does This Mean For Refiners?

VLO Operating Margin Quarterly Chart

VLO Operating Margin Quarterly data by YCharts

Valero (VLO 0.99%) is one of the largest refiners in the U.S. Its second quarter RIN cost increased $78 million year over year. To help balance things out its ethanol operation's operating income grew by $90 million in the same time frame. The refiner is one of the biggest ethanol refiners after it bought plants from the bankrupt VeraSun Energy Corp in 2009.

Valero will enjoy a refining margin boost in 2014 as its takes possession of 5,320 rail cars between Q2, 2014 and Q2, 2015. These cars will help the company buy cheap crude that is landlocked in the middle of North America. 

While Valero has a refining capacity around 3 million barrels per day, Marathon Petroleum (MPC 0.71%) is around half its size with a daily capacity around 1.7 million barrels per day. Marathon's latest 10-Q shows that its RIN cost increased in Q2, 2013 to $65 million from $34 million in Q1, 2012. In the same time period its other income increased $14 million, thanks to increased RIN sales and dividends from pipeline affiliates. 

As previously discussed, hitting the 10% blend wall means that the majority of the RIN pain is over. On the plus side Marathon runs a smaller operation than Valero, making it easier for Marathon to produce more of its own biofuels if it so desires. In the coming years Marathon has a number of positive influences on its margins, as it is in a great position to buy cheap oil sands crude with its recently upgraded Detroit refinery. 

Phillips 66 (PSX 1.14%) was recently spun off from ConocoPhillips, and it has a similar story to Marathon. The company does not want to say exactly how much its RIN bill increased, but rough analyst estimates place it around $248.5 million, while the rise in RIN pricing helped its marketing segment to grow its net income boost by $80 million. Don't expect the company's income to come back instantly, but it is expected to boost its income by growing its export capacity by 80 thousand barrels per day within three years. Refined products like gasoline and diesel fetch higher prices in Europe, and Phillip 66's expanded export capacity will allow it to better serve foreign markets.

Conclusion
The nation's fuel blend is currently 9.74% biofuels and America is driving less; thus the year by year stable ethanol production is pushing us closer to the blend wall. Replacing America's car fleet with vehicles that can handle higher amounts of biofuels will be a very long process.

Valero is not a high growth stock, but it is relatively safe. Its ethanol operations help to shield it from volatility in the RIN market. Marathon and Phillips 66 offer overall higher margins, but watch carefully to see if they buy up more ethanol plants to deal with the government's RIN requirements.