How long is a basketball career?

As of the 2007/2008 season the average NBA players experience which can be likened to their career length was 4.71 years.