San Francisco

$132+ Cheap flights from O'Hare Intl (ORD) to San Francisco (SFO)

This is the cheapest one-way flight price found by a Cheapflights user in the last 72 hours by searching for a flight departing on 5/9. Fares are subject to change and may not be available on all flights or dates of travel.
ORD — SFO
May 15 — May 221
We work with more than 300 partners to bring you better travel deals

Find cheap flights from O'Hare Intl to San Francisco with Cheapflights

1. Tell us where you want to go

Enter your travel information like dates, passengers, trip type (one-way or round trip), and preferred cabin class then click “Find deals”

2. Select your favorite providers

We find the providers serving your travel needs. Choose up to four travel providers to compare side-by-side for flights, hotels, or car rentals.

3. Compare prices and book

Review each provider’s pricing and select the best option for you! Book through your favorite provider’s website for a seamless experience.
Cheapflights Tip: The best prices from Chicago O'Hare Intl to San Francisco are usually found in August or September, booked 83 days in advance, depart on a Thursday or Friday and return on a Wednesday

Cheap flight deals from O'Hare Intl to San Francisco

Cheapest flights from O'Hare Intl to San Francisco
Explore the most affordable flight options available from O'Hare Intl to San Francisco. Find the lowest fares from popular airlines and budget airlines, with prices last updated on April 15, 2026.

This Cheapflightsfares deal was found by Cheapflights users on 4/10. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Fri 8/289:48 pm
ORD
-
SFO
1 stop15h 50m
Frontier
Mon 8/3111:52 pm
SFO
-
ORD
1 stop14h 18m
Frontier
Deal found 4/10$239
This Kiwi.com deal was found by Cheapflights users on 4/11. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Fri 5/17:50 am
ORD
-
SFO
1 stop10h 14m
Frontier
Wed 5/611:26 am
SFO
-
ORD
2 stops20h 01m
Frontier
Deal found 4/11$241
This Kiwi.com deal was found by Cheapflights users on 4/12. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sat 6/66:55 am
ORD
-
SFO
1 stop14h 39m
Frontier
Wed 6/178:21 pm
SFO
-
ORD
1 stop7h 58m
Frontier
Deal found 4/12$242
This Kiwi.com deal was found by Cheapflights users on 4/12. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/58:00 am
ORD
-
SFO
2 stops14h 36m
Multiple Airlines
Sat 5/96:00 am
SFO
-
ORD
1 stop12h 32m
Multiple Airlines
Deal found 4/12$243
This Cheapflightsfares deal was found by Cheapflights users on 4/10. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Thu 5/149:37 pm
ORD
-
SFO
1 stop28h 46m
Frontier
Sun 5/1711:59 pm
SFO
-
ORD
1 stop14h 17m
Frontier
Deal found 4/10$244
This Frontier deal was found by Cheapflights users on 4/10. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Frontier is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Thu 6/49:37 pm
ORD
-
SFO
1 stop12h 24m
Frontier
Fri 6/1911:57 pm
SFO
-
ORD
1 stop14h 08m
Frontier
Deal found 4/10$245
This Frontier deal was found by Cheapflights users on 4/10. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Frontier is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Wed 4/298:58 pm
ORD
-
SFO
1 stop13h 25m
Frontier
Fri 5/811:59 pm
SFO
-
ORD
1 stop9h 01m
Frontier
Deal found 4/10$246
This Kiwi.com deal was found by Cheapflights users on 4/13. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/58:00 am
ORD
-
SFO
2 stops14h 36m
Multiple Airlines
Fri 5/811:59 pm
SFO
-
ORD
1 stop9h 01m
Multiple Airlines
Deal found 4/13$247
This Kiwi.com deal was found by Cheapflights users on 4/14. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Kiwi.com is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 6/96:55 am
ORD
-
SFO
1 stop14h 31m
Frontier
Thu 6/186:00 am
SFO
-
ORD
1 stop12h 43m
Frontier
Deal found 4/14$248
This Cheapflightsfares deal was found by Cheapflights users on 4/10. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Sat 4/188:58 pm
ORD
-
SFO
1 stop13h 25m
Frontier
Mon 4/2010:38 pm
SFO
-
ORD
1 stop9h 02m
Frontier
Deal found 4/10$249
This Cheapflightsfares deal was found by Cheapflights users on 4/14. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure Cheapflightsfares is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Fri 4/245:50 am
ORD
-
SFO
1 stop13h 44m
Frontier
Sun 4/2610:38 pm
SFO
-
ORD
1 stop10h 54m
Frontier
Deal found 4/14$250
This United Airlines deal was found by Cheapflights users on 4/14. Clicking the “Pick Dates” button in this card will allow you to select your dates and further customize your flight criteria. From there, click “Find deals”, make sure United Airlines is selected, and click “Compare selected” under the list of providers to see comparable flight deals.
Tue 5/52:15 pm
ORD
-
SFO
Nonstop4h 57m
United Airlines
Wed 5/612:45 am
SFO
-
ORD
Nonstop4h 22m
United Airlines
Deal found 4/14$251

