Average cost: determines the accounting profit maximisation and minimal point where the firm can remain profitable.
Marginal cost: determines economic profit maximisation and minimal 'shut-down' point where the firm should still operate, even if at an accounting loss.
Note: Average cost (AC) and marginal cost (MC) are related. The rate of change of AC is always positive when MC is positive.