The subscription runs about fifteen dollars a month for World of Warcraft. That's the headline figure, and it's the same whether you play a little or a lot.
Two things sit outside that number: the retail purchase or download of the game and its expansions, and the optional extras like character transfers, race changes or cosmetic services, which are priced individually.
Longer commitments — three or six month plans — usually bring the monthly cost down, and there are periodically free trials if you want to test the water before paying anything.