Skip to main content
Skip to Filters
821 listings

Save with BMW 5 Series rebates
Check your savings potential before you buy

  • New Listing
    $20,987
    great price
    $5,000 below market
    • 38,244 miles
    • 24 City / 34 Hwy MPG
    • Car Lux Inc (110 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Lennox, CA / 110 miles away from San Diego, CA

    AutoCheck Vehicle History Summary Unavailable.

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C57JWA38572
    Stock: 225430
    Certified Pre-Owned: No

  • New Listing
    $20,999
    good price
    $1,871 below market
    • 44,955 miles
    • No accidents, 2 owners, personal use only
    • 24 City / 34 Hwy MPG
    • California Motors Direct Fontana (94 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Fontana, CA / 94 miles away from San Diego, CA

    Clean CARFAX.Black Leather, 12 Speakers, 4-Wheel Disc Brakes, ABS brakes, Active Blind Spot Detection, Active Driving Assistant, Air Conditioning, A...

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

    Listing Information:

    VIN: WBAJA5C59JWA35768
    Stock: JWA35768
    Certified Pre-Owned: No
    Listed since: 06-17-2025

  • $20,947
    good price
    $1,882 below market
    • 78,094 miles
    • 1 accident, 3 owners, personal use
    • 21 City / 30 Hwy MPG
    • Karplus Warehouse (129 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Pacoima, CA / 129 miles away from San Diego, CA

    2018 BMW 5 Series 540i Sedan...CAPITAL ONE AUTO FINANCE PREFERRED DEALER...Wholesale Prices Available to Public now! Hurry these amazing great deal wi...

    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 (21 City/30 Highway)

    Listing Information:

    VIN: WBAJE5C54JG918804
    Stock: D918804
    Certified Pre-Owned: No
    Listed since: 06-10-2025

  • Price Drop
    $16,129
    great price
    $3,916 below market
    • 101,000 miles
    • 1 accident, 3 owners, personal use
    • 16 mi est. electric range
    • 27 City / 31 Hwy MPG
    • Dapper Car Sales (115 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Los Angeles, CA / 115 miles away from San Diego, 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:

    29 Combined MPG (27 City/31 Highway)

    Listing Information:

    VIN: WBAJA9C58JB249730
    Stock: 2654N16
    Certified Pre-Owned: No

  • Price Drop
    • 62,473 miles
    • No accidents, 3 owners, personal use
    • 16 mi est. electric range
    • 27 City / 31 Hwy MPG
    • Mercedes-Benz of Laguna Niguel (65 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Laguna Niguel, CA / 65 miles away from San Diego, CA

    Clean CARFAX. 2018 BMW 5 Series 530e iPerformance 4D Sedan 530e iPerformance RWD 8-Speed Automatic 2.0L 4-CylinderOdometer is 21753 miles below mark...

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

    Listing Information:

    VIN: WBAJA9C59JB252877
    Stock: NC45757B
    Certified Pre-Owned: No
    Listed since: 06-30-2025

  • $26,979
    good price
    $2,109 below market
    • 80,963 miles
    • No accidents, 2 owners, personal use
    • 16 City / 25 Hwy MPG
    • Car Lux Inc (110 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Lennox, CA / 110 miles away from San Diego, CA

    Recent Arrival! Clean CARFAX.Family owned. Over 20 years serving the community!.*** CLEAN TITLE *** EXECUTIVE PKG *** DRIVING ASSISTANCE PKG *** DRIVI...

    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:

    19 Combined MPG (16 City/25 Highway)

    Listing Information:

    VIN: WBAJB9C51JB035708
    Stock: 225209
    Certified Pre-Owned: No

  • $15,990
    fair price
    $511 below market
    • 99,297 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • MDK International (124 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Burbank, CA / 124 miles away from San Diego, CA

    Local private party trade-in Very well maintained and taken care of Super Clean Original MSRP of $61,745 2 previous owners – 2nd owner purchase...

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

    Listing Information:

    VIN: WBAJA5C51JG899088
    Stock: 899088
    Certified Pre-Owned: No

    • 56,771 miles
    • No accidents, 2 owners, personal use
    • 16 mi est. electric range
    • 27 City / 31 Hwy MPG
    • Jaguar Land Rover Woodland Hills (132 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Woodland Hills, CA / 132 miles away from San Diego, CA

    Bluestone MetallicSun/MoonroofNavigation SystemKeyless StartThis vehicle includes a Money-Back Guarantee* and passed our precise inspection proc...

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

    Listing Information:

    VIN: WBAJA9C51JB249147
    Stock: JB249147
    Certified Pre-Owned: No
    Listed since: 07-07-2025

  • New Listing
    $34,988
    fair price
    $1,444 below market
    • 40,071 miles
    • No accidents, 2 owners, personal use
    • 16 City / 25 Hwy MPG
    • BMW of Palm Springs (80 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Palm Springs, CA / 80 miles away from San Diego, CA

    BMW of Palm Springs is delighted to showcase, this Pre-Owned 2018 BMW 5 Series M550i xDrive. Finished in an elegant Silver Metallic exterior with a re...

    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:

    19 Combined MPG (16 City/25 Highway)

    Listing Information:

    VIN: WBAJB9C52JB036835
    Stock: TJB036835
    Certified Pre-Owned: No
    Listed since: 07-12-2025

  • New Listing
    $19,305
    good price
    $1,322 below market
    • 63,537 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • BMW of Buena Park (93 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Buena Park, CA / 93 miles away from San Diego, CA

    Canberra Beige/Black; Dakota Leather UpholsteryCashmere Silver MetallicSun/MoonroofLeather SeatsNavigation SystemKeyless StartAt BMW of Buena ...

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

    Listing Information:

    VIN: WBAJA5C56JWA36103
    Stock: JWA36103
    Certified Pre-Owned: No
    Listed since: 07-21-2025

  • $22,595
    fair price
    $575 below market
    • 83,894 miles
    • No accidents, 2 owners, personal use only
    • 21 City / 30 Hwy MPG
    • VIP Auto House (108 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Sunroof/Moonroof
    Close

    Located in Lawndale, CA / 108 miles away from San Diego, CA

    Presenting the sleek and powerful 2018 BMW 540i M Sport in Alpine White with a sophisticated Black interior. This luxury sedan is equipped with a robu...

    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 (21 City/30 Highway)

    Listing Information:

    VIN: WBAJE5C51JG918677
    Stock: 1715
    Certified Pre-Owned: No
    Listed since: 06-03-2025

  • Price Drop
    $24,998
    fair price
    $1,270 above market
    • 44,304 miles
    • No accidents, 1 owner, personal use only
    • 24 City / 34 Hwy MPG
    • CarMax Escondido (27 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Escondido, CA / 27 miles away from San Diego, 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:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C59JG899887
    Stock: 27426243
    Certified Pre-Owned: No

  • $17,999
    fair price
    $336 above market
    • 71,261 miles
    • No accidents, 3 owners, corporate fleet vehicle
    • 24 City / 34 Hwy MPG
    • Space Auto Group (105 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Azusa, CA / 105 miles away from San Diego, CA

    THIS INTERNET PRICE IS VEHICLE CASH PRICE.PRICES DO NOT INCLUDE GOVERNMENT FEES OR TAXES, ANY FINANCE CHARGES, ANY DEALER DOCUMENT PROCESSING CHARGES,...

    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:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C5XJG900013
    Stock: 900013
    Certified Pre-Owned: No

  • New Listing
    • 65,981 miles
    • 1 accident, 3 owners, personal use
    • 16 mi est. electric range
    • 27 City / 31 Hwy MPG
    • Riverside Nissan (84 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Riverside, CA / 84 miles away from San Diego, CA

    Only 65,981 Miles! This BMW 5 Series boasts a Intercooled Turbo Gas/Electric I-4 2.0 L/122 engine powering this Automatic transmission. BLACK, SENSATE...

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

    Listing Information:

    VIN: WBAJA9C51JB251187
    Stock: 19987AA
    Certified Pre-Owned: No
    Listed since: 07-16-2025

  • New Listing
    $18,598
    fair price
    $462 above market
    • 69,729 miles
    • 1 accident, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • Harbor Chevrolet (97 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Long Beach, CA / 97 miles away from San Diego, CA

    Glacier Silver Metallic 2018 BMW 5 Series 530i RWD 8-Speed Automatic 2.0L 4-Cylinder Black Artificial Leather.A comprehensive 185-Point Inspection w...

    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 (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C50JWA37201
    Stock: K3083
    Certified Pre-Owned: No
    Listed since: 04-19-2025

  • $19,998
    fair price
    $365 above market
    • 66,586 miles
    • 1 accident, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • CarMax Irvine (72 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Irvine, CA / 72 miles away from San Diego, 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: Yes

    Features and Specs:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C5XJG898067
    Stock: 27318959
    Certified Pre-Owned: No

  • Stock photo**
    $19,899
    fair price
    $516 above market
    • 59,019 miles
    • 1 accident, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • California Motors Direct Montclair (98 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Montclair, CA / 98 miles away from San Diego, CA

    Odometer is 17199 miles below market average!Black Artificial Leather, 12 Speakers, 4-Wheel Disc Brakes, ABS brakes, Air Conditioning, Alloy wheels,...

    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 (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C53JWA35930
    Stock: JWA35930
    Certified Pre-Owned: No
    Listed since: 07-16-2025

  • Price Drop
    • 66,434 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • California Motors Direct Montclair (98 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Montclair, CA / 98 miles away from San Diego, CA

    Odometer is 11818 miles below market average! Clean CARFAX.Black Artificial Leather, 12 Speakers, 18" x 8" Double-Spoke Wheels, 4-Wheel Disc Brakes,...

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

    Listing Information:

    VIN: WBAJA5C51JWA38308
    Stock: JWA38308
    Certified Pre-Owned: No
    Listed since: 05-14-2025

  • Price Drop
    • 42,801 miles
    • No accidents, 2 owners, personal use
    • 16 mi est. electric range
    • 27 City / 31 Hwy MPG
    • California Motors Direct Montclair (98 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Upgraded Headlights
    Close

    Located in Montclair, CA / 98 miles away from San Diego, CA

    Odometer is 39635 miles below market average! Clean CARFAX.Black Artificial Leather, 12 Speakers, 4-Wheel Disc Brakes, ABS brakes, Air Conditioning,...

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

    Listing Information:

    VIN: WBAJA9C59JB249588
    Stock: JB249588
    Certified Pre-Owned: No
    Listed since: 07-02-2025

  • New Listing
    $14,954
    great price
    $3,744 below market
    • 103,117 miles
    • No accidents, 2 owners, personal use
    • 16 mi est. electric range
    • 27 City / 30 Hwy MPG
    • Honda of Downtown Los Angeles (112 mi away)
    • Five Star Dealer
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Los Angeles, CA / 112 miles away from San Diego, CA

    Welcome to Honda of Downtown Los Angeles! 2019 BMW 5 Series 530e iPerformance Black Artificial Leather. Priced below KBB Fair Purchase Price!Love it o...

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

    Listing Information:

    VIN: WBAJA9C58KB388421
    Stock: B388421T
    Certified Pre-Owned: No
    Listed since: 04-19-2025

    • 42,156 miles
    • No accidents, 2 owners, personal use
    • 24 City / 34 Hwy MPG
    • Carvana - Los Angeles (110 mi away)
    • Home delivery*
    • Back-up camera
    • Bluetooth
    • Navigation
    • Sunroof/Moonroof
    • Keyless Entry/Start
    Close

    Located in Los Angeles, CA / 110 miles away from San Diego, 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:

    27 Combined MPG (24 City/34 Highway)

    Listing Information:

    VIN: WBAJA5C50JG898420
    Stock: 2003880854
    Certified Pre-Owned: No
    Listed since: 07-15-2025

Showing 1 - 21 out of 821 listings

Consumer Reviews for the BMW 5 Series

Read recent reviews for the BMW 5 Series
Overall Consumer Rating
4.4 out of 5 stars57 Reviews
Write a vehicle reviewSee all 57 reviews
  • 5 star
    (68%)
  • 4 star
    (14%)
  • 3 star
    (9%)
  • 2 star
    (5%)
  • 1 star
    (4%)
5 out of 5 stars

M550i of the Decade

G K, 08/16/2017
2018 BMW 5 Series M550i xDrive 4dr Sedan AWD (4.4L 8cyl Turbo 8A)
Nothing else to say, BMW couldn't have made a better M550i 2018 series car. We have had many other luxury vehicles, including an MB, Lexus, and a Volvo. This outclasses all of them in every scenario, hands down.
Report abuse

Used 2018 BMW 5 Series in San Diego, CA Values

Estimated values
2018 BMW 5 Series 530i 4dr Sedan (2.0L 4cyl Turbo 8A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$14,878$17,748$20,119
Clean$14,391$17,148$19,419
Average$13,580$16,149$18,251
Rough$12,526$14,851$16,733

The average list price of a used 2018 BMW 5 Series in San Diego, California is $21,492. The average mileage on a used BMW 5 Series 2018 for sale in San Diego, California is 65,747. Based on the average mileage of 65,747 for used 2018 BMW 5 Series for sale in San Diego, 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 5 Series 2018 in San Diego, California to be $13,580.

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

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.