There are two sets of costs to running online classes: the capital cost of buying the equipment and the variable cost of the labor. In this analysis, I am going to look at first year cash costs. The capital equipment can be amortized over multiple years in a true accounting analysis.
The economics of online education are amazingly good. There is at least an order of magnitude improvement over the costs of teaching in person.