Revenue is the important number to look at - Wikipedia has it at $329.5M as of 2014. Profit is after salaries - when all the early Firefox people left, they were replaced by other programmers, who probably cost a bit less but not a whole lot. I think tsunamifury's estimate of $500K-1M minimum isn't out of line, but even then, a team of 20 people making $1M fully-loaded costs $20M, which isn't exorbitant. Mozilla's revenue was estimated at $57M in 2006.