In the end, the film grossed $873m at the Worldwide box office, of which WB will pocket $367m. (The rest going to the theaters that showed the film.) Additionally, they calculate that the film earned WB another $314m in Home Entertainment and Television Revenue. This brings the film a Total Revenue amount of $681m for the studio.
However, that's just half the story... there are the costs to subtract. The film carried a Production Cost of $250m, and another $157m was spent on Prints and Advertising. Add in the $46m in Video release costs, and another $122m in assorted Participation Fees to the actors, producers and directors who had a share of the profits, Interest and Overhead costs, and you get a Total Cost amount of $575m.
Deducting that total cost from the total revenue, we find that the film ultimately earned $105m for Warner Bros.