With the Strait of Hormuz still mostly closed and U.S. petroleum reserves at their lowest levels in over 40 years, gas prices in Oklahoma have spiked an average of 20 cents in just two days.

According to GasBuddy, Oklahoma’s average fuel cost is about $3.70 per gallon on Aug. 13.

Nationally, the average gasoline price is at the highest it’s ever been this late in the year, said Patrick De Haan, GasBuddy’s head of petroleum analysis. The national average has never been over $4 a gallon after Aug. 12, he said.

High gas prices fueled by wars

Before President Donald Trump launched attacks on Iran that led to Iran’s missiles and drones shutting off access to oil leaving the Persian Gulf, gasoline had been selling for less than $3 a gallon. Between February and May, however, Oklahoma’s gasoline prices nearly doubled to more than $4 and have been fluctuating ever since.

This week, CNBC reported that crude oil stockpiles in the U.S. Strategic Petroleum Reserve was the lowest it had been since 1983. According to the U.S. Department of Energy, there is now less than 300 million barrels in the reserve, some of which is stored in Cushing, Oklahoma. In March, Trump released 172 million barrels from the reserve as oil tankers in the Strait of Hormuz came under fire from Iran.

More: Fueling arsenals and revolutions: Oklahoma’s oil and gas legacy

Historically, this part of the world provides about 20% of the world’s petroleum supply. Most of the oil that transits the strait is bound for southeast Asia, but disruptions there can have a worldwide impact. Another factor is the continued war between Russia and Ukraine; as Russia attempts to take more Ukrainian territory, Ukraine has responded by destroying Russia’s capacity to refine and transport its sanctioned oil.

When is the best day to fuel up?

GasBuddy, a tracker for more than 150,000 stations nationwide, analyzed gas price patterns and found that purchasing gas earlier in the week is statistically better than purchasing toward the end of the week.

This yield is typically 4 to 9 cents cheaper per gallon.

“Gas prices don’t just move based on global oil markets — they also follow a weekly rhythm,” said De Haan. “For most drivers, Sunday is the safest bet for finding lower prices, while filling up midweek can mean paying more.”

This article includes reporting by Josh Kelly of The Oklahoman.

This article originally appeared on Oklahoman: Oklahoma gas prices jump 20 cents amid war, global oil shortages