At current foreign-exchange rates, the United States has by far the largest economy in the world as measured by gross domestic product.