* Almost a quarter of U.S. refineries shut due to Harvey
* U.S. gasoline prices shoot to fresh 2-year highs
* Brent crude oil slips towards $50/b as refinery demand slumps
* Harvey's energy impact interactive: http://tmsnrt.rs/2xzsKWz
SINGAPORE, Aug 31 (Reuters) - Gasoline prices hit fresh 2-year highs on Thursday as flooding from tropical storm Harvey knocked out almost a quarter of U.S. refineries, while crude oil prices fell again on the resulting drop in demand.
Harvey has battered the U.S. Gulf coast since last Friday, ripping through Texas and Louisiana at the heart of the U.S. petroleum industry. At least 4.4 million barrels per day (bpd) of refining capacity was offline, or almost a quarter of total U.S. capacity, based on company reports and Reuters estimates.
Fearing a gasoline supply squeeze, U.S. gasoline prices rose to a more than 2-year high of $1.935 per gallon early on Thursday.
Crude prices, by contrast, fell as the closure of so many U.S. refineries led to a slump in demand for the most important feedstock for the petroleum industry.
U.S. West Texas Intermediate (WTI) crude futures were trading at $45.84 per barrel at 0024 GMT, down 12 cents, or 0.3 percent, from their last close. International Brent crude was down 19 cents, or 0.4 percent, at $50.67 a barrel.
"The flooding from Hurricane Harvey shut the largest refinery in the U.S., pushing gasoline prices to a two-year high. In contrast, oil prices retreated," ANZ bank said.
Meteorologists said that Harvey could be the worst storm in U.S. history in terms of financial cost.
"The economy's impact, by the time its total destruction is completed, will approach $160 billion," said Joel N. Myers, president and chairman of meteorological firm AccuWeather.
Other estimates have put the economic losses from Harvey at under $100 billion.
And although Harvey keeps getting weaker, meteorologists say more floods are expected.
The National Hurricane Center (NHC) said in its latest update that flooding and heavy rain continued in eastern Texas and western Louisiana.
AccuWeather also said that "the worst flooding from Harvey is yet to come as rivers and bayous continue to rise in Texas with additional levees at risk for breaches and failures."
Beyond Harvey, U.S. commercial crude oil stocks fell by 5.39 million barrels last week, to 457.77 million barrels, according to data released Wednesday by the U.S. Energy Information Administration. <C-STK-T-EIA>
That's 14.5 percent down from record levels reached last March, and it is below 2016 levels.
This came on the back of record U.S. gasoline demand of 9.846 million bpd last week, and as U.S. refining utilization rates rose to 96.6 percent, the highest percentage since August of 2015.
However, the data was collected before Hurricane Harvey hit the Gulf Coast.
(Reporting by Henning Gloystein; Editing by Richard Pullin)