Skip to main content
Skip to Filters
1,521 listings
  • New Listing
    $12,500
    fair price
    $85 below market
    • 186,000 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • MPS Auto Sales (102 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Tucson, AZ / 102 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBDL6H0163942
    Stock: 163942
    Certified Pre-Owned: No
    Listed since: 04-18-2025

  • $19,900
    fair price
    $584 above market
    • 53,540 miles
    • No accidents, 2 owners, personal use
    • 4cyl automatic
    • Scottsdale Autos Online (17 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Scottsdale, AZ / 17 miles away from Mesa, AZ

    This stylish and super clean little 2017 Mazda CX-5 Touring is offered to you for sale by Scottsdale Autos Online. Equipped with Nav, Back-up camera, ...

    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:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFACL5H0191517
    Stock: P1532
    Certified Pre-Owned: No
    Listed since: 04-12-2025

  • Stock photo**
    $17,999
    fair price
    $62 below market
    • 65,647 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • Jim Click Mazda Eastside (100 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Tucson, AZ / 100 miles away from Mesa, AZ

    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:

    27 Combined MPG (25 City/32 Highway)

    Listing Information:

    VIN: JM3KE2DY4F0508543
    Stock: L250382A
    Certified Pre-Owned: No
    Listed since: 04-16-2025

  • $21,990
    fair price
    $529 above market
    • 50,921 miles
    • No accidents, 2 owners, personal use only
    • 4cyl automatic
    • O'Rielly Chevrolet (99 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Tucson, AZ / 99 miles away from Mesa, AZ

    *Equipment*The leather seats in this model are a must for buyers looking for comfort, durability, and style. This mid-size suv features a high end BOS...

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM2K0533639
    Stock: D533639
    Certified Pre-Owned: No
    Listed since: 04-03-2025

  • Price Drop
    • 119,821 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from WI to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Milwaukee, WI / 1,450 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBDL3H0207105
    Stock: 26509626
    Certified Pre-Owned: No

    • 94,911 miles
    • No accidents, 2 owners, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from TX to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Fort Worth, TX / 839 miles away from Mesa, AZ

    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:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFADL0H0118084
    Stock: 27072842
    Certified Pre-Owned: No

    • 85,577 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from TX to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Tyler, TX / 961 miles away from Mesa, AZ

    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:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFACL2H0212937
    Stock: 26852630
    Certified Pre-Owned: No

  • New Listing
    $18,998
    fair price
    $566 above market
    • 88,912 miles
    • No accidents, 1 owner, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from MD to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Brandywine, MD / 1,977 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBDL3H0168578
    Stock: 27018413
    Certified Pre-Owned: No

    • 59,340 miles
    • No accidents, 2 owners, personal use only
    • 4cyl automatic
    • Carvana - Phoenix (16 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Phoenix, AZ / 16 miles away from Mesa, AZ

    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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KE4DY2F0474243
    Stock: 2003606708
    Certified Pre-Owned: No
    Listed since: 03-26-2025

  • $23,590
    fair price
    $840 above market
    • 48,683 miles
    • 1 accident, 2 owners, personal use
    • 4cyl automatic
    • Carvana - Phoenix (16 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Phoenix, AZ / 16 miles away from Mesa, AZ

    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:

    24 Combined MPG (22 City/27 Highway)

    Listing Information:

    VIN: JM3KFBDYXK0598126
    Stock: 2003655506
    Certified Pre-Owned: No
    Listed since: 04-11-2025

  • New Listing
    $15,998
    fair price
    $252 above market
    • 99,305 miles
    • 1 accident, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from WA to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Puyallup, WA / 1,100 miles away from Mesa, AZ

    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: 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/29 Highway)

    Listing Information:

    VIN: JM3KFBCL2H0125660
    Stock: 27148628
    Certified Pre-Owned: No

  • New Listing
    $18,998
    fair price
    $722 above market
    • 75,086 miles
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from NJ to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Sicklersville, NJ / 2,077 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBDL9H0210946
    Stock: 27110230
    Certified Pre-Owned: No

  • $18,998
    fair price
    $231 above market
    • 61,374 miles
    • 2 accidents, 2 owners, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from PA to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in King of Prussia, PA / 2,057 miles away from Mesa, AZ

    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: 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/29 Highway)

    Listing Information:

    VIN: JM3KFBCL6H0126603
    Stock: 27018020
    Certified Pre-Owned: No

  • New Listing
    • 62,736 miles
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Oklahoma City, OK / 830 miles away from Mesa, AZ

    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 Unavailable.

    Features and Specs:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFACL8H0141825
    Stock: 2003640607
    Certified Pre-Owned: No
    Listed since: 04-11-2025

    • 53,566 miles
    • No accidents, 2 owners, personal use
    • 4cyl automatic
    • Mark Mazda Scottsdale (8 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Scottsdale, AZ / 8 miles away from Mesa, AZ

    {**2017 MAZDA CX5 GRAND TOURING SUV**ONLY 53,566 MILES**MAZDA NAVIGATION SYSTEM**POWER GLASS SUNROOF**LEATHER SEATING**BOSE 10 SPEAKER PREMIUM CENTER ...

    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:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFADL8H0187685
    Stock: MZ6527B
    Certified Pre-Owned: No
    Listed since: 03-31-2025

  • Price Drop
    • 79,089 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • Larry H. Miller Hyundai Peoria (28 mi away)
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Peoria, AZ / 28 miles away from Mesa, AZ

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM7K1579763
    Stock: HYN251449A
    Certified Pre-Owned: No
    Listed since: 04-19-2025

    • 37,690 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from VA to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Sterling, VA / 1,947 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBCL1H0178611
    Stock: 27275105
    Certified Pre-Owned: No

  • New Listing
    • 114,783 miles
    • No accidents, 3 owners, personal use
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from TN to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Upgraded Headlights
    • Tire Pressure Warnin...
    Close

    Located in Bristol, TN / 1,684 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBBL4H0218035
    Stock: 26600327
    Certified Pre-Owned: No

  • New Listing
    • 118,093 miles
    • No accidents, 2 owners, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from VA to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Charlottesville, VA / 1,892 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBCL3H0136568
    Stock: 27273164
    Certified Pre-Owned: No

  • $16,998
    fair price
    $394 below market
    • 81,960 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from FL to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Brandenton, FL / 1,787 miles away from Mesa, AZ

    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:

    27 Combined MPG (24 City/31 Highway)

    Listing Information:

    VIN: JM3KFACL7H0195276
    Stock: 27100264
    Certified Pre-Owned: No

  • New Listing
    • 31,238 miles
    • No accidents, 1 owner, personal use only
    • 4cyl automatic
    • CarMax (In-stock online)
    • Transfer available from MS to AZ*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Saltillo, MS / 1,328 miles away from Mesa, AZ

    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:

    26 Combined MPG (23 City/29 Highway)

    Listing Information:

    VIN: JM3KFBDL3H0146970
    Stock: 26690210
    Certified Pre-Owned: No

Showing 43 - 63 out of 1,521 listings

Consumer Reviews for the Mazda CX-5

Read recent reviews for the Mazda CX-5
Overall Consumer Rating
4.4 out of 5 stars107 Reviews
Write a vehicle reviewSee all 107 reviews
  • 5 star
    (67%)
  • 4 star
    (19%)
  • 3 star
    (7%)
  • 2 star
    (2%)
  • 1 star
    (5%)
5 out of 5 stars

More zoom-zoom than your typical compact SUV

Jeff B, 06/02/2017
2017 Mazda CX-5 Grand Touring 4dr SUV AWD (2.5L 4cyl 6A)
If money was no object, I'd be driving a Porsche Cayenne S. But since my current car budget did not have room for a $90K SUV (and the associated high maint costs), I feel I did the next best thing and got a Mazda CX-5 GT with prem pkg. No, it's not nearly as fast as a Cayenne, but for about a third the the price, this little SUV acts a lot like that Swabian icon of the road. This is my … second CX5. I had a 2013 as well. The 2017 is a HUGE upgrade from the 2013 model. I got my new one in Soul Red Crystal, and it literally glows! Love it. The 2017 is MUCH quieter inside than the earlier model, and compared to even a new Honda CRV, or a Ford Escape, the Mazda is quieter and more composed on the road, and handles much better than those rivals. Although the stability control is a little too aggressive for my taste, you can still toss this thing around like a sports sedan and not worry about the suspension getting flabby & floppy on you. It just tracks beautifully and handles mid corner bumps with aplomb (just like the Cayenne). If your main goal is having a lot of interior room & cargo space, go for the CRV (which is MUCH roomier) but in every other aspect I can think of, the Mazda scores higher. The Honda is more like a nice mini-van, disguised as an SUV. Sure it's roomy and peppy, but it in no way rewards the enthusiast driver like the Mazda. The parchment leather interior is just gorgeous, and looks much nicer than (for example) the interior in a BMW X3 or X5. Mazda obsessed over every little detail in this car. I was a bit concerned that I might not like all the "active safety" features, but they are so well done and so well integrated into the operation of the vehicle, that it was easy to get used to, and now I miss them in my other cars. With about 1100 miles on the clock I am averaging 26.9mpg. I do not do much urban driving, but still I am very happy with that result. I expect this result will improve as the engine breaks in. (Over 4 years I averaged 28.4mpg in my 2013 CX5). In short, if you want a "driver's car" but need the room and practicality of an SUV get the CX5 -- unless of course you can spring for the Cayenne :)
Report abuse

Used 2017 Mazda CX-5 in Mesa, AZ Values

Estimated values
2017 Mazda CX-5 Grand Touring 4dr SUV AWD (2.5L 4cyl 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$14,222$17,268$19,609
Clean$13,587$16,468$18,668
Average$12,529$15,135$17,100
Rough$11,152$13,402$15,062

The average list price of a used 2017 Mazda CX-5 in Mesa, Arizona is $18,773. The average mileage on a used Mazda CX-5 2017 for sale in Mesa, Arizona is 79,442. Based on the average mileage of 79,442 for used 2017 Mazda CX-5 for sale in Mesa, AZ 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 Mazda CX-5 2017 in Mesa, Arizona to be $12,529.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius200 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

Body Type

Trim

Mileage

Accidents & History

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.