Your Privacy

By accessing this website, you acknowledge that Edmunds and its third-party business partners may use cookies, pixels, and similar technologies to collect information about you and your interactions with the website as described in our Privacy Statement; and you agree that your use of the website is subject to our Visitor Agreement.
Skip to main content
Skip to Filters
862 listings

$0
BMW X5 rebates in 94039
Check your savings potential before you buy

  • Price Drop
    • 25,350 miles
    • No accidents, 1 owner, personal use only
    • 14 mi est. electric range
    • 5 Seats, 23 City / 25 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Phoenix, AZ / 623 miles away from Mountain View, CA

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (23 City/25 Highway)

    Listing Information:

    VIN: 5UXKT0C54J0W03220
    Stock: 2003745698
    Certified Pre-Owned: No
    Listed since: 05-16-2025

  • $17,490
    fair price
    $108 below market
    • 83,145 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 24 Hwy MPG
    • Contra Costa County Public Auto Auction (44 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Pittsburg, CA / 44 miles away from Mountain View, CA

    We are open Mon-Fri From 9:30am-5:30pm. Saturday From 9:30am-5:00pm Sunday From 11-5PM.Financing Available! Trade-Ins Welcome!Hablamos Espanol!Dealer ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C58G0S92446
    Stock: S92446
    Certified Pre-Owned: No
    Listed since: 05-07-2025

  • $9,900
    good price
    $1,383 below market
    • 166,077 miles
    • 1 accident, 2 owners, corporate fleet vehicle
    • 5 Seats, 18 City / 24 Hwy MPG
    • Gateway Motors (20 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Hayward, CA / 20 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C53G0P25784
    Stock: P25784
    Certified Pre-Owned: No
    Listed since: 04-24-2025

  • Stock photo**
    $16,900
    good price
    $1,002 below market
    • 113,305 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 24 Hwy MPG
    • Oakland Kia (31 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Oakland, CA / 31 miles away from Mountain View, CA

    Recent Arrival!Clean CARFAX. Priced below KBB Fair Purchase Price!2018 BMW X5 Alpine White xDrive35i 3.0L I6 DOHC 24V TwinPower Turbo 8-Speed Automa...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C55J0Y00167
    Stock: PY00167
    Certified Pre-Owned: No
    Listed since: 05-08-2025

  • Price Drop
    $37,300
    fair price
    $1,147 below market
    • 34,266 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 20 City / 26 Hwy MPG
    • Volvo Cars Marin (46 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in San Rafael, CA / 46 miles away from Mountain View, CA

    PREMIUM PACKAGERemote Engine StartWiFi HotspotHead-Up DisplaySiriusXM Satellite Radio with 1 Year All AccessEnhanced USB and Bluetooth4-Zone Automatic...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    22 Combined MPG (20 City/26 Highway)

    Listing Information:

    VIN: 5UXCR6C05L9C74796
    Stock: 25397A
    Certified Pre-Owned: No
    Listed since: 03-17-2025

  • Price Drop
    $18,191
    fair price
    $564 above market
    • 93,279 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 25 Hwy MPG
    • Star One Motors (19 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Hayward, CA / 19 miles away from Mountain View, CA

    Excellent condition, clean title, clean Carfax records, many extras you must see. The front windshield is in excellent condition. The paint is in grea...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C52J0Z21119
    Stock: Z21119
    Certified Pre-Owned: No
    Listed since: 11-28-2024

  • $18,988
    fair price
    $662 above market
    • 87,667 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 25 Hwy MPG
    • Santa Cruz Motors (29 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Santa Cruz, CA / 29 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C54J0Z16326
    Stock: 3741
    Certified Pre-Owned: No
    Listed since: 06-18-2024

  • $34,998
    fair price
    $166 above market
    • 29,451 miles
    • No accidents, personal use only
    • 5 Seats, 21 City / 26 Hwy MPG
    • CarMax Capitol Expressway (14 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in San Jose, CA / 14 miles away from Mountain View, CA

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (21 City/26 Highway)

    Listing Information:

    VIN: 5UXCR4C08L9C95663
    Stock: 26964176
    Certified Pre-Owned: No

  • Price Drop
    $29,993
    fair price
    $633 below market
    • 57,232 miles
    • 1 accident, 2 owners, personal use
    • 5 Seats, 21 City / 26 Hwy MPG
    • AutoNation Acura Stevens Creek (7 mi away)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Santa Clara, CA / 7 miles away from Mountain View, CA

    Premium PackageParking Assistance PackagePanoramic RoofNavigation SystemRemote Engine StartKeyless StartRear SpoilerHeads-Up DisplayBlack; Sen...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    23 Combined MPG (21 City/26 Highway)

    Listing Information:

    VIN: 5UXCR4C05L9C03232
    Stock: L9C03232
    Certified Pre-Owned: No
    Listed since: 04-20-2025

  • Price Drop
    $17,498
    fair price
    $322 above market
    • 103,519 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 25 Hwy MPG
    • Central Auto (93 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Sacramento, CA / 93 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C53J0Z22103
    Stock: 5852
    Certified Pre-Owned: No
    Listed since: 04-25-2025

  • New Listing
    • 64,934 miles
    • No accidents, 2 owners, corporate fleet vehicle
    • 5 Seats, 18 City / 25 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    • Power Driver Seat
    Close

    Located in Dallas, TX / 1,460 miles away from Mountain View, CA

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: No

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C54G0R70749
    Stock: 2003562253
    Certified Pre-Owned: No
    Listed since: 03-13-2025

  • $20,495
    fair price
    $413 below market
    • 80,700 miles
    • 1 accident, 2 owners, personal use
    • 5 Seats, 18 City / 25 Hwy MPG
    • Prestige Motorsport (97 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Rancho Cordova, CA / 97 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C59J0X08863
    Stock: PX08863
    Certified Pre-Owned: No

  • New Listing
    $15,988
    fair price
    $414 above market
    • 99,683 miles
    • 1 accident, 3 owners, personal use only
    • 5 Seats, 23 City / 31 Hwy MPG
    • Lexus of Stevens Creek (8 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in San Jose, CA / 8 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    26 Combined MPG (23 City/31 Highway)

    Listing Information:

    VIN: 5UXKS4C56E0J94900
    Stock: 3T10993
    Certified Pre-Owned: No
    Listed since: 05-14-2025

  • Price Drop
    $24,990
    fair price
    $836 above market
    • 51,420 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 18 City / 25 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Phoenix, AZ / 623 miles away from Mountain View, CA

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C52J0X08428
    Stock: 2003669562
    Certified Pre-Owned: No
    Listed since: 04-29-2025

  • $23,590
    fair price
    $597 below market
    • 62,109 miles
    • 1 accident, 3 owners, personal use
    • 5 Seats, 18 City / 24 Hwy MPG
    • Carvana (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Birmingham, AL / 1,991 miles away from Mountain View, CA

    At Carvana, we go miles beyond the extra mile. That's why we provide you with a convenient, fast, and hassle-free car buying experience that puts you ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C57JL072723
    Stock: 2003493144
    Certified Pre-Owned: No
    Listed since: 03-18-2025

  • New Listing
    $23,998
    fair price
    $128 below market
    • 55,878 miles
    • 7 Seats, 18 City / 25 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from AZ to CA*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Tolleson, AZ / 615 miles away from Mountain View, CA

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary Unavailable.

    Features and Specs:

    21 Combined MPG (18 City/25 Highway)

    Listing Information:

    VIN: 5UXKR2C59J0Z22283
    Stock: 26637855
    Certified Pre-Owned: No

  • New Listing
    $14,999
    fair price
    $505 above market
    • 111,423 miles
    • 1 accident, 2 owners, personal use
    • 5 Seats, 18 City / 24 Hwy MPG
    • BMG Auto Sales (12 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Fremont, CA / 12 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C54G0P20576
    Stock: I1005182
    Certified Pre-Owned: No
    Listed since: 05-23-2025

  • $28,998
    fair price
    $940 above market
    • 39,182 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 18 City / 24 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CO to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Colorado Springs, CO / 948 miles away from Mountain View, CA

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    20 Combined MPG (18 City/24 Highway)

    Listing Information:

    VIN: 5UXKR0C50JL077259
    Stock: 26866985
    Certified Pre-Owned: No

    • 44,173 miles
    • No accidents, 3 owners, personal use only
    • 14 mi est. electric range
    • 5 Seats, 23 City / 25 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from VA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Woodbridge, VA / 2,415 miles away from Mountain View, CA

    CarMax values transparency and wants you to love your next car, not settle on it. Certain vehicles may have unrepaired safety recalls. Check nhtsa.gov...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: Yes

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (23 City/25 Highway)

    Listing Information:

    VIN: 5UXKT0C54J0W03881
    Stock: 26840555
    Certified Pre-Owned: No

  • $15,995
    fair price
    $211 above market
    • 128,401 miles
    • 2 accidents, 2 owners, personal use
    • 5 Seats, 23 City / 30 Hwy MPG
    • High Class Auto Sales (92 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rancho Cordova, CA / 92 miles away from Mountain View, CA

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    26 Combined MPG (23 City/30 Highway)

    Listing Information:

    VIN: 5UXKS4C55G0N13433
    Stock: N13433
    Certified Pre-Owned: No

  • Stock photo**
    • 53,412 miles
    • 2 accidents, 1 owner, personal use only
    • 14 mi est. electric range
    • 5 Seats, 23 City / 25 Hwy MPG
    • Weatherford BMW (34 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Berkeley, CA / 34 miles away from Mountain View, CA

    Glacier Silver Metallic 2018 BMW X5 xDrive40e AWD 8-Speed Automatic 2.0L I4 DOHC Ivory White/Black Leather.WHY BUY FROM US Weatherford BMW is part of ...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Clean Title

    Salvage Vehicle: No

    Frame Damage: No

    Theft History: No

    Lemon Status: No

    Free History Report: No

    Features and Specs:

    24 Combined MPG (23 City/25 Highway)

    Listing Information:

    VIN: 5UXKT0C56J0W00822
    Stock: W260012A
    Certified Pre-Owned: No
    Listed since: 05-12-2025

Showing 64 - 84 out of 862 listings

Consumer Reviews for the BMW X5

Read recent reviews for the BMW X5
Overall Consumer Rating
4.1 out of 5 stars31 Reviews
Write a vehicle reviewSee all 31 reviews
  • 5 star
    (71%)
  • 4 star
    (3%)
  • 3 star
    (6%)
  • 2 star
    (6%)
  • 1 star
    (13%)
5 out of 5 stars

Great SUV

Tim Wilson , 02/12/2018
2017 BMW X5 xDrive35i 4dr SUV AWD (3.0L 6cyl Turbo 8A)
I read some of the reviews that were complaining about their X5. I suspect some of these are fake as we love our X5. Engine is smooth and powerful and gives respectable mileage for an SUV. Ride is firmer than other SUVs but that’s the reason why you bought a BMW. The sportiness of the X5 makes it fun to drive and useful as well. Doesn’t have a third row but we didn’t need one. Cargo area … is what you see. Interior is what I would call spartan luxury. Surfaces are nice but not the soft leather feel like some cars. More of a sturdy feel to the surfaces. I don’t have any complaints about this car and I’d buy it again in a heartbeat.
Report abuse

Used 2018 BMW X5 in Mountain View, CA Values

Estimated values
2018 BMW X5 xDrive40e iPerformance 4dr SUV AWD (2.0L 4cyl Turbo gas/electric plug-in hybrid 8A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$16,761$18,707$20,308
Clean$16,353$18,241$19,791
Average$15,673$17,464$18,929
Rough$14,788$16,455$17,809

The average list price of a used 2018 BMW X5 in Mountain View, California is $22,590. The average mileage on a used BMW X5 2018 for sale in Mountain View, California is 75,457. Based on the average mileage of 75,457 for used 2018 BMW X5 for sale in Mountain View, CA and using an average vehicle condition rating, which means the vehicle may have a few mechanical and/or cosmetic problems and may require a considerable amount of reconditioning, we appraise the average trade-in value of a used BMW X5 2018 in Mountain View, California to be $15,673.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius100 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

Body Type

Trim

Mileage

Accidents & History

EV Details

Engine & Drivetrain

Exterior Color

Interior Color

Total Seating

Edmunds Review

Features

Options & Packages

MPG

Listing Details


* Delivery of any kind does not apply to Alaska and Hawaii. Contact the dealer for delivery details, restrictions and costs.