The price cap is set by the regulator, Ofgem, and is based on the level of wholesale energy prices and the costs that energy suppliers incur when supplying energy. The cap is reviewed and updated every six months to reflect changes in wholesale prices and supplier costs.