The energy sector’s long-term sustainability increasingly relies on widespread renewable energy generation. Shared energy storage embodies sharing economy principles within the storage industry. This approach allows storage facilities to monetize unused capacity by offering it to users, generating additional revenue for providers, and supporting renewable energy prosumers’ growth. However, high investment costs and long payback periods often hinder the development of battery storage. To address this challenge, we propose a shared storage investment framework. In this framework, a storage investor virtualizes physical storage equipment, enabling prosumers to access storage services as though they owned the batteries themselves. We adopt a cooperative game approach to incorporate storage sharing into the design phase of energy systems. To ensure a fair distribution of cooperative benefits, we introduce a benefit allocation mechanism based on contributions to energy storage sharing. Utilizing realistic data from three buildings, our simulations demonstrate that the shared storage mechanism creates a win–win situation for all participants. It also enhances the self-sufficiency and self-consumption of renewable energy. This paper provides valuable insights for shared storage investors regarding optimal design and benefit allocation among multiple stakeholders.