From IMDB:
"Box Office
Budget: $170,000,000 (estimated)
Opening Weekend: $44,026,211 (USA) (19 December 2010) (3451 Screens)
Gross: $400,062,763 (Worldwide) (1 May 2011)"
This is a big profit in my opinion.
It doesn't count how much they spent on advertizing, and they were still hoping for way more than that.