The subscription is $30 for 60 days, and expansions run roughly $20 to $40 each.
Those figures reflect the era when the game was sold in boxed copies alongside time cards, and both subscription and expansion pricing have changed considerably since. Check Blizzard's current store page for up-to-date rates before you commit.