The main story runs about 35 hours — closer to 30 if you rush straight for the achievement. Side missions add roughly 15 more, multiplayer is effectively endless, and simply driving around Liberty City can absorb as much time as you're willing to give it.
It's a lot of game for the price, in other words, and the number that matters most is the last one: goofing around has no upper limit.