In Dragon Ball GT, Goku is 50 years old.
Here's how he ages across the whole saga:
In the original Dragon Ball, he's 12.
In Dragon Ball Z, he begins as a 24-year-old father. He fights Raditz and dies for a year (during which he doesn't age), then is revived to battle the Saiyans, Nappa and Vegeta. Five years later, during the Cell saga, he's 29; after training in the Hyperbolic Time Chamber he gains a year, putting him back at his normal age of 30. He sacrifices himself and dies fighting Cell. Seven years on, in the Buu saga, Elder Kai brings him back to life, and he hasn't aged a bit. By the end of Dragon Ball Z, ten years later, Goku is 40.
Dragon Ball GT picks up ten years after the end of Dragon Ball Z.