The song debuted at number one on the Billboard Hot 100, selling 240,000 downloads and gaining 20 million streams in its debut week in the US, becoming Sheeran's first number one song in the country.[35] Sheeran also became the first artist to debut two songs in the top 10 the same week in the history of the Hot 100, with "Castle on the Hill" also debuting at number six.[35] "Shape of You" topped the Hot 100 for 12 non-consecutive weeks.[6] In its fourth week at number one, the song also topped the Mainstream Top 40, becoming Sheeran's second number-one single on the chart (after 2015's "Thinking Out Loud").