LONDON — HSBC said on Monday that its third-quarter profit had jumped 52 percent as it benefited from lower legal and regulatory costs and gains in its investment bank.

The lender, which is based in Britain but generates more than half of its earnings in Asia, said it had also been helped by gains related to the value of its own debt.

HSBC announced plans this year to cut its costs and reshape itself to improve its profitability.

The bank said in June that it planned to shed up to 50,000 jobs, sell several underperforming businesses and shrink its global investment banking business.

“Our cost-reduction measures are beginning to have an impact on our cost base,” Stuart Gulliver, the HSBC chief executive, said on Monday in a news release.