Marginal cost is the additional cost incurred by producing one more unit of a good or service. It is calculated…