How long does Apple provide support for Mac OS X?
Apple don't provide any end of life information unfortunately, and you're correct that they only support the current and previous versions, although they do still release security patches for the one before that from time to time for another release cycle after this.

So you'll get up to 3 years out of an OS release, and that usually an Apple computer will be supported by new OS releases for around the same time.