Flippin Sweet Dude

December 3, 2009

Benford’s Law – Proof By Arm Waving

Filed under: FlippinSweetBlog — aaron @ 5:15 am

Benford’s Law is a pretty amazing discovery.  It states that for real data, like statistical tables, numerical listing ( like addresses, populations, lengths of rivers, etc… ) and other groups of numbers, that we are not to expect a uniform distribution of leading digits.  For example, one would think that for a list of all river lengths, in any unit of measurement, that there would be relatively equal number of them that start with the number 1, 2, 3 and so forth, with each number having 1/9th the possibility of being the leading digit. However it is proven that the distribution looks more like this:

1 = 30.1%
2 = 17.6%
3  12.5%
4 = 9.6%
5 = 7.9%
6 = 6.6%
7 = 5.8%
8 = 5.1%
9 = 4.5%

I thought a good idea would be to see if this law holds true, for the file sizes found on my hard drive.  There is a good listing of number, found in the real world, and at first glance, I would think that there is an equal likelihood that all the numbers are represented equally as the leading digit.

You can download and run my program below, you’ll need the .net Framework to run it.  Find that here, if you don’t already have it.

Benford program


  1. I tried to run your program but got an unhandled exception error

    Comment by Jake Maier — March 6, 2011 @ 2:46 pm

  2. I have posted new Benford law application to the website, with the fix on the unhandled exception.

    Comment by aaron — March 10, 2011 @ 3:32 pm

  3. […] didn’t realize that many people have tried to use my Benford’s Law – Proof By Arm Waving application.  Looks like it had a small bug with file permissions, that was just reported.  You […]

    Pingback by Benford’s Law – Version 2 « Flippin Sweet Dude — November 28, 2013 @ 10:12 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress