How do I display the result of several formula fields in the same form?

How do I display the result of several formula fields in the same form?

I have several formula fields that calculate the subtotal price of products when the quantity is entered. How do I generate a sum total of the formula results and display a "total cost" field in the form ?