"Ant-Man" crept past new opener "Pixels" to claim the top spot at the box office this weekend by an ant-sized margin. The Disney and Marvel superhero pic brought in $24.8 million over the weekend, bringing its domestic total to $106.1 million, according to Rentrak estimates Sunday.

"Pixels," meanwhile, just barely missed first place with a $24 million debut. While studios always hope for the bragging rights of a No. 1 debut, the real issue here is whether or not the Adam Sandler end-of-the-world comedy will make up its $88 million production budget.

Holdovers "Minions" and "Trainwreck" took the third and fourth spots with $22.1 million and $17.3 million, respectively.

Meanwhile, the R-rated boxing drama "Southpaw" surpassed expectations and landed in the top five with its $16.5 million opening.

Its performance is likely due to star Jake Gyllenhaal's enthusiastic promotion of the film and also the fact that it provides an alternative to the standard summer blockbuster fare.

"Paper Towns," an adaptation of John Green's coming-of-age novel, opened in sixth place with $12.5 million. The Fox film only cost $12 million to produce.

Estimated weekend ticket sales:

1. "Ant-Man," $24.8 million

2. "Pixels," $24 million

3. "Minions," $22.1 million

4. "Trainwreck," $17.3 million

5. "Southpaw," $16.5 million

6. "Paper Towns," $12.5 million

7. "Inside Out," $7.4 million

8. "Jurassic World," $6.9 million

9. "Mr. Holmes," $2.8 million

10. "Terminator Genisys," $2.4 million