How do You Calculate a Weighted Average?

To calculate a weighted average you need the total of whats being accounted and its projected estimate.You can calculate the average age of death by calculating the weighted average.