DALLAS — U.S. oil prices crashed through the $70-a-barrel mark Monday for the first time since late 2014, foreshadowing costlier gasoline and consumer goods.

It’s not clear that pricey crude will slow down the economy, however.

The stock market closed slightly higher as investors bet that companies and consumers can cope with the increase, although airlines – a big consumer of fuel – slipped.

Benchmark U.S. crude rose $1.01 to settle at $70.73 a barrel on the futures market in New York. The international standard, Brent crude, was up $1.30 to $76.17 in London.

Analysts said the recent rally in oil prices has been driven mostly by strong demand and limits on production.

But, they said, a contributing factor is concern that Iranian oil exports will fall if the U.S. withdraws from a 2015 deal that eased sanctions on Iran in exchange for limits on its nuclear program.

Also, U.S. stockpiles of crude are down from this time last year.

The national average for gasoline is now $2.81 a gallon, according to the auto club AAA, and it’s not even the peak driving season yet. Pump prices are up 15 cents from a month ago and 46 cents from a year ago.

Eventually fuel prices show up in the costs of all sorts of consumer goods that are hauled by plane, train or truck. Online shoppers could see fewer offers of free shipping, said Diane Swonk, chief economist for accounting firm Grant Thornton LLP.

Swonk believes that oil prices are not yet high enough to derail economic growth.

“We are still adding jobs, and that is helping us to absorb it,” she said. “Wages aren’t accelerating as rapidly as we would like, but we are hearing a lot of anecdotal reports of wages picking up and that should help.”

Others are less sanguine. Longtime energy economist Philip Verleger believes the run-up is enough to trim growth “because consumers are going to have to cut expenditures on stuff other than gasoline.” And he believes that oil prices are heading much higher.

Iran produces nearly 4 million barrels a day out of a global total of about 98 million barrels per day. Analysts say that sanctions could cut Iran’s sales by between 200,000 and 600,000 barrels a day.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.