Actually, there's a theory that Humans will be extinct by the year 2807. It is explained by XKCD in his blog.
"we can argue that our species will go extinct by the year 2807.
Here's the argument:
Humans will go extinct someday. Suppose that, after this happens, aliens somehow revive all humans who have ever lived. They line us up in order of birth and number us from 1 to N. Then they divide us divide them into three groups—the first 5%, the middle 90%, and the last 5%:
Now imagine the aliens ask each human (who doesn't know how many people lived after their time), "Which group do you think you're in?"
Most of them probably wouldn't speak English, and those who did would probably have an awful lot of questions of their own. But if for some reason every human answered "I'm in the middle group", 90% of them will (obviously) be right. This is true no matter how big N is.
Therefore, the argument goes, we should assume we're in the middle 90% of humans. Given that there have been a little over 100 billion humans so far, we should be able to assume with 95% probability that N is less than 2.2 trillion humans. If it's not, it means we're assuming we're in 5% of humans—and if all humans made that assumption, most of them would be wrong.
To put it more simply: Out of all people who will ever live, we should probably assume we're somewhere in the middle; after all, most people are.
If our population levels out around 9 billion, this suggests humans will probably go extinct in about 800 years, and not more than 16,000.
This is the Doomsday Argument.