Skip to main content
Skip to Filters
202 listings
  • Price Drop
    $25,998
    good price
    $1,103 below market
    • 14,108 miles
    • No accidents, 1 owner, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from IN to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Merrillville, IN / 1,442 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD73M0458810
    Stock: 27217161
    Certified Pre-Owned: No

  • Price Drop
    $25,998
    good price
    $504 below market
    • 7,044 miles
    • No accidents, 1 owner, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from IN to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Merrillville, IN / 1,442 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC7XM0460491
    Stock: 27216665
    Certified Pre-Owned: No

  • New Listing
    $26,998
    fair price
    $821 below market
    • 16,072 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from TN to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Madison, TN / 1,432 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC73K0306945
    Stock: 27413754
    Certified Pre-Owned: No

    • 2,500 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from TX to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Austin, TX / 856 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD74M0457164
    Stock: 27129066
    Certified Pre-Owned: No

  • $24,998
    fair price
    $263 below market
    • 19,607 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from WI to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Milwaukee, WI / 1,439 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD71K0305856
    Stock: 27217059
    Certified Pre-Owned: No

  • $26,528
    fair price
    $112 below market
    • 28,010 miles
    • No accidents, 2 owners, personal use
    • 4cyl manual
    • Lexus of Chandler (21 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Chandler, AZ / 21 miles away from Scottsdale, AZ

    2023Recent Arrival! 26/34 City/Highway MPG Lexus Chandler is your new and used Lexus dealer in the Chandler, AZ area. Our Lexus dealer is a proud mem...

    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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD75P0551820
    Stock: C016285A
    Certified Pre-Owned: No
    Listed since: 09-05-2025

  • $23,590
    fair price
    $2,467 above market
    • 21,080 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Indianapolis, IN / 1,478 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAB75M0460190
    Stock: 2003907838
    Certified Pre-Owned: No
    Listed since: 08-14-2025

  • $23,998
    fair price
    $256 below market
    • 31,322 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from AL to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Hoover, AL / 1,436 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD76K0300992
    Stock: 27443326
    Certified Pre-Owned: No

  • New Listing
    $27,998
    fair price
    $18 above market
    • 7,170 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from MD to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Gaithersburg, MD / 1,952 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD7XM0455726
    Stock: 27584259
    Certified Pre-Owned: No

    • 47,330 miles
    • 1 accident, 4 owners, personal use
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from TX to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Austin, TX / 856 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC74K0301012
    Stock: 27619188
    Certified Pre-Owned: No

  • New Listing
    $25,998
    good price
    $495 below market
    • 7,614 miles
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from NJ to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Wayne, NJ / 2,108 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD73K0311755
    Stock: 27223974
    Certified Pre-Owned: No

  • Price Drop
    $20,322
    fair price
    $372 above market
    • 86,636 miles
    • No accidents, 1 owner, personal use only
    • 4cyl manual
    • Ken Garff Kia (13 mi away)
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Phoenix, AZ / 13 miles away from Scottsdale, AZ

    Soul Red Crystal Metallic 2021 Mazda MX-5 Miata ClubRWD 6-Speed Manual 2.0L 4-Cylinder DOHC 16VTraditional Certified, 4-Wheel Disc Brakes, 9 Speakers,...

    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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC70M0452416
    Stock: M0452416T
    Certified Pre-Owned: No
    Listed since: 07-23-2025

  • New Listing
    $25,998
    fair price
    $245 above market
    • 27,161 miles
    • No accidents, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from MA to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Danvers, MA / 2,282 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD77M0456980
    Stock: 27266557
    Certified Pre-Owned: No

  • New Listing
    $24,998
    good price
    $1,268 below market
    • 48,345 miles
    • 1 accident, 1 owner, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from NY to AZ*
    • Back-up camera
    • Bluetooth
    • Leather Seats
    • Keyless Entry/Start
    • Upgraded Headlights
    Close

    Located in East Meadow, NY / 2,145 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC72M0456466
    Stock: 27587941
    Certified Pre-Owned: No

  • $22,998
    fair price
    $34 below market
    • 49,211 miles
    • 1 accident, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from TN to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Nashville, TN / 1,427 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD77M0458504
    Stock: 27104332
    Certified Pre-Owned: No

  • New Listing
    • 27,193 miles
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from TX to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Houston, TX / 993 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC71M0455177
    Stock: 27614896
    Certified Pre-Owned: No

  • $22,998
    fair price
    $1,374 above market
    • 33,427 miles
    • 1 accident, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from WA to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Spokane Valley, WA / 1,012 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAB73M0454131
    Stock: 27665123
    Certified Pre-Owned: No

    • 9,512 miles
    • No accidents, 3 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from FL to AZ*
    • Back-up camera
    • Bluetooth
    • Keyless Entry/Start
    • Upgraded Headlights
    • Blind Spot Monitorin...
    Close

    Located in Orlando, FL / 1,834 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAC75M0457076
    Stock: 27757811
    Certified Pre-Owned: No

  • Price Drop
    • 4,180 miles
    • No accidents, 3 owners, personal use only
    • 4cyl automatic
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Columbus, OH / 1,646 miles away from Scottsdale, 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:

    30 Combined MPG (26 City/35 Highway)

    Listing Information:

    VIN: JM1NDAD75M0457254
    Stock: 2004024781
    Certified Pre-Owned: No
    Listed since: 08-26-2025

    • 4,320 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • CarMax (In-stock online)
    • Transfer available from GA to AZ*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Kennesaw, GA / 1,559 miles away from Scottsdale, 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: Yes

    Features and Specs:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD75M0461286
    Stock: 27657381
    Certified Pre-Owned: No

  • New Listing
    • 7,503 miles
    • No accidents, 2 owners, personal use only
    • 4cyl manual
    • Carvana (In-stock online)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Dallas, TX / 870 miles away from Scottsdale, 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:

    29 Combined MPG (26 City/34 Highway)

    Listing Information:

    VIN: JM1NDAD74M0457276
    Stock: 2004022937
    Certified Pre-Owned: No
    Listed since: 08-27-2025

Showing 22 - 42 out of 202 listings

Consumer Reviews for the Mazda MX-5 Miata

Read recent reviews for the Mazda MX-5 Miata
Overall Consumer Rating
4.5 out of 5 stars28 Reviews
Write a vehicle reviewSee all 28 reviews
  • 5 star
    (64%)
  • 4 star
    (32%)
  • 3 star
    (0%)
  • 2 star
    (0%)
  • 1 star
    (4%)
5 out of 5 stars

Max-5...the last true "affordable" sports car

Dan Wells, 05/01/2018
2017 Mazda MX-5 Miata Grand Touring 2dr Convertible (2.0L 4cyl 6A)
I recently purchased a slightly used (1700 miles) MX-5 GT in Soul Red with black leather. I have owned 40+ cars in my life and the Miatas and Honda S2000s I've owned have been the most fun. The MX-5 is beautiful to look at and a hoot to drive, even with the automatic. It's hard to imagine a more fun car to drive. Before purchasing it I test drove a 2009 Porsche Cayman S and can honestly … say I like driving the Miata more. It's like an eager puppy wanting you to play with it all the time. The Porsche is fairly pedestrian as were my 4 S2000s until you find a curvy road or nail the accelerator whereas the Mazda is fun at any speed on any road. This is my 3rd Miata and expect it to be as reliable as the others. I'm 6' and 210lbs. and I fit fine. It is more comfortable than all the aforementioned cars...and I'm 66 years old. If your thinking of buying a sports car you'd be doing yourself a disservice if you didn't test drive this car. I don't think you'll be disappointed. Update 11/2/18: All is great with my MX-5. Mileage has improved to 32.5 and I've had no mechanical issues. My only complaint is the the paint on the hood chips easily. This has been an issue on the Miata forums. The thin paint coupled with the low, sloping hood are to blame.
Report abuse

Used 2021 Mazda MX-5 Miata in Scottsdale, AZ Values

Estimated values
2021 Mazda MX-5 Miata Grand Touring 2dr Convertible (2.0L 4cyl 6M) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$23,681$25,879$28,102
Clean$23,238$25,338$27,453
Average$22,502$24,436$26,370
Rough$21,544$23,264$24,963

The average list price of a used 2021 Mazda MX-5 Miata in Scottsdale, Arizona is $25,685. The average mileage on a used Mazda MX-5 Miata 2021 for sale in Scottsdale, Arizona is 23,778. Based on the average mileage of 23,778 for used 2021 Mazda MX-5 Miata for sale in Scottsdale, 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 MX-5 Miata 2021 in Scottsdale, Arizona to be $22,502.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius200 miles
Search radius

Make & Model

Year

New / Used

Price & Payments

Price Rating

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.