British Gas made record profits mainly by writing off some of its bad debt costs, which reduced its operating expenses by £500 million. This was due to a change in the way that Ofgem sets the price cap for standard variable tariffs, which increased the allowance for bad debt by £500 million.