If you replace the oxygen sensor in your car yourself you can replace the oxygen sensor for $100.00 or less.
But if you take the car to a shop to have the oxygen sensor replaced it can cost $150.00 to $300.00 for parts and the labor depending on your auto shops hourly rates and how hard it is to get at the oxygen sensor and how hard it is for the oxygen sensor to be removed.