Petroleum refining in the United States

[[File:US oil refinery capacity.webp|thumb|500px|right|US oil refinery capacity

]] Petroleum refining in the United States in 2013 produced 18.9 million barrels per day of refined petroleum products, more than any other country. Although the US was the world's largest net importer of refined petroleum products as recently as 2008, the US became a net exporter in 2010, and in 2014 was the largest exporter and the largest net exporter of refined petroleum. As of January 2019, there were 135 operating refineries in the US, distributed among 30 states.

Largest petroleum refining companies in the United States

Largest petroleum refineries in the United States

History
The first known US petroleum refiner was Samuel Kier of Pittsburgh, who in the 1850s produced an illuminating oil for miners' lamps.

American petroleum refining largely grew out of oil shale refining. When the Drake Well started producing in 1859, the oil shale industry was growing rapidly, and establishing refineries near cannel coal deposits along the Ohio River Valley. As oil production increased, the oil shale refiners discovered that their refining process worked just as well with petroleum, and that petroleum was a cheaper raw material than shale oil. In 1861, the existing oil shale refiners switched to petroleum feedstock, and the oil shale mines shut down.

In the 1800s, the principal refined product was kerosene for illuminating oil. The heaviest fraction was used as lubricating oil. A market developed for fuel oil as it was discovered that petroleum was superior to coal in powering the large engines of ships and railroad locomotives.

The prevalence of the automobile in the early 1900s created a mass market for gasoline, and a shortage soon developed of the lighter gasoline fractions of crude oil. The shortage was solved by the invention of fluid catalytic cracking, which broke long hydrocarbon chains into smaller molecules.

The newest large refinery built in the US was completed in 1976 in Garyville, Louisiana. Since then, while some existing refineries have expanded, new refinery construction has faced significant barriers in environmental regulation, permitting, and local political opposition. Industrial accidents such as the 2019 Philadelphia Energy Solutions refinery explosion have led to refinery closures which reversed some of the gains made through expansion of refineries.

Geography
Most large refineries are near navigable waterways, especially seaports or Great Lakes ports. The single largest concentration of refineries is along the Gulf Coast. Although there are refineries in 30 states, just three states dominate US refining: Texas (47 operating refineries), Louisiana (19), and California (18). As of January 2015, these three states contain 45% of all US refineries and 59% of all US refining capacity.

Products
The three largest-volume products of US refineries are gasoline, fuel oil (including diesel fuel and home heating oil), and aviation fuel, which together make up more than 84 percent of output.

Byproduct sulfur
Petroleum refineries recover elemental sulfur as a byproduct. In 2012, US oil refineries recovered 7.4 million metric tons of sulfur, worth about $915 million, and amounting to 88% of the elemental sulfur produced in the US.

International trade
The United States was for decades, through 2008, the world's largest net importer of refined petroleum products. But the situation quickly changed in 2008 as American refineries became much more cost-competitive due to large increases in US production of oil, natural gas, and natural gas liquids. The US became a net exporter of refined petroleum in 2010, and since 2013 has been the world's largest net exporter of refined petroleum. In 2014, the US exported 3.83 million barrels per day and imported 1.35 million barrels per day of refined petroleum, for net exports of 2.48 million barrels per day. The largest net importers of US refined products in 2017 were, in descending order: Mexico, Brazil, Japan, China, and Singapore.

The competitive advantage of US refiners has been attributed to the lower price of American crude oil, as reflected by the Oklahoma-based index price West Texas Intermediate, versus the more expensive European-based index price Brent Crude. Due to the great surge in American production of oil, natural gas, and natural gas liquids since 2008, those products have been cheaper in the North American market than worldwide, giving American refiners a major cost advantage. The discount on US crude is partially attributed to the long-standing federal ban on exports of American crude oil.

European Union refiners have been hard-hit by the growth in US exports. They lost much of their previous gasoline exports to the US, and also market share in the worldwide market to the newly competitive US refineries. In addition, US refineries have increasingly exported petroleum products to the EU. In 2008, US exports of gas oil (home heating fuel) surged to a 31% market share in the EU, up from 5% the previous year; in 2011, US imports held a 37% market share of gasoil in the EU. There has been discussion that EU refineries would have to shut down without government intervention.

Environmental impact
Refineries have been responsible for air, water, and soil pollution in the United States. Some former refinery sites are Superfund sites such as the Diamond Head Oil Refinery Superfund Site in Kearny, New Jersey. Refineries have paid millions of dollars in settlements and fines for violations of environmental laws. Some settlements have included promises to reduce toxic emissions.

Major refinery fires include the 1956 McKee refinery fire, the 1975 Philadelphia Gulf refinery fire and 2005 Texas City refinery explosion.