Find flight deals from O'Hare Intl to San Francisco

Discover tips and strategies to find the most affordable flight options for your journey from O'Hare Intl (ORD) to San Francisco (SFO). Learn about various techniques such as flexible date searches, comparing prices across and setting up price alerts. Use these methods to find the cheapest flights available for your travel needs. Data last updated April 15, 2026.

Most accurate provider

FlightHub
3 stars

Most trusted provider

FlightHub
3 stars

Round-trip from

$239
(Cheapflightsfares)

One-way from

$132
(Kiwi.com)

Popular in

March

Cheapest in

August

Average price

$395

Good round-trip deal

$374 or less

Good one-way deal

$207 or less
Provider with most accurate pricing for Chicago O'Hare Intl-San Francisco flight deals.
Provider most trusted by Cheapflights users for Chicago O'Hare Intl-San Francisco flights.
From Chicago O'Hare Intl to San Francisco
One-way flight from Chicago O'Hare Intl to San Francisco
Highest demand for flights based on searches. 10% potential increase in price ($42 potential increase over avg. RT price).
Cheapest flight prices on average. 2% potential price decrease ($8 potential savings vs. average RT price).
Average for round-trip flights in April 2026
Price to beat on a round-trip flight from Chicago O'Hare Intl to San Francisco.
Price to beat on a one-way flight from Chicago O'Hare Intl to San Francisco.

Cheapflights Fare Finder

 
Customize your flight search to find flights from O'Hare Intl to San Francisco that fit within your specific budget. Explore options based on user searches and filter the results based on your desired price range. Find flights that match your budget for a cost-effective journey. Over the last 7 days, Cheapflights users made 2,558,603 searches. Data last updated April 15, 2026.
Use the filters below to find and compare flights from Chicago O'Hare Intl Airport to San Francisco that are best for you.

Fly from

Fly to

Route

Depart

Return

Price

Cheapest round-trip

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Thu 6/4

10:45 pm-1:42 am

Nonstop4h 57m

San Francisco

Wed 6/10

5:05 am-11:31 am

Nonstop4h 26m

$251

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Thu 5/28

6:15 pm-11:05 pm

1 stop6h 50m

San Francisco

Tue 6/2

7:20 am-6:50 pm

2 stops9h 30m

$276

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Thu 5/21

9:37 pm-8:01 am

1 stop12h 24m

San Francisco

Wed 5/27

11:15 am-11:01 pm

2 stops33h 46m

$287

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Wed 5/6

7:45 am-3:20 pm

2 stops9h 35m

San Francisco

Sat 5/9

7:45 am-10:20 pm

2 stops12h 35m

$287

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Sat 5/2

6:15 am-5:25 pm

2 stops13h 10m

San Francisco

Sat 5/9

7:45 am-10:20 pm

2 stops12h 35m

$307

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Mon 5/4

8:00 am-2:35 pm

2 stops8h 35m

San Francisco

Tue 5/12

11:25 am-10:55 pm

2 stops9h 30m

$333
Quickest round-trip

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Sat 5/16

7:40 am-10:33 am

Nonstop4h 53m

San Francisco

Mon 5/18

12:45 am-7:07 am

Nonstop4h 22m

$376

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Fri 5/15

8:00 am-5:00 pm

2 stops11h 00m

San Francisco

Sat 5/23

7:45 am-10:20 pm

2 stops12h 35m

$389

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Fri 5/22

