Stocks finished a down week with modest gains Friday as investors gauged the fallout from a massive earthquake that struck off the coast of Japan and triggered tsunami waves from Asia to California.

The prospect of falling oil demand from Japan sent crude oil prices down to $101 a barrel. Industrial and materials companies rose on expectations that they will benefit from Japan's rebuilding efforts.

Major Market Indices

One day after its biggest fall since August, the Dow Jones industrial average gained 59.79 points, or 0.5 percent, to 12,044.40. The S&P 500 rose 9.17, or 0.7 percent, to 1,304.28. The Nasdaq composite gained 14.59, or 0.5 percent, to 2,715.61.

Story: Retail sales post largest gain in four months

In addition to the earthquake, oil prices fell after a scheduled day of protests in Saudi Arabia only drew a few hundred people, and the capital remained quiet. Oil traders have been worried the violence in the Middle East and North Africa would spread to the world's No. 1 oil exporter.

"The market is going to be see-sawing back and forth" until the long-term effects of the unrest in the Middle East and the disaster in Japan become clear, said Anthony Chan, chief economist for J.P. Morgan Wealth Management.

Story: Price of oil sinks after massive Japan quake

The earthquake and oil protests largely overshadowed a report from the Commerce Department that retail sales rose 1 percent in February, the biggest gain in four months and more than the 0.8 percent analysts had expected. Shoppers laid out more cash for cars, clothing and gadgets in February, leading to an eighth month of gains.

Despite Fridays' gains, each index finished the week lower. The Dow fell 1 percent, while the broader S&P index lost 1.3 percent.

Stocks fell sharply Thursday on weak economic news from China, the U.S. and Spain combined with a slump in oil company shares. The Dow Jones industrial average had its biggest drop since August 11. Other than several large swings in the past month, stocks have been climbing steadily since September.

Story: Vast devastation, search for survivors after Japan quake

"It could be time for a well-deserved rest," said Ryan Detrick, senior technical strategist for Schaeffer's Investment Research. "The markets had a spectacular six-month rally and now they're showing some slight cracks."

Quotes delayed 15+ min.

The quake caused a selloff in global stock markets, led by sharp drops in insurance companies. Japan's Nikkei closed down 1.7 percent. The yen remained stable, however, because it is seen as a relatively safe investment for international traders.

The yield on the 10-year U.S. treasury note rose to 3.40 percent from 3.37 percent late Thursday.

Two stocks rose for every one that fell on the New York Stock Exchange. Volume came to 920 million shares.

© 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Video: Quake hits Asian markets

Photos: Trapped in the economy

loading photos...
  1. (Cam Cardow / Ottawa Citizen, Politicalcartoons.com) Back to slideshow navigation
  2. (Larry Wright / Detroit News, Politicalcartoons.com) Back to slideshow navigation
  3. (Joe Heller / The Green Bay Press-Gazette, Politicalcartoons.com) Back to slideshow navigation
  4. (Brian Fairrington / Politicalcartoons.com) Back to slideshow navigation
  5. (John Darkow / The Columbia Daily Tribune, Politicalcartoons.com) Back to slideshow navigation
  6. (John Darkow / The Columbia Daily Tribune, Politicalcartoons.com) Back to slideshow navigation
  7. (Larry Wright / Detroit News, Politicalcartoons.com) Back to slideshow navigation
  8. (Larry Wright / Detroit News, Politicalcartoons.com) Back to slideshow navigation
  9. (Larry Wright / Detroit News, Politicalcartoons.com) Back to slideshow navigation
  1. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  2. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  3. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  4. Editor's note:
    This image contains graphic content that some viewers may find disturbing.

    Click to view the image, or use the buttons above to navigate away.

  1. Cam Cardow / Ottawa Citizen, Politicalcartoons.com
    Above: Slideshow (9) Trapped in the economy
  2. Mike Keefe / Denver Post, Politicalcartoons.com
    Slideshow (12) Gas turmoil
  3. Mike Keefe / The Denver Post, Politicalcartoons.com
    Slideshow (7) Where's my job?

Chart: Dow regains 12k mark

Discuss:

Discussion comments

,

Most active discussions

  1. votes comments
  2. votes comments
  3. votes comments
  4. votes comments

Data: Latest rates in the US

Home equity rates View rates in your area
Home equity type Today +/- Chart
$30K HELOC FICO 5.04%
$30K home equity loan FICO 5.20%
$75K home equity loan FICO 4.65%
Credit card rates View more rates
Card type Today +/- Last Week
Low Interest Cards 13.28%
13.27%
Cash Back Cards 17.77%
17.73%
Rewards Cards 17.03%
17.00%
Source: Bankrate.com