Magellan Midstream Partners, L.P. engages in the transportation, storage, and distribution of refined petroleum products and crude oil in the United States. It operates through Refined Products, Crude Oil, and Marine Storage segments. The company operates refined products pipeline that transports gasoline, distillates, aviation fuels, and liquefied petroleum gases for independent and integrated oil companies, wholesalers, retailers, traders, railroads, airlines, and regional farm cooperatives; leases pipeline and storage tank capacity to shippers; and provides services, including terminalling, ethanol and biodiesel unloading and loading, additive injection, custom blending, laboratory testing, and data services. It also owns and operates crude oil pipelines and storage facilities; and marine terminals located along coastal waterways that provide distribution, storage, blending, inventory management, and additive injection services for refiners, marketers, traders, and other end users of petroleum products. As of December 31, 2015, the company had 9,500-mile refined products pipeline system with 52 terminals, as well as 28 independent terminals; 1,100-mile ammonia pipeline system; approximately 1,700 miles of crude oil pipelines and storage facilities with an aggregate storage capacity of approximately 22 million barrels; and 5 marine terminals located along coastal waterways with an aggregate storage capacity of approximately 26 million barrels.