Sprint Corp. is nearing an agreement on the price, capital structure and termination fee for an acquisition of T-Mobile US Inc. that could value the wireless carrier at almost $40 a share, people with knowledge of the matter said.

Sprint will offer about 50 percent stock and 50 percent cash for T-Mobile, leaving Bonn-based parent Deutsche Telekom AG with about a 15 percent stake in the combined company, according to the people, who asked not to be identified because the process is private. The agreement could be announced as soon as July, the people said. At just under $40 a share, T-Mobile’s equity would be valued at about $31 billion.

Subscribe Now

Complete access to real-time information and analysis of news and trends in the industry.

14-Day Free Trial

No credit card required. Complete access to articles, breaking news and industry data.