The expense ratio is calculated by dividing the total expenses of the fund by its average net assets. It represents the percentage of an investor's funds used to cover the fund's operating costs.