When is it cheapest to fill your gas tank in South Dakota? To find the answer, you might want to keep a calendar handy.

Nobody likes paying extra at the gas pump, but choosing the right day to fill up can save you money.

An analysis from GasBuddy looked at gas prices over the past year and discovered that picking the right day at the pump could save you some serious cash over the long term.

The report found that in most states, prices gradually rise through the week before easing into the weekend.

READ MORE: How Far Can You Drive After Your Low Fuel Light Comes On?

That's the case in South Dakota, where the study found that Saturday is the cheapest day to fill up. It's the same for Kansas, Pennsylvania, and Wyoming.

Thursday is the most expensive day to buy gas in the Mount Rushmore State.

So how much of a difference is there?

Buying gas on the cheapest day versus the most expensive one can save drivers up to 9 cents per gallon, but in some states, the gap between peak and trough can reach 45 cents.

The average price for a gallon of regular this week was about $2.92 nationwide, according to GasBuddy’s live tracker. Prices ranged from $2.22 in Oklahoma to $4.57 in California, the highest in the lower 48.

GasBuddy identified the best days in each state by analyzing statewide average gas prices over the past year and normalizing them within each week to uncover consistent weekday pricing patterns independent of seasonal trends.

KXRB logo
Get our free mobile app

LOOK: See how much gasoline cost the year you started driving

To find out more about how has the price of gas changed throughout the years, Stacker ran the numbers on the cost of a gallon of gasoline for each of the last 84 years. Using data from the Bureau of Labor Statistics (released in April 2020), we analyzed the average price for a gallon of unleaded regular gasoline from 1976 to 2020 along with the Consumer Price Index (CPI) for unleaded regular gasoline from 1937 to 1976, including the absolute and inflation-adjusted prices for each year.

Read on to explore the cost of gas over time and rediscover just how much a gallon was when you first started driving.

Gallery Credit: Sophia Crisafulli

LOOK: The longest highways in America

Stacker compiled a list of the longest interstates in the United States using 2021 data from the Federal Highway Administration. Read on to find out which ones are the lengthiest.

Gallery Credit: Hannah Lang

See the Must-Drive Roads in Every State

Gallery Credit: Sarah Jones

More From KXRB