Free tech support / small logo


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. :-)









Subscribe!
Never miss another Q&A article! Click to subscribe: Add to Google Reader Add to My Yahoo! Subscribe in NewsGator RDF XML
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 problem. where did the divisor (0.122834016) comes from?? where did u get?? help me plz..........

Posted by: eisyam at September 17, 2008 12:23 AM

i have problem.where did the divisor (0.122834016)comes from?where did you get ?help me plz...........

Posted by: yakub at March 5, 2010 2:30 AM

how to know the official DJ divisior

Posted by: yakub at March 5, 2010 4:39 AM


Why do stock exchange use official individual average diviser? How do this official individual average diviser be calculated?

Thanks

Md. Mijanur Rahman

Posted by: Md. Mijanur Rahman at March 13, 2011 5:12 AM

Nice and very informatics explanation.
Nice Job !!

Posted by: Vishwajeet at April 19, 2011 10:17 AM

please help, how to get individual average divisor calculate ?

Thank you..

Posted by: BUERHAN at November 28, 2011 7:44 AM

BUERHAN, you should check out this article on the IAD: http://en.wikipedia.org/wiki/DJIA_divisor I warn you, though: it's complicated...

Posted by: Dave Taylor at November 28, 2011 7:53 AM

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

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











Remember personal info?


Please note that I will never send you any unsolicited 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.









Recent Entries


Search
I Need Help!
Need Help? Ask Dave Taylor!


© 2002 - 2012 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]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.