Shrek opened on around 6,000 screens across 3,587 theaters; eleven of them showed the film digitally, made possible by the THX Division of Lucasfilm. This was the first time that DreamWorks had shown one of its films digitally. The film earned $11.6 million on its first day and $42.3 million on its opening weekend, topping the box office for the weekend and averaging $11,805 from 3,587 theaters. In its second weekend, due to the Memorial Day Weekend holiday, the film gained 0.3 percent to $42.5 million and $55.2 million over the four-day weekend, resulting in an overall 30 percent gain. Despite this, the film finished in second place behind Pearl Harbor and had an average of $15,240 from expanding to 3,623 sites. In its third weekend, the film retreated 34 percent to $28.2 million for a $7,695 average from expanding to 3,661 theaters. The film closed on December 6, 2001, after grossing $267.7 million domestically, along with $216.7 million overseas, for a worldwide total of $484.4 million. Produced on a $60 million budget, the film was a huge box office smash and is the fourth highest-grossing film of 2001 behind Harry Potter and the Philosopher's Stone, The Lord of the Rings: The Fellowship of the Ring, and Monsters, Inc.. The film sold an estimated 47,290,600 tickets in North America.