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
2,193 listings

Save up to
$0
with EV Tax Credits & Rebates

  • Stock photo**
    $47,850
    fair price
    $826 above market
    • 29,583 miles
    • No accidents, 1 owner, personal use only
    • 22 City / 29 Hwy MPG
    • Mercedes-Benz of Buffalo (357 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Williamsville, NY / 357 miles away from Fort Wayne, IN

    Skyscraper Gray Metallic 2023 BMW 5 Series 540i xDrive AWD 8-Speed Automatic Sport 3.0L I6 Turbocharged DOHC 24V LEV3-ULEV70 AWD, Black Leather Leathe...

    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:

    25 Combined MPG (22 City/29 Highway)

    Listing Information:

    VIN: WBA73BJ07PCN29242
    Stock: 12451A
    Certified Pre-Owned: No
    Listed since: 03-29-2025

  • New Listing
    $30,967
    fair price
    $1,243 below market
    • 51,324 miles
    • 1 accident, 1 owner, personal use only
    • 21 mi est. electric range
    • 24 City / 29 Hwy MPG
    • Rock Hill Buick GMC (481 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Rock Hill, SC / 481 miles away from Fort Wayne, IN

    NA

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

    Listing Information:

    VIN: WBA13AG02PCN50300
    Stock: P0932
    Certified Pre-Owned: No
    Listed since: 05-19-2025

  • New Listing
    • 14,358 miles
    • No accidents, personal use only
    • 23 City / 32 Hwy MPG
    • Dreyer & Reinbold Subaru (113 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Greenwood, IN / 113 miles away from Fort Wayne, IN

    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/32 Highway)

    Listing Information:

    VIN: WBA13BJ00PWY08021
    Stock: G31979
    Certified Pre-Owned: No
    Listed since: 04-26-2024

    • 878 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    Wheels: 20" X 8.5" Fr & 20" X 10.0" Rr Aero SilverMineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLan...

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

    Listing Information:

    VIN: WBA53FJ04SCU13052
    Stock: SCU13052
    Certified Pre-Owned: No
    Listed since: 04-01-2025

    • 13,146 miles
    • No accidents, 2 owners, personal use
    • 25 City / 32 Hwy MPG
    • Mall of Georgia MINI (487 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Buford, GA / 487 miles away from Fort Wayne, IN

    2023 BMW 540i Elevate Your Drive in Buford, GA Experience the thrill of driving the 2023 BMW 540i a masterpiece of engineering and design, now availab...

    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: WBA53BJ06PWX87452
    Stock: P55409
    Certified Pre-Owned: No
    Listed since: 03-06-2025

    • 21,971 miles
    • No accidents, 1 owner, personal use only
    • 23 City / 31 Hwy MPG
    • Unlimited Motors Westfield (88 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Westfield, IN / 88 miles away from Fort Wayne, IN

    Navigation, Bluetooth, Sun/Moon Roof, Heated Seats, Touch Screen, Blind Spot, Heated Steering Wheel, Apple Play, Heads Up Display, AWD, 5 Series 540i ...

    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/31 Highway)

    Listing Information:

    VIN: WBA73BJ07MWW90555
    Stock: STKW90555
    Certified Pre-Owned: No
    Listed since: 12-26-2024

    • 208 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • Laurel BMW of Westmont (154 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Westmont, IL / 154 miles away from Fort Wayne, IN

    Phytonic Blue MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartFine Wood Dark Oak H...

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

    Listing Information:

    VIN: WBA53FJ03SCU50626
    Stock: SCU50626
    Certified Pre-Owned: No
    Listed since: 04-30-2025

    • 3,125 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    M Sport PackageWheels: 20" X 8.5" Fr & 20" X 10.0" Rr MMineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering Whe...

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

    Listing Information:

    VIN: WBA53FJ07SCU16091
    Stock: SCU16091
    Certified Pre-Owned: No
    Listed since: 02-01-2025

    • 3,406 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    Dark Graphite MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartBlack; Perforated & ...

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

    Listing Information:

    VIN: WBA53FJ07SCU13319
    Stock: SCU13319
    Certified Pre-Owned: No
    Listed since: 02-01-2025

    • 1,993 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    M Sport PackageMineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartBlac...

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

    Listing Information:

    VIN: WBA53FJ00SCU16160
    Stock: SCU16160
    Certified Pre-Owned: No
    Listed since: 02-01-2025

    • 2,845 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    Mineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartBurgundy Red; Perfor...

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

    Listing Information:

    VIN: WBA53FJ01SCU27331
    Stock: SCU27331
    Certified Pre-Owned: No
    Listed since: 02-01-2025

    • 2,912 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    M Sport PackageMineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartBlac...

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

    Listing Information:

    VIN: WBA53FJ00SCT61726
    Stock: SCT61726
    Certified Pre-Owned: No
    Listed since: 02-01-2025

    • 2,986 miles
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • BMW of Rockville (447 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Rockville, MD / 447 miles away from Fort Wayne, IN

    Mineral White MetallicSun/MoonroofNavigation SystemRemote Engine StartHeated Steering WheelLane Keeping AssistKeyless StartEspresso Brown; Perf...

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

    Listing Information:

    VIN: WBA53FJ02SCU28570
    Stock: SCU28570
    Certified Pre-Owned: No
    Listed since: 02-01-2025

  • $41,997
    fair price
    $469 above market
    • 41,311 miles
    • No accidents, 1 owner, personal use only
    • 25 City / 32 Hwy MPG
    • Hendrick Chrysler Dodge Jeep Ram of Concord (463 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Concord, NC / 463 miles away from Fort Wayne, IN

    EPA 32 MPG Hwy/25 MPG City! 540i trim. Heated Seats, Navigation, Moonroof, Back-Up Camera, PREMIUM PACKAGE, HEATED STEERING WHEEL, Aluminum Wheels. KE...

    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: WBA53BJ08PWY14165
    Stock: S400442A
    Certified Pre-Owned: No
    Listed since: 05-16-2025

    • 4,686 miles
    • No accidents, 1 owner, personal use only
    • 25 City / 33 Hwy MPG
    • Hendrick BMW (473 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Charlotte, NC / 473 miles away from Fort Wayne, IN

    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/33 Highway)

    Listing Information:

    VIN: WBA53BH05PWX97413
    Stock: PN8875
    Certified Pre-Owned: Yes
    Listed since: 05-09-2025

  • New Listing
    • 7,372 miles
    • No accidents, 1 owner, personal use
    • 17 City / 25 Hwy MPG
    • Driveway (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Seattle, WA / 1,872 miles away from Fort Wayne, IN

    CarFax No Accidents Reported,CarFax 1-Owner,Low Mileage,Apple CarPlay,Back-Up Camera,Blind Spot Monitor,Bluetooth,Brake Assist,Hands-Free Liftgate,Hea...

    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 (17 City/25 Highway)

    Listing Information:

    VIN: WBA13BK08PCN10218
    Stock: CN10218BG
    Certified Pre-Owned: No

    • 14,085 miles
    • No accidents, 1 owner, personal use only
    • 22 City / 29 Hwy MPG
    • Wright Nissan (269 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Wexford, PA / 269 miles away from Fort Wayne, IN

    CARFAX 1-Owner, GREAT MILES 14,085! REDUCED FROM $53,500!, EPA 29 MPG Hwy/22 MPG City! Heated Leather Seats, Sunroof, NAV, Dual Zone A/C, Keyless Star...

    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:

    25 Combined MPG (22 City/29 Highway)

    Listing Information:

    VIN: WBA73BJ03PWY05933
    Stock: N578012A
    Certified Pre-Owned: No
    Listed since: 03-28-2025

    • 71,190 miles
    • No accidents, 2 owners, personal use only
    • 25 City / 33 Hwy MPG
    • CarNGo (474 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Richmond, VA / 474 miles away from Fort Wayne, IN

    Leather, Sunroof/Moonroof, Bluetooth, Heated Seats, Review Camera, Apple CarPlay/Android Auto, Keyless Entry, Black Artificial Leather, Connected Pack...

    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/33 Highway)

    Listing Information:

    VIN: WBA53BH02MCF86265
    Stock: F86265R
    Certified Pre-Owned: No
    Listed since: 04-17-2025

  • Price Drop
    $49,199
    great price
    $10,039 below market
    • 5,514 miles
    • No accidents, 1 owner, personal use only
    • 27 City / 35 Hwy MPG
    • Volkswagen of Streetsboro (198 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Streetsboro, OH / 198 miles away from Fort Wayne, IN

    Priced below KBB Fair Purchase Price! Odometer is 4880 miles below market average! CARFAX One-Owner.Mineral White Metallic 2024 BMW 5 Series 530i xDri...

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

    Listing Information:

    VIN: WBA53FJ09RCR96230
    Stock: R96230T01
    Certified Pre-Owned: No
    Listed since: 03-26-2025

  • $33,978
    fair price
    $78 above market
    • 32,920 miles
    • 1 accident, 1 owner, personal use only
    • 23 City / 32 Hwy MPG
    • Fairfield Cadillac (431 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Lewisburg, PA / 431 miles away from Fort Wayne, IN

    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:

    27 Combined MPG (23 City/32 Highway)

    Listing Information:

    VIN: WBA13BJ04MCG11675
    Stock: C12179A
    Certified Pre-Owned: No
    Listed since: 03-05-2025

    • 1 mile
    • No accidents, personal use only
    • 27 City / 35 Hwy MPG
    • The BMW Store (137 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    Close

    Located in Cincinnati, OH / 137 miles away from Fort Wayne, IN

    2025 BMW 5 Series 530i xDrive M Sport Oxide Gray Metallic 2.0L 4-Cylinder 27/35 City/Highway MPGBMW Curved Display w/HUD, BMW Iconic Glow Kidney Grill...

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

    Listing Information:

    VIN: WBA53FJ06SCU20536
    Stock: 30147L
    Certified Pre-Owned: No
    Listed since: 12-21-2024

Showing 316 - 336 out of 2,193 listings

Consumer Reviews for the BMW 5 Series

Read recent reviews for the BMW 5 Series
Overall Consumer Rating
4.5 out of 5 stars33 Reviews
Write a vehicle reviewSee all 33 reviews
  • 5 star
    (73%)
  • 4 star
    (12%)
  • 3 star
    (9%)
  • 2 star
    (3%)
  • 1 star
    (3%)
5 out of 5 stars

Amazing Quality and Powertrain

Jeff, 03/22/2021
2021 BMW 5 Series 540i 4dr Sedan (3.0L 6cyl Turbo gas/electric mild hybrid 8A)
Definitely not a sporty car. If you want that, get a 3-series. That's not to say you can't have fun it it, it has a lot of power and has a great engine. But it is first and foremost a luxury cruiser geared towards comfort. If that is what you are looking for, this is the best in the business.
Report abuse

Used 2023 BMW 5 Series in Fort Wayne, IN Values

Estimated values
2023 BMW 5 Series 540i xDrive 4dr Sedan AWD (3.0L 6cyl Turbo gas/electric mild hybrid 8A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$42,162$45,569$49,419
Clean$41,582$44,839$48,517
Average$40,615$43,623$47,014
Rough$39,359$42,041$45,060

The average list price of a used 2023 BMW 5 Series in Fort Wayne, Indiana is $52,757. The average mileage on a used BMW 5 Series 2023 for sale in Fort Wayne, Indiana is 15,515. Based on the average mileage of 15,515 for used 2023 BMW 5 Series for sale in Fort Wayne, IN 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 5 Series 2023 in Fort Wayne, Indiana to be $40,615.

Filters
Skip to Results

Applied Filters4Active

Select Buying Experience

Location

Search radius500 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.