It was a billion-dollar flop.

Michael R. Bloomberg spent more than $900 million on his failed bid for the White House by the end of February, a spectacular sum and the most ever for a self-funded politician in American history. But it was not enough to help the billionaire candidate win a single state before he dropped out of the 2020 Democratic presidential primary in early March.

Mr. Bloomberg, the former mayor of New York City, poured more than $500 million into television advertising and $100 million on digital ads during the course of his roughly 100-day campaign, according to a new filing made Friday with the Federal Election Commission. He spent tens of millions of dollars more on a raft of media consultants, pollsters and digital strategists, the filing showed.

Mr. Bloomberg paid more than $15 million for polling, including $11.5 million to the firm of the pollster Douglas Schoen. He spent more than $11 million on the firm created by ad-maker Bill Knapp to work on the 2020 campaign and another $4.8 million on the firm of Jimmy Siegel, another ad-maker. He directed $45 million to Hawkfish LLC, a private digital firm he owned and created before he entered the race. More than $30 million was spent on direct mail. And more than $1 million on meals for his staff that swelled to more than 2,000 in a few short months.