9:33 pm-12:30 am

Nonstop4h 57m

San Francisco

Wed 5/27

6:34 pm-12:59 am

Nonstop4h 25m

$395

ChicagoSan Francisco

ORD - SFO

ORDSFO

Chicago O'Hare Intl

Thu 5/21

9:33 pm-12:30 am

Nonstop4h 57m

San Francisco

Sun 5/24

6:05 am-12:41 pm

Nonstop4h 36m

$418

Flights are sorted by cheapest round-trip flights first.

Deals found on 4/14

Showing 1-10 of 23 resultsSorted by cheapest first
1
2
3

Compare providers for flights from O'Hare Intl to San Francisco

Provider information is updated monthly. Please note that these providers often have deals for this flight, but the availability may vary on a day-by-day basis on Cheapflights.
Use the table below to compare price accuracy, trust ratings, and cancellation policies for each provider offering flight deals from O'Hare Intl to San Francisco in April.
ProviderPrice AccuracyTrust Score*
ExpediaPrice Accuracy1 starTrust Score*3 stars
FlightHubPrice Accuracy3 starsTrust Score*3 stars
JustAirTicketPrice Accuracy-Trust Score*1 star
CheapflightsfaresPrice Accuracy2 starsTrust Score*2 stars
CheapfaremartPrice Accuracy-Trust Score*1 star
CheapOairPrice Accuracy3 starsTrust Score*3 stars
CheapTicketsDealPrice Accuracy3 starsTrust Score*3 stars
Trip.comPrice Accuracy1 starTrust Score*3 stars

*The Trust Score is based on feedback from users after their booking experience. It measures overall satisfaction, helping us identify issues like hidden fees, problems during the ticketing process, and the quality of customer service. This score is our best indicator of the provider's quality and reliability.

  • Most accurate provider: When it comes to deals on Chicago O'Hare Intl Airport-San Francisco flights, users find the pricing of FlightHub to be most consistent on Cheapflights vs. FlightHub Users can find the same prices on Chicago O'Hare Intl Airport-San Francisco flight deals on Cheapflights vs. FlightHub >95% of the time. Price accuracy is based on data collected from Chicago O'Hare Intl Airport-San Francisco flight searches over the past month and is updated monthly.
  • Most trusted provider: When it comes to deals on Chicago O'Hare Intl Airport-San Francisco flights, Cheapflights users trust FlightHub the most. FlightHub has received a user feedback score of 3 out of 3 stars (3 being the best), meaning they have been trusted the most by Cheapflights users looking for Chicago O'Hare Intl Airport-San Francisco flight deals. Provider user feedback score is based on Cheapflights searches over the past month and is updated monthly.

Best time to book a flight from O'Hare Intl to San Francisco

Have a flexible travel schedule? Discover the best time to fly to San Francisco from O'Hare Intl with our price prediction graph.
Estimated round-trip price
Rates are based on past data. Find the cheapest month and day to book your flight based on your travel requirements, then search for cheap deals.

Cheapflights Insights

Everything you need to know about your flight from Chicago O'Hare Intl Airport to San Francisco

How far ahead should I book a flight from Chicago O'Hare Intl Airport to San Francisco?

Use this chart to determine the optimal time to book a round-trip flight from O'Hare Intl to San Francisco. Price data was last updated on April 10, 2026.

The price you pay for your flight from Chicago O'Hare Intl Airport to San Francisco may vary depending on when you book. For the best chance of a lower fare, look to book 83 days in advance of your trip. Fares are likely to increase a fortnight or so before your departure date.

What is the cheapest month to book a flight from Chicago O'Hare Intl Airport to San Francisco?

Currently, October is the cheapest month in which you can book a flight from Chicago O'Hare Intl Airport to San Francisco (average of $80). Flying from Chicago O'Hare Intl Airport to San Francisco in March is currently the most expensive (average of $244). There are several factors that can impact the price of a flight, so comparing airlines, departure airports and flight times can provide users with more options.

What is the cheapest time of day to fly from ORD to SFO?

Find hourly flight availability from O'Hare Intl to San Francisco. Discover flight options and departure times throughout the day, allowing you to choose a departure time that suits your schedule. Data last updated April 15, 2026.

