Prime Minister Mark Carney is set to present his government's first federal budget on Tuesday, and has warned Canadians to expect sacrifices as he aims to transform an economy battered by US President Donald Trump's tariffs.

Carney has said the spending plan will see both significant cuts and generational investments to strengthen the economy and reduce the country's reliance on US trade.

The plan is also expected to lay out how Canada will pay for billions of dollars in defence spending to fulfil the new NATO commitment to spend 5% of GDP on defence by 2035.

Analysts have suggested the federal deficit could exceed C$70bn ($50bn; £38bn), up from $51.7bn last year.

The fiscal plan is seen as a major test for Carney, a former central banker for Canada and the UK who has promised to make Canada's economy the strongest in the G7 group of wealthy nations.

We used to take big, bold risks in this country. It is time to swing for the fences again, he said in a pre-budget speech last month.

Canada, which trades primarily with the US, has a particular exposure to tariff shocks.

Carney has said he is setting a goal for the country to double its non-US exports in the next decade.

Joy Nott, a partner at KPMG Canada who focuses on trade and customs, told the BBC that Canadian companies need government support during the transition of moving from one market to another.

Finance Minister Francois-Philippe Champagne underscored the made-at-home message on Monday as he bought new shoes at a Quebec business that supplies footwear worldwide as well as to Canada's armed forces and RCMP officers.

While he said the budget would be focused on investments, Carney has also promised to balance the federal operating budget over the next three years.

Over the summer, federal ministries were asked to find ways to cut up to 15% from programme spending in the coming years, as the government seeks savings to fund spending on things like trade infrastructure, housing, and tariff-impacted industries.

It is still unclear where Carney's Liberal Party will find the support they need to pass the spending package. Canada's political landscape could face a snap election if the budget vote fails.

Trump's 35% tariff on Canadian imports, alongside various sector-specific tariffs, has compounded economic uncertainty, as signs indicate that trade issues are impacting Canada’s economy with rising unemployment.

The Bank of Canada projects GDP growth to remain tepid in the coming years, indicating a careful journey ahead for Carney's financial strategy.