A film song has a strange job. It has to serve a scene for a few minutes, then somehow survive on its own once the credits roll.
The six songs below were all written for movies, and each one went on to sell on a scale that rivals the films around it. One caution first: studios rarely publish a clean dollar comparison between a single’s sales and a film’s box office. The sales figures here are widely reported estimates, and they show just how large these songs became.
White Christmas

Irving Berlin wrote this one for the 1942 film Holiday Inn, with Bing Crosby singing it. It won the Academy Award for Best Original Song in 1943 and later lent its title to the 1954 film that also starred Crosby.
The numbers are hard to ignore. It’s considered the biggest selling single of all time, with an estimated 50 million physical copies sold worldwide. Few film songs have ever come close to that kind of reach.
My Heart Will Go On

James Horner composed it for Titanic, with lyrics by Will Jennings. It topped the charts in more than 25 countries and was the best selling single of 1998. Celine Dion’s performance turned a movie theme into a global fixture.
Reported sales vary by source. Worldwide sales are estimated at 18 million copies, making it the second best selling single by a female artist, behind Whitney Houston. It also won the Oscar for Best Original Song and four Grammy Awards.
Let It Go

Kristen Anderson-Lopez and Robert Lopez wrote it for Disney’s Frozen, where Idina Menzel sang it as Elsa. What began as a liberating moment for a character turned into a global phenomenon. It took the Oscar and the Golden Globe for Best Original Song.
Its sales held up in a crowded 2014 market. Both Let It Go and Pharrell’s Happy came from animated movies and landed among that year’s top sellers in the United States. The Frozen album itself sold 3.53 million copies that year.
Happy

Pharrell Williams wrote Happy for the animated sequel Despicable Me 2. It outgrew the film quickly and became a standalone hit that people knew without ever seeing a Minion.
The proof is in the year-end tallies. Official Charts named it the best selling song of 2014, with 6.45 million copies sold in the United States. In the UK it sold over 1.94 million downloads, one of the biggest selling singles ever there.
I Just Called to Say I Love You

Stevie Wonder wrote this for the 1984 comedy The Woman in Red. He wrote seven songs for the film, and this became his biggest worldwide hit to date. The film was a modest comedy, while the song took on a life far larger than the movie.
Recognition followed fast. It earned the Oscar for Best Original Song the following year. Plenty of people know the song today without being able to name the film it came from.
You’re the One That I Want

John Farrar wrote and produced it for Grease, releasing it in 1978 as the second single from the film. The duet gave John Travolta and Olivia Newton John a musical high point.
The sales are huge. It has sold over 4 million copies in the United States and the United Kingdom alone, with estimates of more than 15 million overall. The Grease soundtrack album has sold over 38 million copies worldwide.