Total cost is the total amount spent on producing a product or providing a service, while total revenue is the total income generated from selling that product or service. The difference between the two is known as profit or loss.