@ealgeone None of the the items on the W-2 quite matches annual income:
Box 5 is income subject to Medicare tax. Most income is included, but a few benefits such as health insurance are removed.
Box 3 is income subject to Social Security tax. This is usually the same as Box 5, but would be $0...