The meaning of the idiom Costs an arm and a leg is to refer to anything that is hugely expensive.
1. The CEO backed out from the tender race at the last moment as he realized that it would cost his company an arm and a leg.
2. Ezra felt drained after his purchase of a new car. It has cost him an arm and a leg.