Boeing is taking a $4.9 billion hit to cover the costs of the grounding of its 737 Max aircraft after two deadly crashes. 

The charge is set to wipe out profits when the world's biggest planemaker posts quarterly results next week.

In a statement, Boeing says its "best estimate at this time" is that the 737 Max will return to service in the last three months of this year.