A big mistake with this math is that globally developers are not paid anywhere close to 250k/yr even fully loaded for the company. In my country in Europe it's closer to 60k/yr fully loaded. There is cheaper. Also most companies aren't gonna build something from scratch, they are going to use something else that is also available. That being said this type of exercise is good to show because many managers do not do it.