Unlike in the afternoon, when flights are generally more expensive, you can save up to 23% on flights from Chicago O'Hare Intl Airport to San Francisco by exploring options for tickets in the morning.

What is the cheapest day to fly from Chicago O'Hare Intl Airport to San Francisco?

Use this chart to determine the cheapest time to fly round-trip from O'Hare Intl to San Francisco. Price data was last updated on April 11, 2026.

Travelers seeking maximum savings on their Chicago O'Hare Intl Airport to San Francisco flight should consider departing on Wednesday evenings when fares are most often at their lowest. Sunday afternoons flights should be avoided if possible as fares are typically the most expensive at this time.

How much does it cost to fly round-trip from Chicago O'Hare Intl Airport to San Francisco?

The best insider tips for Chicago O'Hare Intl Airport to San Francisco flights

AI-powered summary based on content written by travel experts. AI can make mistakes.
Cheapflights partnered with top experts to bring you the best recommendations for your Chicago O'Hare Intl Airport to San Francisco trip
Our travel experts
Harriet Baskas

Harriet Baskas

Expert on United Airlines and SFO

Harriet is an award-winning journalist who is happiest in an airport or an unusual museum. Her stories about airports, air travel, and the business of travel have appeared on NBC News, CNBC, USA TODAY, The Points Guy and other outlets. She is the creator of the StuckatTheAirport.com blog and the author of nine books. When not out on the road or exploring the latest airport amenities, she’s home in Seattle getting ready for the next adventure.

Robert Schrader

Robert Schrader

Expert on Alaska Airlines

One of the web's original travel bloggers, Robert launched his first site Leave Your Daily Hell in 2009. Since then, he's expanded into destination niche sites (one each for Japan, Thailand and Taiwan), in addition to having written for the inflight magazines of Singapore Airlines and Korean Air. Overall, he's visited nearly 100 countries, and flies business as often as possible.

Ramsey Qubein

Ramsey Qubein

Expert on ORD

An avid traveler and aviation expert who has visited 173 countries, all 50 states and seven continents, Ramsey Qubein flies nearly 400,000 miles a year. As a North Carolina-based freelance journalist for publications including Conde Nast Traveler, Forbes, USA Today and Bloomberg among others, he explores the latest trends in aviation, hospitality, cruises and business.

Reviews of airlines servicing San Francisco

Get insights into the airlines that provide service to San Francisco. Read reviews, discover amenities, and learn about the overall travel experience offered by airlines. Use this information to make informed decisions when choosing an airline for your flight to San Francisco. Reviews last updated April 15, 2026.
Get a feel of what it's like to fly with Alaska Airlines,United Airlines, andJetBlue from Chicago O'Hare Intl Airport to San Francisco by reading reviews from past customers. Users have also rated airlines in terms of entertainment options, comfort, food, crew/service, and boarding process.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Comfort

7.8

Crew

8.5

Overall

7.9

Food

7.0

Entertainment

7.0

Boarding

8.1

Reviews

1 / 20
10.0
Excellent

robert,Feb 2026

LAS - SAN

The good customer service team made you fell welcome on the flight.

Related info for your journey

