Generally speaking, especially long haul flights, the economy class pays for the total flight, business class is most of the profit and first class the executive bonuses. Most flights use a load factor of around 75-85% of economy seats filled to break even on the flights expenses.