Depending on the camera you have, the typical life of a shutter can vary from anything as low as 50,000 shutter actuations right up to 350,000. Some photographers may get unlucky and find themselves on the lower side of those numbers while others may find their cameras are still going strong after 500,000 shots.
For this reason, it’s crucial you keep an eye on how many pictures your current camera has made and how many frames your particular model will be at when it reaches the end of its life cycle. Knowing these numbers is equally as important to be aware of when looking to purchase a camera secondhand. If something you find on eBay has already taken a lot of pictures it may not last as long as you hope or be as much of a bargain as you think.
No, this won’t tell you definitively when your camera’s shutter will fail but it might help to know how many actuations your DSLR has done. It’s also helpful for those who buy used bodies to find out how much wear and tear there may be on the shutter mechanism.