What was the total cost of giving birth?

Macy
What are the factors that contribute to the cost of giving birth in hospitals? Can the cost vary depending on the type of delivery?