Director Patty Jenkins' critical and commercial hit Wonder Woman was the most profitable superhero movie of 2017.

The declaration comes courtesy of Deadline, which crunched the numbers to determine which Hollywood releases netted the most money for the studios. Produced for an estimated $149 million, Wonder Woman grossed nearly $822 million worldwide. When all was said and done, Warner Bros. is believed to have pocketed $252.9 million in profit.

RELATED: Wonder Woman Draws Record Ratings in Its HBO Premiere

The film came in at No. 6 on Deadline's list, edging out fellow superhero features Spider-Man: Homecoming ($200.1 million), Thor: Ragnarok ($174.2 million) and Guardians of the Galaxy Vol. 2 ($154.7 million).

The website's formula factors in domestic and international box office revenues, production, promotional and distribution costs, co-financing, residual deals and the like. What's not included is licensing and merchandising, which can mean big bucks for a Hollywood blockbuster.

RELATED: Lynda Carter Addresses Possibility of a Wonder Woman 2 Appearance

Star Wars: The Last Jedi topped the Deadline chart, of course, bringing in an estimated $417.5 million in profit for Disney and Lucasfilm. The list also includes a couple of surprises, with low-budget horror hits It and Get Out coming in at No. 5 and No. 10, respectively.

The first unequivocal hit in Warner Bros.' struggling DC Extended Universe, Wonder Woman saw Gal Gadot reprise her role as Diana of Themyscira from Batman v Superman: Dawn of Justice. The film earned widespread critical acclaim, as well as a quick green light for a sequel, set for release on Nov. 1, 2019.

(via Heroic Hollywood)