Skip to main content
Skip to Filters
1,990 listings
  • Stock photo**
    $22,275
    good price
    $1,444 below market
    • 36,397 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • South Bay Mazda (57 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Torrance, CA / 57 miles away from Riverside, CA

    Certified. SOUTH BAY MAZDA!!!! Recent Arrival! Clean CARFAX. One Owner, 4 Speakers, 4-Wheel Disc Brakes, ABS brakes, AppLink/Apple CarPlay and Android...

    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: JM3KFBAMXN0568243
    Stock: S568243
    Certified Pre-Owned: Yes
    Listed since: 06-11-2025

  • New Listing
    $25,998
    fair price
    $13 below market
    • 30,861 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 22 City / 27 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from SC to CA*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Columbia, SC / 2,063 miles away from Riverside, 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 (22 City/27 Highway)

    Listing Information:

    VIN: JM3KFBEY7L0828334
    Stock: 27138625
    Certified Pre-Owned: No

  • New Listing
    $22,495
    fair price
    $346 below market
    • 62,094 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Westcott Mazda (94 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in National City, CA / 94 miles away from Riverside, CA

    Westcott Mazda strives to provide a premium pre-owned inventory. We offer all makes and models and our Certified Pre-Owned vehicles are taken through ...

    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: JM3KFBCM0N0606723
    Stock: 28141
    Certified Pre-Owned: No
    Listed since: 04-02-2025

  • Appraise
    my car

    Get the Edmunds appraisal report and a no-obligation offer for your car

    See my car’s value
  • Price Drop
    $27,997
    fair price
    $376 below market
    • 35,382 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 22 City / 27 Hwy MPG
    • Culver City Mazda (60 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Culver City, CA / 60 miles away from Riverside, CA

    Hurry in quick this car won't last long at this price!Call (877 )801-1346.Certified. CARFAX One-Owner. 22/27 City/Highway MPGDeep Crystal Blue M...

    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 (22 City/27 Highway)

    Listing Information:

    VIN: JM3KFBAYXN0647348
    Stock: M25550A
    Certified Pre-Owned: Yes
    Listed since: 03-07-2025

  • Price Drop
    Stock photo**
    $27,874
    good price
    $1,383 below market
    • 23,172 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Culver City Mazda (60 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Culver City, CA / 60 miles away from Riverside, CA

    Hurry in quick this car won't last long at this price!Call (877 )801-1346.Certified. Clean CARFAX. CARFAX One-Owner. 24/30 City/Highway MPGMachi...

    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: JM3KFBEM7N1602546
    Stock: M251012A
    Certified Pre-Owned: Yes
    Listed since: 05-17-2025

  • $16,899
    good price
    $1,202 below market
    • 81,031 miles
    • 1 accident, 3 owners, rental vehicle
    • 5 Seats, 25 City / 31 Hwy MPG
    • Divine Auto Mall (8 mi away)
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Fontana, CA / 8 miles away from Riverside, CA

    Buckle up and get ready to zoom around town in this sleek Silver 2020 Mazda CX-5! This sporty SUV is powered by a 2.5L SKYACTIV-G 4-cylinder engine th...

    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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFACM6L0769870
    Stock: AE101192
    Certified Pre-Owned: No

  • $25,500
    fair price
    $500 above market
    • 20,017 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Galpin Mazda (65 mi away)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in North Hills, CA / 65 miles away from Riverside, CA

    DETAILS: 2022 Mazda CX-5 2.5 S Select Package in beautiful Jet Black Mica. Please take a look below at some of the features and benefits you'll be get...

    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: JM3KFBBM3N0605423
    Stock: D251317A
    Certified Pre-Owned: Yes
    Listed since: 05-26-2025

  • $15,495
    fair price
    $335 above market
    • 145,975 miles
    • No accidents, 2 owners, personal use only
    • 5 Seats, 25 City / 31 Hwy MPG
    • Esquivel Auto Depot (8 mi away)
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Rialto, CA / 8 miles away from Riverside, 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:

    28 Combined MPG (25 City/31 Highway)

    Listing Information:

    VIN: JM3KFADM4L0857783
    Stock: E857783
    Certified Pre-Owned: No

  • $24,980
    good price
    $1,491 below market
    • 26,149 miles
    • 1 accident, 1 owner, personal use
    • 5 Seats, 22 City / 27 Hwy MPG
    • Driveway (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Maplewood, MN / 1,478 miles away from Riverside, CA

    Low Mileage,Rare Find,Apple CarPlay,Back-Up Camera,Blind Spot Monitor,Bluetooth,Brake Assist,Heated Seats,Heated Steering Wheel,Keyless Start,Lane Kee...

    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: JM3KFBEY0L0832354
    Stock: L0832354A
    Certified Pre-Owned: No

  • Price Drop
    $26,900
    fair price
    $313 above market
    • 17,830 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • Mazda Thousand Oaks (85 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Thousand Oaks, CA / 85 miles away from Riverside, CA

    CARFAX One-Owner. Clean CARFAX.Priced below KBB Fair Purchase Price!Odometer is 15413 miles below market average!Certified. Mazda Certified Pre-Owned ...

    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: JM3KFBCM7N0583456
    Stock: M25348A
    Certified Pre-Owned: Yes
    Listed since: 05-26-2025

  • $25,998
    fair price
    $393 above market
    • 18,874 miles
    • No accidents, 2 owners, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from MD to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Brandywine, MD / 2,259 miles away from Riverside, 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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM9L1865376
    Stock: 26947790
    Certified Pre-Owned: No

  • New Listing
    $24,998
    fair price
    $507 above market
    • 34,264 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax Norco (12 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Norco, CA / 12 miles away from Riverside, 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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM3N0648156
    Stock: 27511791
    Certified Pre-Owned: No

  • New Listing
    Stock photo**
    $28,999
    fair price
    $506 above market
    • 11,969 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • California Motors Direct Montclair (19 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Montclair, CA / 19 miles away from Riverside, CA

    Priced below KBB Fair Purchase Price!10 Speakers, 4-Wheel Disc Brakes, 4.624 Axle Ratio, ABS brakes, Air Conditioning, All-Weather Floor Mats, Alloy...

    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: JM3KFBEM3N0574573
    Stock: N0574573
    Certified Pre-Owned: No
    Listed since: 06-17-2025

  • New Listing
    • 20,256 miles
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from PA to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Langhorne, PA / 2,358 miles away from Riverside, 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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM0L0722113
    Stock: 27264229
    Certified Pre-Owned: No

  • Price Drop
    $23,998
    fair price
    $749 above market
    • 33,432 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax Irvine (32 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in Irvine, CA / 32 miles away from Riverside, 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: Yes

    Features and Specs:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBBM7N0603822
    Stock: 27381883
    Certified Pre-Owned: No

  • New Listing
    $25,998
    fair price
    $281 below market
    • 19,279 miles
    • 2 accidents, 2 owners, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from IL to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Algonquin, IL / 1,667 miles away from Riverside, 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: 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 (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBDM9L0810416
    Stock: 27411198
    Certified Pre-Owned: No

    • 20,797 miles
    • No accidents, 1 owner, personal use only
    • 5 Seats, 22 City / 27 Hwy MPG
    • CarMax (In-stock online)
    • Transfer available from CO to CA*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Littleton, CO / 786 miles away from Riverside, 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 (22 City/27 Highway)

    Listing Information:

    VIN: JM3KFBEY8L0739470
    Stock: 26585242
    Certified Pre-Owned: No

    • 19,564 miles
    • Salvage reported, 1 owner, personal use only
    • 5 Seats, 25 City / 31 Hwy MPG
    • Red Star Auto (83 mi away)
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Lakeside, CA / 83 miles away from Riverside, CA

    WE BUY SELL AND TRADE!!!Red Star Auto Inc. is committed to providing excellent service. Purchase with confidence is our slogan. The team stands 100% b...

    AutoCheck Vehicle History Summary

    Accident Free Vehicle: No

    Personal Use Only: Yes

    History Provider: AutoCheck

    Title Details: Issue reported

    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: JM3KFACMXL1816229
    Stock: LRS3055
    Certified Pre-Owned: No
    Listed since: 04-17-2025

  • New Listing
    $25,998
    good price
    $988 below market
    • 33,225 miles
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax Palm Desert (58 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Palm Desert, CA / 58 miles away from Riverside, 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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBEM3N0523395
    Stock: 26822295
    Certified Pre-Owned: No

  • $24,474
    good price
    $1,024 below market
    • 58,173 miles
    • 1 accident, 2 owners, personal use
    • 5 Seats, 22 City / 27 Hwy MPG
    • Anaheim Hyundai (31 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Anaheim, CA / 31 miles away from Riverside, CA

    Introducing the **2022 Mazda CX-5 2.5 Turbo Signature**! With a recent price drop of $-489, theres no better time to act quickly and secure this remar...

    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: JM3KFBXY0N0642280
    Stock: PA21852
    Certified Pre-Owned: No
    Listed since: 03-20-2025

  • $25,998
    fair price
    $589 above market
    • 27,239 miles
    • No accidents, 1 owner, personal use
    • 5 Seats, 24 City / 30 Hwy MPG
    • CarMax Oceanside (56 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Oceanside, CA / 56 miles away from Riverside, 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:

    26 Combined MPG (24 City/30 Highway)

    Listing Information:

    VIN: JM3KFBCM4N0571295
    Stock: 27196850
    Certified Pre-Owned: No

Showing 127 - 147 out of 1,990 listings

Consumer Reviews for the Mazda CX-5

Read recent reviews for the Mazda CX-5
Overall Consumer Rating
4.5 out of 5 stars106 Reviews
Write a vehicle reviewSee all 106 reviews
  • 5 star
    (75%)
  • 4 star
    (12%)
  • 3 star
    (7%)
  • 2 star
    (1%)
  • 1 star
    (5%)
5 out of 5 stars

Fun to drive and excellent value

Peter B, 02/11/2020
2020 Mazda CX-5 Touring 4dr SUV (2.5L 4cyl 6A)
Traded in a high mileage ‘15 Forester and couldn’t be happier with the CX5. I got the Touring with the option package which includes the sunroof, power lift gate and Bose. I immediately took it on a 1600 mile trip from DFW to ATL and back. Its a comfortable car for long trips with great road feel. I was always cruising at about 75 to 80 mph and it never felt sluggish or underpowered. …
Report abuse

Used 2022 Mazda CX-5 in Riverside, CA Values

Estimated values
2022 Mazda CX-5 2.5 S 4dr SUV AWD (2.5L 4cyl 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$19,536$21,206$22,955
Clean$19,189$20,794$22,470
Average$18,611$20,106$21,661
Rough$17,860$19,213$20,610

The average list price of a used 2022 Mazda CX-5 in Riverside, California is $24,517. The average mileage on a used Mazda CX-5 2022 for sale in Riverside, California is 36,951. Based on the average mileage of 36,951 for used 2022 Mazda CX-5 for sale in Riverside, 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 Mazda CX-5 2022 in Riverside, California to be $18,611.

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

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.