Updated

An official with the Maryland lottery says a record $640 million winning lottery ticket has been sold in Maryland, and there could be others nationwide.

Carole Everett, director of communications for the Maryland Lottery, says the winning Mega Millions ticket was purchased at a retailer in Baltimore County. She said it's too early to know any other information about the lucky ticket-holder or whether others were sold elsewhere in the nation.

Everett says the last time a ticket from the state won a major national jackpot was 2008 when a ticket sold for $24 million.

Across the United States, Americans plunked down an estimated $1.5 billion on the longest of long shots: an infinitesimally small chance to win what could end up being the single biggest lottery payout the world has ever seen.

The numbers drawn Friday night in Atlanta were 2-4-23-38-46, Mega Ball 23. Lottery officials expected to release details about possible winners a couple of hours after the 11 p.m. Eastern (0300 GMT) drawing.

Forget about how the $640 million Mega Millions jackpot could change the life of the winner. It's a collective wager that could fund a presidential campaign several times over, make a dent in struggling state budgets or take away the gas worries and grocery bills for thousands of middle-class citizens.

And it's a cheap investment for the chance of a big reward, no matter how long the odds -- 1 in 176 million.

So what exactly would happen if the country spent that $1.5 billion on something other than a distant dream?

For starters, it could cure the everyday worries of hundreds of thousands of American families hit by the Great Recession. It costs an average of $6,129 to feed the typical family for a year -- meaning the cash spent on tickets could fill up the plates of 238,000 households.

As gas prices climb faster than stations can change the numbers on the signs, the money spent on tickets could fill the tanks of 685,000 households annually.

Or it could play politics. So far in this campaign, Republicans and President Barack Obama have spent $348.5 million. The amount spent on Mega Millions tickets could cover that tab four times over.

Could the money dig governments out of debt? That's a problem that even staggering ticket sales can't solve. It could trim this year's expected $1.3 trillion federal deficit by just over a tenth of 1 percent. In Illinois, the money would disappear just as fast into that state's $8 billion deficit.

On a personal level, that much money staggers. Giving $1.46 billion to a broker could purchase 2.4 million shares of Apple stock. (It would also be enough to buy about 2.4 million iPads at the starting price of $499. That's almost as many as the 3 million new iPads that Apple has already sold.)

Or consider the whimsical: A family of up to 12 could live for more than a century at Musha Cay, magician David Copperfield's $37,000-a-night private island resort in the Exuma Cays of the Caribbean.

For a more celestial vacation, the nearly $1.5 billion wagered could purchase about 7,300 tourist tickets for a ride into space aboard Virgin Galactic's SpaceShipTwo. And it would pay for 26 rides for U.S. astronauts to the International Space Station aboard the Russian Soyuz spacecraft.

It would even buy a stake in pop culture. Want to influence the next winner of American Idol? If it costs a quarter to text in a vote to Ryan Seacrest, and it takes 122 million votes to win as it did last season, the money could control the outcome of the next 47 seasons.

For the states that participate, the money spent on lotto tickets is hardly a waste. It doesn't all end up as the winner's personal fortune -- much of it is used by states to fund education and other social service programs, which is why advocates promote the lottery.

Though the specifics vary among the 42 participating states and the Washington capital district, only about half of ticket sales go into the actual jackpot. Another 35 percent goes to support government services and programs, while the rest funds lottery operating costs.

On Friday, the lottery estimated that total ticket sales for this jackpot, which has been building up since Jan. 28, will be about $1.46 billion, said Kelly Cripe, a spokeswoman for the Texas Lottery Commission.

You're about 20,000 times more likely to die in a car crash than win the lottery, but that doesn't matter to most people.

"Part of it is hope. ... The average person basically has no chance of making it really big, and buying a lottery ticket is a way of raising the ceiling on what could possibly happen to you, however unlikely it may be," said George Loewenstein, a professor of economics and psychology at Carnegie Mellon University who has studied how rich and poor consumers make a choice to buy lottery tickets.

The odds are much better that someone will begin their weekend a winner. Aaron Abrams, a mathematician at Emory University, said he calculated that there was only a 6 percent chance that no one would hold the winning numbers.

"Every time the jackpot gets higher, more and more people buy tickets, which makes it more and more likely that someone will win," Abrams said. "So the chance that it rolls over this many times in a row is very small. It's quite a rare event."

The estimated jackpot dwarfs the previous $390 million record, which was split in 2007 by two winners who bought tickets in Georgia and New Jersey.

The rarity of Friday's jackpot was fueling the fervor. Lines formed at grocery stores, gas stations, liquor stops and other venues across the country.

In Arizona, a cafDe worker reported selling $2,600 worth of tickets to one buyer. In Indiana, hundreds lined up for a giveaway of free tickets. Hundreds from Utah and Las Vegas streamed in to neighboring California or Arizona to buy tickets because their states don't participate.