WASHINGTON — Former President Donald Trump has identified what he sees as an all-purpose fix for what ails America: Slap huge new tariffs on foreign goods entering the United States.

The former president and current Republican nominee asserts that tariffs — basically import taxes — will create more factory jobs, shrink the federal deficit, lower food prices and allow the government to subsidize child care.

He even says tariffs can promote world peace.

“Tariffs are the greatest thing ever invented,” Trump said this month in Flint, Michigan.

As president, Trump imposed tariffs with a flourish — targeting imported solar panels, steel, aluminum and pretty much everything from China.

“Tariff Man,” he called himself.

This time, he’s gone much further: He has proposed a 60% tariff on goods from China — and a tariff of up to 20% on everything else the United States imports.

He raised the ante higher last week.

To punish the machinery manufacturer John Deere for its plans to move some production to Mexico, Trump vowed to tax anything Deere tried to export back into the United States — at 200%.

And he threatened to hit Mexican-made goods with 100% tariffs, a move that would risk blowing up a trade deal that Trump’s own administration negotiated with Canada and Mexico.

Mainstream economists are generally skeptical of tariffs, considering them a mostly inefficient way for governments to raise money and promote prosperity. They are especially alarmed by Trump’s latest proposed tariffs.

A recent report from the Peterson Institute for International Economics concluded that Trump’s main tariff proposals — assuming that the targeted countries retaliated with their own tariffs — would slash more than a percentage point off the U.S. economy by 2026 and make inflation 2 percentage points higher next year than it otherwise would have been.

Vice President Kamala Harris has dismissed Trump’s tariff threats as unserious. Her campaign has cited a report that found that Trump’s 20% universal tariff would cost a typical family nearly $4,000 a year.

But the Biden-Harris administration itself has a taste for tariffs. It retained the taxes Trump imposed on $360 billion in Chinese goods. And it imposed a 100% tariff on Chinese electric vehicles.

Indeed, the United States in recent years has gradually retreated from its post-World War II role of promoting global free trade and lower tariffs. That shift has been a response to the loss of U.S. manufacturing jobs, widely attributed to unfettered free trade and an aggressive China.

Tariffs are typically charged as a percentage of the price a buyer pays a foreign seller.

In the U.S., tariffs are collected by Customs and Border Protection agents at 328 ports of entry across the country.

The tariff rates range from passenger cars (2.5%) to golf shoes (6%). Tariffs can be lower for countries with which the United States has trade agreements. For example, most goods can move among the United States, Mexico and Canada tariff-free because of Trump’s U.S.-Mexico- Canada trade deal.

Trump insists that tariffs are paid for by foreign countries. But it is importers — American companies — that pay tariffs, and the money goes to the U.S. Treasury. Those companies, in turn, typically pass their higher costs on to their customers in the form of higher prices.

Still, tariffs can hurt foreign countries by making their products pricier and harder to sell abroad.

Yang Zhou, an economist at Shanghai’s Fudan University, concluded in a study that Trump’s tariffs on Chinese goods inflicted more than three times as much damage to the Chinese economy as they did to the U.S. economy.