The U.S. economy has lost $3.6 billion because of the ongoing partial government shutdown, according to an analysis by Standard & Poor's Global Ratings. It will only take another two weeks for the shutdown to cost the economy $5.7 billion – the same amount that the White House has requested for President Donald Trump's border wall.

The shutdown on Friday tied the longest in U.S. history at 21 days. If the shutdown continues, the per-week impact will balloon beyond the roughly $1.2 billion that have been lost each week since it began, S&P found.

The loss of productivity from furloughed workers is a direct hit to the economy, though the shutdown has also caused significant indirect costs, S&P said. Companies, hotels and restaurants around closed or neglected national parks and monuments may be experiencing a dip in revenue. Contractors that do business with the government have needed to remove staff as well, leaving private employees without work with no chance of getting back the lost pay .

As with other shutdowns, some indirect costs to the economy can be recouped but the work lost from furloughed government employees can't be regained, forcing GDP down, S&P said.