Winning $540 million sounds like a lot of money, but so does the cash option of $341 million.
If you won Mega Millions in Maryland you'd have to pay a 25 percent federal tax, then about a 9 percent tax in Maryland, according to USAMega.com.
If you aren't a Maryland resident, you'll have to pay a 7.5 percent tax.
What would that mean for your winnings?
If you win the $540-million you would take home $13.8 million a year for 26 years.
If you take the lump sum of $389 million you would end up walking away with more than $259 million after taxes.