Smoking cost!

Smokers burn through an average of $1.4 million in personal costs, a new study concludes. The figure includes spending on cigarettes, medical costs and lower wages brought on by smoking and exposure to secondhand smoke, CBS News reports.

The study, which appears on the website WalletHub, calculated the cumulative cost of a cigarette pack per day over several decades. For their calculations, the researchers assumed an adult starts smoking a pack of cigarettes per day beginning at age 18, and smokes for 51 years—taking into account that 69 is the average age at which a smoker dies.

The researchers then calculated how much smokers would have earned if they had invested their cigarette money in the stock market instead.

Tobacco costs average $1.03 million after a lifetime of smoking, the study found. In states where taxes are lower, including many Southern states, the lifetime cost of purchasing cigarettes was much lower than the country’s average.

Quitting “saves you the money of not buying a pack, but you don’t realize how much you are saving in health care and insurance premiums,” said WalletHub spokeswoman Jill Gonzalez. “That is really what will impact people, seeing all of these prices added together.”

The highest smoking costs were found in Alaska ($2.03 million), Connecticut ($1.99 million); New York ($1.98 million); Massachusetts ($1.98 million); Rhode Island ($1.95 million); New Jersey ($1.87 million); Hawaii ($1.85 million); Washington, D.C. ($1.75 million); Vermont ($1.74 million); and Washington ($1.67 million).

The states with the lowest smoking-related costs were South Carolina ($1.1 million); West Virginia ($1.1 million); Kentucky ($1.1 million); Mississippi ($1.15 million); Georgia ($1.15 million); Tennessee ($1.17 million); Alabama ($1.18 million); Missouri ($1.18 million); North Carolina ($1.19 million); and Louisiana ($1.2 million).