In general, a dealership will pay somewhere between the wholesale and retail value of a car. The wholesale value is the amount that a dealer would pay to purchase the car from another dealer or an auction. The retail value is the amount that the dealer would sell the car to a customer. The difference between the wholesale and retail value is the dealer's gross profit.
Dealerships also typically add additional charges to the price of a car, such as a destination fee, a documentation fee, and an advertising fee. These charges can vary from dealer to dealer.
Ultimately, the amount a dealership pays for a car is determined by the individual dealership's business model and pricing strategy.