Skip to main content
Skip to Filters
23 listings
  • $21,999
    great price
    $3,750 below market
    • 100,305 miles
    • No accidents, 1 owner, personal use only
    • 6'7” bed, 5l, 8cyl
    • Integrity Auto Sales (75 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Sacramento, CA / 75 miles away from San Francisco, CA

    The 2017 Nissan Titan XD 4x4 Diesel Crew Cab PRO-4X comes with a commanding presence, outfitted in the sophisticated Gun Metallic exterior that perfec...

    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:

    Listing Information:

    VIN: 1N6BA1F46HN558789
    Stock: 10879
    Certified Pre-Owned: No
    Listed since: 01-02-2026

    • 9,628 miles
    • No accidents, 2 owners, personal use only
    • 6'7” bed, 5l, 8cyl
    • Carvana - Sacramento (75 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Sacramento, CA / 75 miles away from San Francisco, 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:

    Listing Information:

    VIN: 1N6BA1F27HN512418
    Stock: 2004654597
    Certified Pre-Owned: No
    Listed since: 03-26-2026

    • 140,256 miles
    • No accidents, 2 owners, personal use only
    • 6'7” bed, 5l, 8cyl
    • Nohr's Auto Brokers (25 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Walnut Creek, CA / 25 miles away from San Francisco, CA

    WELL MAINTAINED LOCAL VEHICLE, TOUGH COUNTRY 4-INCH LIFT, MICKEY THOMPSON BAJA TIRES, DIRTY LIFE WHEELS, TRIGGER SWITCH WITH REMOTE CONTROL LIGHT SQIT...

    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:

    Listing Information:

    VIN: 1N6BA1F46HN522925
    Stock: 5479
    Certified Pre-Owned: No
    Listed since: 01-17-2026

    • 71,853 miles
    • 1 accident, 4 owners, personal use only
    • 6'7” bed, 5l, 8cyl
    • Carvana - Sacramento (75 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    • Blind Spot Monitorin...
    Close

    Located in Sacramento, CA / 75 miles away from San Francisco, 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: 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:

    Listing Information:

    VIN: 1N6BA1F20HN513071
    Stock: 2004366520
    Certified Pre-Owned: No
    Listed since: 03-24-2026

  • $19,998
    good price
    $875 below market
    • 67,101 miles
    • No accidents, 4 owners, personal use only
    • 6'6” bed, 5l, 8cyl
    • E Star Motors (28 mi away)
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    • Blind Spot Monitorin...
    Close

    Located in Concord, CA / 28 miles away from San Francisco, 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:

    Listing Information:

    VIN: 1N6BA1F26GN507337
    Stock: 507337
    Certified Pre-Owned: No

  • $17,910
    fair price
    $280 above market
    • 167,221 miles
    • 1 accident, 3 owners, corporate fleet vehicle
    • 6'7” bed, 5.6l, 8cyl
    • Driveway (In-stock online)
    • Home delivery*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Johnston, IA / 1,545 miles away from San Francisco, CA

    CarFax No Accidents Reported,Back-Up Camera,Blind Spot Monitor,Bluetooth,Brake Assist,Heated Seats,Heated Seats,Heated Seats,Heated Steering Wheel,Key...

    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:

    Listing Information:

    VIN: 1N6AA1F48HN574956
    Stock: HN574956D
    Certified Pre-Owned: No

  • New Listing
    • 21,412 miles
    • No accidents, 2 owners, personal use only
    • 8'3” bed, 5.6l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from OR to CA*
    • AWD/4WD
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Alarm
    Close

    Located in Beaverton, OR / 532 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    18 Combined MPG (15 City/21 Highway)

    Listing Information:

    VIN: 1N6AA1RP2HN557365
    Stock: 27666320
    Certified Pre-Owned: No

  • New Listing
    $25,824
    good price
    $1,961 below market
    • 49,729 miles
    • No accidents, 1 owner, personal use only
    • 6'7” bed, 5l, 8cyl
    • Truck & Van Solutions (76 mi away)
    • AWD/4WD
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Apple Carplay/Androi...
    Close

    Located in Sacramento, CA / 76 miles away from San Francisco, 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:

    Listing Information:

    VIN: 1N6BA1F35KN519240
    Stock: 200
    Certified Pre-Owned: No

  • New Listing
    • 104,721 miles
    • 1 accident, 1 owner, personal use only
    • 6'7” bed, 5l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from TN to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Franklin, TN / 1,964 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    Listing Information:

    VIN: 1N6BA1F44HN521420
    Stock: 28469658
    Certified Pre-Owned: No

    • 11,366 miles
    • No accidents, 1 owner, personal use only
    • 8'3” bed, 5.6l, 8cyl
    • Hayward Nissan (23 mi away)
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Alarm
    • Trip Computer
    Close

    Located in Hayward, CA / 23 miles away from San Francisco, 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:

    18 Combined MPG (15 City/21 Highway)

    Listing Information:

    VIN: 1N6AA1R94JN502519
    Stock: N4127
    Certified Pre-Owned: No
    Listed since: 03-20-2026

  • Price Drop
    • 79,020 miles
    • No accidents, 2 owners, personal use
    • 6'7” bed, 5.6l, 8cyl
    • Future Ford of Roseville (96 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Roseville, CA / 96 miles away from San Francisco, CA

    Super Black Titan XD PRO-4X Clean CARFAX. 5.6L V8 DOHC 32V LEV3-ULEV70 400hpWe are committed to treating Customers and Employees as Valued Members ...

    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:

    17 Combined MPG (15 City/20 Highway)

    Listing Information:

    VIN: 1N6AA1FB0LN505752
    Stock: P100405
    Certified Pre-Owned: No
    Listed since: 02-26-2026

    • 107,370 miles
    • No accidents, 1 owner, corporate fleet vehicle
    • 6'7” bed, 5l, 8cyl
    • Palms Auto Sales (93 mi away)
    • AWD/4WD
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Alarm
    Close

    Located in Citrus Heights, CA / 93 miles away from San Francisco, CA

    Our Diesel-Driven, Accident Free 2018 Nissan Titan XD S Crew Cab 4X4 flexes some serious muscle shown off in Glacier White! Powered by a TurboCharged ...

    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:

    Listing Information:

    VIN: 1N6BA1F34JN527408
    Stock: 2248
    Certified Pre-Owned: No
    Listed since: 05-30-2025

  • New Listing
    • 29,819 miles
    • No accidents, 2 owners, personal use
    • 6'7” bed, 5.6l, 8cyl
    • CarMax Pleasanton (35 mi away)
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Leather Seats
    • Keyless Entry/Start
    Close

    Located in Pleasanton, CA / 35 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    18 Combined MPG (15 City/21 Highway)

    Listing Information:

    VIN: 1N6AA1FB8LN510973
    Stock: 28245038
    Certified Pre-Owned: No

  • New Listing
    • 83,514 miles
    • No accidents, 1 owner, personal use
    • 6'7” bed, 5.6l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from TX to CA*
    • AWD/4WD
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    • Blind Spot Monitorin...
    Close

    Located in Fort Worth, TX / 1,464 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    18 Combined MPG (15 City/21 Highway)

    Listing Information:

    VIN: 1N6AA1F44JN502383
    Stock: 27333718
    Certified Pre-Owned: No

    • 87,478 miles
    • No accidents, 3 owners, personal use only
    • 6'7” bed, 5l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from TX to CA*
    • AWD/4WD
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Alarm
    Close

    Located in San Antonio, TX / 1,484 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    Listing Information:

    VIN: 1N6BA1F40JN528757
    Stock: 28519954
    Certified Pre-Owned: No

  • New Listing
    • 59,536 miles
    • 6'6” bed, 5.6l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from Buena Park, CA*
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Alarm
    • Trip Computer
    Close

    Located in Buena Park, CA / 368 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so check nhtsa.gov/...

    AutoCheck Vehicle History Summary Unavailable.

    Features and Specs:

    Listing Information:

    VIN: 1N6AA1F23GN506528
    Stock: 28673651
    Certified Pre-Owned: No

  • $29,999
    good price
    $2,668 below market
    • 58,270 miles
    • No accidents, 2 owners, corporate fleet vehicle
    • 6'7” bed, 5l, 8cyl
    • Tracy Auto Plaza (57 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Tracy, CA / 57 miles away from San Francisco, CA

    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:

    Listing Information:

    VIN: 1N6BA1F49KN508797
    Stock: 3152
    Certified Pre-Owned: No
    Listed since: 01-26-2026

  • New Listing
    $30,998
    fair price
    $704 below market
    • 60,145 miles
    • No accidents, 2 owners, personal use
    • 6'7” bed, 5l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from FL to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Leather Seats
    Close

    Located in Orlando, FL / 2,447 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    Listing Information:

    VIN: 1N6BA1F44KN513132
    Stock: 28602727
    Certified Pre-Owned: No

  • $28,250
    fair price
    $1,477 below market
    • 67,505 miles
    • 1 accident, 2 owners, corporate fleet vehicle
    • 6'7” bed, 5l, 8cyl
    • Hayward Nissan (23 mi away)
    • AWD/4WD
    • Bluetooth
    • Tire Pressure Warnin...
    • USB Inputs
    • Apple Carplay/Androi...
    Close

    Located in Hayward, CA / 23 miles away from San Francisco, CA

    Cayenne Red Metallic 2019 Nissan Titan XD SV 4WD 6-Speed Automatic 5.0L V8 110V Bed Outlet, 2 Illuminated USB-A Ports In Back Of Center Console, 2nd R...

    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:

    Listing Information:

    VIN: 1N6BA1F46KN509485
    Stock: N4034
    Certified Pre-Owned: No
    Listed since: 12-30-2025

    • 76,176 miles
    • No accidents, 2 owners, personal use
    • 6'7” bed, 5.6l, 8cyl
    • CarMax (In-stock online)
    • Transfer available from NV to CA*
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Las Vegas, NV / 413 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so 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:

    17 Combined MPG (15 City/20 Highway)

    Listing Information:

    VIN: 1N6AA1F40KN509946
    Stock: 28509618
    Certified Pre-Owned: No

  • $42,998
    fair price
    $600 below market
    • 30,986 miles
    • No accidents, 1 owner, corporate fleet vehicle
    • 6'7” bed, 5.6l, 8cyl
    • CarMax Santa Rosa (47 mi away)
    • AWD/4WD
    • Back-up camera
    • Bluetooth
    • Navigation
    • Keyless Entry/Start
    Close

    Located in Santa Rosa, CA / 47 miles away from San Francisco, CA

    Wanna drive? CarMax puts you in the driver's seat-and that includes transparency. Certain cars may have unrepaired safety recalls, so check nhtsa.gov/...

    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:

    17 Combined MPG (15 City/20 Highway)

    Listing Information:

    VIN: 1N6AA1FB6PN105538
    Stock: 28486953
    Certified Pre-Owned: No

Showing 1 - 21 out of 23 listings

Consumer Reviews for the Nissan Titan XD

Read recent reviews for the Nissan Titan XD
Overall Consumer Rating
3.9 out of 5 stars73 Reviews
Write a vehicle reviewSee all 73 reviews
  • 5 star
    (60%)
  • 4 star
    (7%)
  • 3 star
    (7%)
  • 2 star
    (15%)
  • 1 star
    (11%)
5 out of 5 stars

Long Time 3/4 Ton Guy to Now a Titan XD Guy

RB, 12/14/2016
2016 Nissan Titan XD PRO-4X 4dr Crew Cab 4WD SB (5.0L 8cyl Turbodiesel 6A)
I have been a 15 year owner of 2 different ram 2500 trucks. My first was a 03' with the 5.9 Cummins and second was an 11' with the 6.7 Cummins. I'll say the 5.9 was a motor second to none. Best combination of power, efficiency, value, and reliability. Ever since diesel emmissions have crept onto the scene in ~07', I've been very dissapointed in the added cost, 25% reduction in mpg, … and horrible reliability. With that said, let me explain why I love my new Titan XD. This truck was built for the diesel motor head who does not realistically need to town > 10,000 lbs regularly. Comparing the titan with many other 3/4 ton trucks I've spent countless miles in, I'd say the Titan XD takes top honors in being a well rounded every day truck when considering: size, capability, power, fit and finish, and comfort. The titan XD is by far the quietest truck of the bunch and consistently has me appreciating the engineering of the truck, while my girlfriend enjoys the comfort and quietness of the truck. The new 3/4 ton trucks have outrageous power numbers; however, I have learned these trucks HAVE to be worked and worked hard. The need to develop enough heat to burn off the soot in the exhaust after-treatment systems otherwise you are destined for issues (Yes, I'm mostly a < 30 mile / day guy and those driving habits were very problematic in my 6.7 Cummins and all the 6.7 Powerstrokes we have at work). In my opinion, the Titan's 5.0 Cummins with dual sequential turbo setup is the right amount of power to get the job done, provides excellent throttle response, and most importantly it is small enough that the motor will get a decent load cycle running the truck empty to where the engine pushes enough heat on short runs to still keep up with burning off the soot and keeping the EGR clean. My other high note for the truck is the Aisin transmission. This thing shifts on the money every time both upshifts and downshifts whether light load or towing. As you can see, I'm impressed with this Titan XD having just turned 20,000 miles. My 1 big deciding factor I'll leave you with is this: I bought my Titan XD with an $11,000 rebate. At that price point I'd recommend a Titan over any competition in it's price class for the user who appreciates diesel power and realistically tows > 5,500 lbs but < 10,000 on a regular basis. However, if Titan drops the rebates to < $6,000, I would have to say I'd make the shift into a 3/4 ton truck at that price point. Nissan, are you listening??? Keep those rebates to keep the truck priced where it should be priced. Hope my review helped.
Report abuse

Used 2017 Nissan Titan XD in San Francisco, CA Values

Estimated values
2017 Nissan Titan XD PRO-4X 4dr Crew Cab 4WD SB (5.0L 8cyl Turbodiesel 6A) with no options
ConditionTrade-InPrivate PartyDealer Retail
Outstanding$20,222$25,049$28,459
Clean$19,517$24,142$27,392
Average$18,343$22,632$25,614
Rough$16,816$20,669$23,303

The average list price of a used 2017 Nissan Titan XD in San Francisco, California is $27,682. The average mileage on a used Nissan Titan XD 2017 for sale in San Francisco, California is 70,639. Based on the average mileage of 70,639 for used 2017 Nissan Titan XD for sale in San Francisco, 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 Nissan Titan XD 2017 in San Francisco, California to be $18,343.












* Delivery of any kind does not apply to Alaska and Hawaii. Contact the dealer for delivery details, restrictions and costs.