<Tr> <Td_colspan="2"> "Shape of You" on YouTube </Td> </Tr> <P> "Shape of You" is a song by English singer - songwriter Ed Sheeran . It was released as a digital download on 6 January 2017 as one of the double lead singles from his third studio album ÷ (2017), along with "Castle on the Hill". </P> <P> The dancehall - infused pop song was written and produced by Ed Sheeran and Steve Mac, along with additional writing contributions from Johnny McDaid, Kandi Burruss, Tameka "Tiny" Cottle, and Kevin "She'kspere" Briggs . </P> <P> "Shape of You" peaked at number - one on the singles charts of 44 countries, including the US Billboard Hot 100, as well as the UK, Australian and Canadian singles charts . It has stayed at number one for 16 consecutive weeks on the Canadian Hot 100 tied for the record, and 14 non-consecutive weeks on the UK Singles Chart, and 12 non-consecutive weeks on the Billboard Hot 100 . On September 21, 2017, it became the most streamed song on Spotify, with over 1.32 billion streams . </P>

Who wrote the song the shape of you