For this usage, each country usually has a legal framework to define the calculation of ERP and selection of reference products, with variations across high-income countries (e.g., using the median price or instead the lowest price across the reference countries), but the majority use ex-factory prices.