UBS today posted a net profit of 1.3 billion Swiss franc ($1.31 billion) for the second quarter of 2018, beating analyst expectations.

Switzerland's biggest bank said that global economic growth prospects provided a supportive backdrop to markets. 

UBS said the 9% rise in net profit put its earnings for the quarter above the median net profit estimate of 1.044 billion francs in a Reuters poll. 

Its pre-tax profit rose 12% to 1.7 billion francs, compared to a forecast of 1.418 billion francs. 

Robust development of its core wealth management business and growth in investment banking boosted results for the quarter, the Zurich-based bank said. 

Wealth management saw 1.2 billion francs in net outflows, UBS said, due to higher seasonal tax-related outflows of about 4.62 billion francs in the US, and a single outflow of 4.4 billion francs in the Americas from a corporate employee share programme. 

"Global economic growth prospects continue to provide a supportive backdrop to markets, although ongoing geopolitical tensions and rising protectionism have dampened investor confidence and remain a threat," the bank said in its statement. 

It also said that US dollar interest rates are still expected to rise gradually, which is likely to support net interest income in its global wealth management business. 

UBS said provisions for litigation, regulatory and similar matters at the end of the second quarter were 2.44 billion francs, slightly up from 2.33 billion at end-March. 

In July, UBS entered into an agreement under which the bank will pay $850m to resolve litigation over residential mortgage-backed securities.

A significant portion of this amount will be borne by other parties that indemnified UBS, the bank said.

The bank confirmed its 2020 targets.