To cover the cost of running a stake pool, the stake pool operator takes a fixed fee in ada. The cost per epoch is calculated from the total ada rewarded to a stake pool, before the operator takes their profit margin.