Find useful and relevant information for your journey from O'Hare Intl to San Francisco. Access travel guides, tips, and recommendations to enhance your travel experience. Get information about local attractions, weather, transportation options, and more.
  • What airport do you fly into for flights to San Francisco from Chicago O'Hare Intl?

    Located just 11.0 mi from the city center, San Francisco is the airport most travelers will use when flying to San Francisco from Chicago O'Hare Intl. Booking flights from Chicago O'Hare Intl to San Francisco (SFO) should be relatively easy as there are 61 daily inbound flights from Chicago O'Hare Intl from 8 different airlines.

  • How long is the flight from Chicago O'Hare Intl Airport to San Francisco?

    Departing from Chicago O'Hare Intl Airport to San Francisco will take you 4h 57m. Airlines will cover a distance of 1841 mi. When browsing for deals, the options you’ll see will be for both nonstop flights and flights with stops.

  • What are the cheapest airlines flying from Chicago O'Hare Intl Airport to San Francisco round-trip?

    Currently priced at $108, Hawaiian Airlines will fly you from Chicago O'Hare Intl Airport to San Francisco and back. In addition to Hawaiian Airlines, many other airlines offer competitively priced options for your trip. Search Cheapflights for deals from Frontier and Delta - these airlines can fly you to your destination from $120 and $128, respectively. Users have found that Hawaiian Airlines is 69% cheaper than the other options available to this destination.

  • What are the cheapest airlines to fly from Chicago O'Hare Intl Airport to San Francisco one-way?

    The cheapest airlines for a one-way flight from Chicago O'Hare Intl Airport to San Francisco are JetBlue ($73), Frontier ($85), and Alaska Airlines ($89).

  • What are the most reliable airlines from Chicago O'Hare Intl Airport to San Francisco?

    Consider ANA (92%), Air China (90%) or Air New Zealand (81%) when booking your flight. These represent the most reliable airlines when flying from Chicago O'Hare Intl Airport to San Francisco.

  • What are the cheapest flights from Chicago O'Hare Intl Airport to San Francisco?

    Looking at all options, your cheapest flight can be booked for $132. While the most popular route (Chicago O'Hare Intl - San Francisco) can be booked for $189 on average, our data indicates $962 when flying from Chicago O'Hare Intl Airport to San Francisco.

  • Can I find deals for flights from O'Hare Intl to San Francisco that include hotel bookings?

    Yes. In addition to deals on O'Hare Intl to San Francisco flights, Cheapflights offers vacation packages that include both flights and hotel.

  • How can I find direct flights from O'Hare Intl to San Francisco?

    After entering your origin and destination, apply the non-stop filter on the search result page to find direct flights from O'Hare Intl to San Francisco.

  • Can I find deals for business class flights from O'Hare Intl to San Francisco?

    Yes. Cheapflights offers flight deals from O'Hare Intl to San Francisco by cabin class. In addition to browsing deals, you can also filter by cabin class on the search results page after making a search.

  • What is the cheapest month to book a flight from Chicago O'Hare Intl Airport to San Francisco?

    Currently, October is the cheapest month in which you can book a flight from Chicago O'Hare Intl Airport to San Francisco (average of $80). Flying from Chicago O'Hare Intl Airport to San Francisco in March is currently the most expensive (average of $244). There are several factors that can impact the price of a flight, so comparing airlines, departure airports and flight times can provide users with more options.

See more FAQs

Traveling to a place near San Francisco?

Book flights to San Francisco if you plan to visit one of these locations
South San Francisco
Santa Cruz
Santa Clara
Livermore
Rancho Cordova
San Bruno
Watsonville
San Ramon
Union City
Emeryville
Newark
Vacaville
Roseville
San Carlos
Redwood City
Sunnyvale
Turlock
San Lorenzo
Davis
Manteca

Browse thousands of different options on Cheapflights for your next trip

Toggle through the tabs below to find thousands of options on Cheapflights for your next trip.

Top 8 airlines flying from O'Hare Intl to San Francisco

Discover the top 8 airlines that operate flights from O'Hare Intl to San Francisco. Compare their services, reliability, and customer satisfaction ratings to choose the airline that best suits your travel preferences and needs. Over the last 7 days, Cheapflights users made 2,558,603 searches. Data last updated April 15, 2026.
AirlineCheapestAverageFlexibilityOn-time
Hawaiian AirlinesCheapest$108Average$207FlexibilityNo cancel feeOn-time85%
FrontierCheapest$120Average$232FlexibilityNo cancel feeOn-time62%
DeltaCheapest$128Average$364FlexibilityNo cancel feeOn-timeN/A
SouthwestCheapest$138Average$332FlexibilityNo cancel feeOn-time63%
JetBlueCheapest$159Average$304FlexibilityNo cancel feeOn-time62%
Alaska AirlinesCheapest$186Average$267FlexibilityNo cancel feeOn-time75%
American AirlinesCheapest$197Average$322FlexibilityNo cancel feeOn-time71%
United AirlinesCheapest$215Average$403FlexibilityNo cancel feeOn-time69%

100% Free

Cheapflights is completely free to use, so you can start saving the moment you arrive.

Book with Flexibility

Our users can plan ahead with confidence and find flights with no change fees

Travel Smart

Millions of people come to us for their flight needs every year. We help make travel planning easy by providing useful insights and data-driven graphs that can inform your decisions.