<P> "Shape of You" peaked at number - one on the singles charts of 34 countries, including the US Billboard Hot 100 (later becoming the best performing song of 2017), as well as the UK, Australian and Canadian singles charts . It has stayed at number one for a record - tying 16 consecutive weeks on the Canadian Hot 100, as well as 14 non-consecutive weeks on the UK Singles Chart, and 12 non-consecutive weeks on the Billboard Hot 100 . On 21 September 2017 it became the most streamed song on Spotify, with over 1.32 billion streams . It was the best - selling song of 2017 in the UK . </P> <P> The song won the Grammy Award for Best Pop Solo Performance at the 60th Annual Grammy Awards . </P> <P> The song was the last song written for Sheeran's third album ÷ . On 6 January 2017, when hosting The Radio 1 Breakfast Show, Sheeran revealed that "Shape of You" had originally been written with Rihanna in mind . As he had already written all the songs he wanted for the album, the song was therefore not intended to be included in the album . It was conceived as a duet between Rihanna and Rudimental, but the head of the record label convinced him to keep the song for himself . He said: </P> <P> "(' Shape of You') is actually a really random one because I went in to write songs for other people with a guy called Steve Mac and Johnny McDaid, and we were writing this song and I was like' this would really work for Rihanna,"' he explained . "And then I started singing lyrics like' putting Van The Man on the jukebox' and I was like' well she's not really going to sing that, is she?' And then we sort of decided halfway through that we were just going to make it for me ." </P>

Who did ed sheeran write shape of you for