Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

How is a stock index calculated?

My teacher wants me to figure out how they calculate a stock index and my Dad said that the Dow Jones average is easiest to figure out. Can you tell me how they calculate the DJIA, please?


Dave's Answer:

Usually I don't help out with homework assignments, but I'll make an exception in this case because it's such an interesting question! Turns out I've written about stock index calculations before, though last time it was more about how to use a shell script to automatically grab individual stock values. Curious about that article, which includes some good history of stock indices that I'm not going to repeat here? Check out How to create a custom stock market index.

A bit of history about Charles Dow will help explain how the DJIA came to be created. Wall Street Journal editor Dow launched his original stock average in 1884 based on 11 stocks, mostly railroad stocks. May of 1896 he introduced another index called the industrial average, comprised of: American Cotton Oil, American Sugar, American Tobacco, Chicago Gas, Distilling & Cattle Feeding, Laclede Gas, National Lead, North American Company, General Electric, Tennessee Coal & Iron, Tennessee Coal & Iron, U.S. Leather and U.S. Rubber.

Today the Dow Jones Industrial Average (DJIA) is based on thirty stocks: Alcoa, American Express, American International Group (AIG), AT&T, Bank of America, Boeing, Caterpillar, Chevron, Citigroup, Coca-Cola, DuPont, Exxon, General Electric, General Motors, Hewlett-Packard, Home Depot, Intel, IBM, Johnson & Johnson, Morgan Chase, McDonalds, Merck, Microsoft, Pfizer, Procter & Gamble, United Technologies, Verizon, Wal-Mart and Walt Disney.

That's a Who's Who of big industrial companies, but you'll notice how little new tech is on the list. That's one of the criticisms of the stock index, actually, but that's not really relevant to this particular discussion, so we'll leave it aside.

To show how the Dow Jones Industrial Average (DJIA) is calculated, I'm going to take a snapshot of the stock values and the calculated DJIA. After closing hours on Friday, April 11, 2008, the DJIA is calculated as 12325.42.

Sum all the stock values at this same moment and here's your rather impressive addition problem:

80.35+36.11+45.06+45.56+38.20+37.69+78.43+75.71+89.60+23.71 +61.33+49.64+89.55+36.75+20.17+46.57+28.38+22.08+118.78+66.33 +43.86+55.85+41.71+29.11+20.92+70.18+71.85+35.83+54.66+31.35

I'll save you the challenge of figuring this out. The sum value of all these stock values is 1545.32.

So how do you get from 1,545 to 12,325? By using the official industrial averages divisor (it's at the bottom of that page). As of this very moment, the divisor is 0.122834016.

Now we can calculate things, though the result might surprise you:

1545.32 / 0.122834016 = 12580.55

So why is there a difference? Because of what's called after-hours trading. The stock values we used for this math were the closing values of those stocks, but after the stock exchange was closed, the stocks continue to be traded. The result: the market went down 256.56. Now, let's try this math again:

(1545.32 / 0.122834016) - 256.56 = 12323.99

Truth be told, at this point I don't really understand why this isn't an exact calculation, but it's pretty darn close so it'll certainly illustrate what you're trying to calculate. The key is that the general calculation for the DJIA is:

sum of all stock values in the index / official DJ divisor

And now... you know. :-)



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Dave:

Great writeup. But the question is why the divisor? I mean I understand that DJ requires it, but what does it do to improve the accuracy of the final number?

Thanks.

\dmc

Posted by: Dave Cole at April 23, 2008 11:31 AM

Dave, according to the historical documents I have read, the divisor was to balance out the effects of stock splits, etc. I agree with you that it seems reasonable just have the sum value, but then it'd be hard to do any trend analysis...

Posted by: Dave Taylor at April 23, 2008 11:35 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]