AllOverBooking – Flights, Hotels & Smart Travel Tools

Compare flight options from 728 airlines Global travel search Flight comparison technology Currency & budget tools International travel solutions

FLIGHTS · AVIATION EDUCATION PILLAR

Airline Fare Classes Explained: Booking Codes, Fare Rules and Cabin Types

Two travellers in the same cabin, on the same flight, can hold completely different tickets. The reason is the fare class, the single letter that sets your price, your rules and your upgrade chances. Here is how the whole system works.

Last verified: 21 September 2026 · By the AllOverBooking Editorial Team · Reading time: about 18 minutes

Buried in every airline ticket is a single letter you rarely notice: Y, Q, K, J and so on. That letter is the fare class, and although you rarely see it, it decides more about your journey than the cabin name printed on the boarding pass. It sets what you paid, whether you can change or refund the ticket, how many miles you earn, and even whether you can be upgraded. Once you learn to read it, airfare stops feeling random.

What are airline fare classes?

An airline fare class is a single-letter booking code that identifies which fare you bought inside a cabin, each with its own price and rules. Airlines divide every cabin, whether economy, premium economy, business or first, into many fare classes running from cheap and restricted to expensive and flexible. Then they control how many seats sell at each level through revenue management. The fare class, tied to a fare basis code, determines your price, refundability, change rules, mileage earning and upgrade eligibility. That is why two passengers in identical seats can hold very different tickets.

Cabins are what you see, but fare classes are what you actually buy, and the difference between those two ideas is the whole subject of this guide.

Quick Facts Snapshot

What a fare class is
The booking-code letter setting price and rules inside a cabin
What a fare basis is
A longer code, such as QW2NR, carrying the full rule set
Who controls availability
Revenue management, opening and closing classes by demand
What the class governs
Price, changes, refunds, mileage earning and upgrade eligibility
Why identical seats differ in price
Because the cheaper booking class closed, not because seats ran out
The three checks before paying
Is it changeable, is it refundable, does it earn miles

Who this guide is for. Anyone who has wondered why the same seat costs different amounts, or who has bought a cheap fare and discovered too late that it could not be changed. It explains the concepts as they work industry-wide rather than listing any one airline's current code table.

The system in one paragraph

Although cabins are what you see, fare classes are what you buy. Each cabin splits into a ladder of booking classes, and every class maps to a fare basis code spelling out the rules: price, flexibility, refundability, mileage and upgrade rights. Airlines open and close those classes using revenue management, releasing cheaper ones early and shutting them as demand builds. That is why the price moves, and why identical seats cost different amounts. Once you understand the ladder and the codes, you can read exactly what a fare gives you before you pay, and choose the right one for your trip rather than the cheapest-looking one.

The short version. A fare class is the booking-code letter that sets your ticket's price and rules inside a cabin. Cheaper classes carry more restrictions, such as limited changes, no refund and fewer miles. Higher classes are flexible and refundable. Because airlines control how many seats sell in each class, prices shift as classes open and close.

Three layers inside every ticket

Because travellers usually blur three separate ideas together, it helps to pull them apart before going further.

LayerAlso calledWhat it decides
Cabin classEconomy, premium economy, business, firstThe physical product, meaning where you sit
Fare classBooking class, or Reservation Booking Designator (RBD)Which fare bucket you bought inside that cabin
Fare basisA longer code attached to the letterThe full rule set governing the ticket

Why a single letter matters so much

That letter is the key to everything downstream, because it maps to a price point, a mileage-earning rate, a set of change and refund rules, and your position in the upgrade queue. Since airlines file dozens of fare classes per cabin, the word "economy" tells you almost nothing on its own. Two economy passengers might hold a cheap, non-refundable, no-miles class and a flexible, fully refundable, full-mileage class respectively. The cabin is identical, yet the contract is not.

Where this sits in the cluster. This is the aviation-concepts pillar. For the whole booking process end to end, see the Ultimate Flight Booking Guide. For the pricing mechanics behind the letters, see how airlines price flights.

The fare hierarchy

Running from the most premium cabin down to the most restricted fare, the ladder looks like this. Letters shown are illustrative cabin markers, because each airline files its own codes, although the ordering itself is universal.

TierCabinWhat it offers
FFirst ClassThe most spacious, flexible and expensive cabin, with top mileage and priority handling
JBusiness ClassLie-flat comfort on long-haul, high flexibility, strong mileage and upgrade priority
WPremium EconomyMore space and service than economy, at a fraction of the business-class price
YEconomyThe core cabin, itself split into many fare classes from flexible to restricted
BBasic EconomyThe most restricted fare: lowest price, fewest rights, minimal changes or miles

Notice, however, that economy is not one thing. Within that single cabin sit many fare classes, stacked from the flexible, fuller-fare top down to the cheap, restricted bottom, and basic economy is simply the lowest rung stripped back to the smallest price. Similarly, premium cabins repeat the same idea. Even business class, for example, ranges from a deeply discounted, change-limited fare to a fully flexible one. If cabin definitions themselves are the open question, the cabin class comparison covers those separately.

Why booking classes exist

Airlines use fare classes to sell the same cabin to very different travellers at the same time: the price-sensitive tourist booking months ahead, and the last-minute business flyer who needs flexibility. Splitting a cabin into many fare buckets lets them offer a low price to one and a flexible, higher price to the other, filling the aircraft while maximising revenue. This discipline is called revenue management, and its wider goal, the best revenue per seat rather than simply a full plane, is yield management.

How the seats are released

Step one, inventory is divided. Each cabin splits into booking classes, and every class holds a set number of seats. Airlines call this inventory control.

Next, demand is forecast. Here, systems predict how full a flight will be and how many travellers will pay at each fare level.

Then classes open and close. Cheaper classes sell out and shut, so whichever class remains open sets the current price. This is availability.

Alongside that, dynamic pricing adjusts. Pricing keeps tuning the picture in real time, which is why the same seat can change price hour to hour.

Finally, you book the open class. You pay whatever class is available at the moment you look, and that is why timing changes the price so much.

So two passengers pay different amounts because they booked different classes, opened and closed at different moments. If the timing question is what brought you here, the best time to book flights covers it directly. This guide stays with the classes themselves.

Fare basis codes and rules

Behind each booking-class letter sits a fare basis code, a short string such as YLE7 or QW2NR that encodes the fare's rules. In effect it is the fine print compressed into characters: the fare family, the season, the advance-purchase requirement, and whether the fare is refundable. As a result, two economy seats with different fare bases can behave completely differently at the point you need to change or cancel.

The rules a fare basis carries

In detail, a fare's rules govern far more than its price. They set the advance purchase window, any minimum stay or maximum stay, plus blackout dates and seasonality. They also fix the routing rules, stopover rules and open-jaw rules deciding how the ticket can be flown. Finally they spell out the penalties: the change fees, cancellation rules, and whether a ticket reissue, exchange or refund is permitted at all. Reading these before you buy is the difference between a fare that fits your trip and one that traps you.

How to read it when booking. You do not need to memorise codes. Check three things before paying: is it changeable, is it refundable, and does it earn miles. Together, those three answers tell you what a cheap fare really costs, since the fare class sets all of them. For the routing rules specifically, see stopover flights, open-jaw flights and multi-city flights.

The booking class matrix

Although one cabin choice looks like a single decision, it unfolds into six, and only the first is visible on the booking screen.

DecisionWhat it coversRange
1. CabinWhere you sitEconomy through to First
2. Fare familyThe brand name attached to the fareBasic, Standard, Flex
3. Booking codeThe letter itselfY, M, Q, J and others
4. FlexibilityChange and refund rightsRestricted through to flexible
5. UpgradeEligibility to move up a cabinOften barred through to allowed
6. MileageEarning rateLow or none through to full

Read across, the matrix shows why the cabin name is only the start. The same economy seat could be a Basic fare family on a Q booking code with no changes, no upgrade and reduced miles. Alternatively it could be a Flex fare family on a Y code with free changes, upgrade eligibility and full mileage. The cabin is one decision; the fare class quietly makes five more before you reach the seat itself.

Comparing the four cabins

In general terms, here is what each cabin offers, although the fare class within it still governs the detail.

CabinComfortTypical flexibilityMileage earningSuits
Basic EconomyStandard seatVery restrictedReduced or noneLowest price on fixed plans
EconomyStandard seatVaries by fare classStandardMost travellers
Premium EconomyWider seat, more legroomModerateEnhancedLong-haul comfort on a budget
BusinessLie-flat on long-haulHighStrongRest, work and priority handling
FirstMost space and serviceHighestTopA premium experience

Because baggage allowances also move with the fare rather than the cabin alone, and the airline baggage rules guide covers how carriers apply those limits at the gate.

Refundable against restricted

Two axes in particular decide how a fare behaves under pressure. A refundable fare returns your money if you cancel, whereas a non-refundable fare does not, though it may leave a credit minus a penalty. A flexible fare lets you change dates cheaply or free, while a restricted fare charges a fee or forbids changes entirely. As a rule, cheaper fare classes cluster at the restricted, non-refundable end, while higher classes sit at the flexible, refundable end.

Flexible and refundable faresRestricted and non-refundable fares
Change dates with a low fee or noneChanges cost a fee, or are not allowed
Cancel for a refund within the rulesNo cash refund on cancellation
Usually earn full mileageMay earn reduced miles, or none
Often upgrade-eligibleOften barred from upgrades
Suit plans that may shiftCheapest, and suit fixed plans

Choosing between them. If your dates are fixed and the budget is tight, a restricted, non-refundable class is perfectly sensible. Uncertain plans or a work trip tilt the other way, since a flexible class often pays for itself the first time something changes. In the end, match the fare class to how certain your trip actually is. Ticket shape matters too, which one-way against round-trip covers separately.

Upgrades and mileage

Two things travellers care about, namely upgrades and miles, are governed directly by the fare class. Cheaper booking classes often earn a reduced percentage of miles or none at all, and they are often ineligible for upgrades using miles or vouchers. Higher classes, by contrast, earn full or bonus miles and sit near the front of the upgrade queue. In other words a cheap ticket can cost you twice: once in flexibility, and again in the miles and upgrade rights you quietly gave up.

Award tickets and upgrade classes

Frequent-flyer redemptions follow their own logic. An award ticket is booked into dedicated inventory, and upgrades often draw on specific upgrade classes that the airline releases separately from cash fares. That is why an award seat can be available when cash fares look full, or the reverse, since they are different buckets. Alliance partners, namely Star Alliance, SkyTeam and oneworld, let miles earn and often burn across member airlines, distributed through the GDS and governed by shared IATA standards.

Married segments and availability. Airlines sometimes sell connecting legs only together, a practice called married segments, so a cheap class can appear on the full journey yet not on a single leg. A waitlist or standby option may exist when your class has sold out. This is availability working as designed, not a fault in the booking engine. Connection mechanics are covered in layover flights explained.

Once you can read a fare class, comparing two fares becomes a matter of reading what each one actually includes.

Compare flights and fare types

Real booking examples

Since codes and rules change by carrier and by season, these examples stay concept-focused rather than tied to any airline's current code table.

Economy, two very different tickets

Here, two passengers sit side by side in economy. One booked a restricted class months ahead and paid the cheapest price, with no changes permitted and reduced miles. The other booked a flexible economy class the week before, paying more but gaining free changes, full miles and upgrade eligibility. Overall: identical seat, opposite contracts, and the fare class made the whole difference.

Business, discounted against full

A discounted business fare can be change-restricted and earn fewer miles, while a full-flexible business fare allows free changes, refunds and top mileage. Yet both sit in the same lie-flat seat. Premium cabins have fare ladders too, so read the class rather than the cabin.

Basic economy, the hidden trade

A basic economy fare wins on headline price, yet it bars seat selection and changes, and sometimes mileage as well. If the trip is fixed and light, it is a sound choice. For anything that might change, the small saving can vanish at the first disruption. The lowest class fits certainty, not flexibility.

Who each fare class suits

TravellerUsually suited byReason
Fixed-plan touristsRestricted economyCertain dates and a tight budget make the cheapest class sensible
Business travellersFlexible faresChanging schedules make flexibility and refundability worth the premium
Mileage collectorsHigher classesFull mileage earning and upgrade eligibility compound over a year
Long-haul comfort seekersPremium economyMore space than economy without the business-class price
FamiliesStandard economySome ability to change matters more than the rock-bottom fare
Spontaneous flyersFlexible or award faresChangeable fares and award seats suit plans that move

What experienced bookers do differently. They read the fare class before the price, because a headline number means little until you know whether the ticket is changeable, refundable and mileage-earning. Since the booking class sets all three attributes, they are what you buy alongside the seat.

Their second habit is to match the class to certainty rather than to status. A flexible fare is not better in the abstract; it is insurance you only need when plans might move. On a fixed trip the restricted class is the smart choice, and the skill lies in knowing which situation you are in before you reach the payment screen.

Myths and common mistakes

In practical terms, five beliefs cause most of the confusion around fare classes.

MythWhat is actually true
Economy is one fixed priceEconomy holds many fare classes, from cheap and restricted to flexible and refundable
The cabin tells me my rulesThe fare class does, and two same-cabin seats can carry opposite rules
A rising price means the plane is fullUsually the cheap booking class closed, rather than seats running out
All business fares are flexibleDiscounted business classes can be change-restricted with reduced miles
Basic economy is just cheaper economyIt is the most restricted class, often without changes, seat choice or miles

Mistakes that cost travellers money

  • Booking on headline price alone, without checking the change and refund rules.
  • Assuming the cabin name guarantees flexibility or mileage earning.
  • Buying basic economy for a trip that might still change.
  • Overlooking reduced mileage earning on the cheapest classes.
  • Expecting an upgrade on a class that is not upgrade-eligible.

In particular, these overlap with the wider booking errors covered in common flight booking mistakes.

Your fare class checklist

  • Identify the cabin and the fare family, whether Basic, Standard or Flex.
  • Check whether the fare is changeable, and what the change fee is.
  • Confirm whether it is refundable, or credit-only.
  • Check the mileage-earning rate for that specific class.
  • Confirm upgrade eligibility if that matters to you.
  • Read the advance-purchase, minimum-stay and routing rules.
  • Match the fare class to how certain your plans are.

Frequently asked questions

The basics

What are airline fare classes?

They are single-letter booking codes, such as Y, M, Q or J, which identify the specific fare you bought within a cabin. Each class carries its own price and rules covering flexibility, refunds, mileage and upgrades, so the fare class defines what your ticket allows, well beyond the cabin name.

What is booking class Y?

Traditionally, Y is the code for a full-fare, flexible economy class. In practical use, airlines apply many economy letters below it for cheaper, more restricted fares. Because the exact meaning varies by airline, treat Y as a general marker for the flexible, full-mileage end of the economy ladder.

What is a fare basis?

A fare basis is a short code attached to your booking class, such as QW2NR, which encodes the fare's full rules: the fare family, season, advance-purchase requirement, and whether it is refundable or changeable. In brief, it is the fine print of your ticket compressed into a string of characters.

What is the difference between cabin class and fare class?

First, the cabin class is the physical product, meaning where you sit. Second, the fare class is which fare you bought inside that cabin. Since one cabin holds many fare classes, the cabin tells you about comfort while the fare class tells you about price, rules and rights.

Prices and availability

Why are flight prices different for the same seat?

Because passengers book different fare classes, which the airline opens and closes through revenue management. The cheapest classes sell out first, so later bookers pay more. The seat is identical, yet the booking class and the moment you bought it are not.

How do fare buckets work?

In short, a fare bucket is the pool of seats an airline sells at a given booking class and price. Every cabin holds several buckets running from cheap to expensive. Revenue management opens and closes them according to demand, so whichever bucket is open sets the price you see on a given day.

Does a higher price mean the flight is nearly full?

Not necessarily. Instead, a rising price usually signals that the cheaper booking class has closed rather than seats running out. Plenty of seats can still remain while only a more expensive class stays open.

What are married segments?

Married segments are connecting legs that an airline sells only together. As a result a cheap class can appear when you search the full journey but disappear when you search one leg alone. That reflects deliberate inventory control rather than a pricing error.

Rules, refunds and upgrades

Which fare class is refundable?

Generally the higher, more flexible classes are refundable while the cheapest restricted classes are not. Because refundability is set by the fare basis rather than the cabin, always check the specific rule. For example, some economy fares are refundable while some discounted business fares are not.

What is Basic Economy?

Basic Economy is the most restricted economy fare class, since it offers the lowest price in exchange for the fewest rights. Typically it limits or bars seat selection, changes and refunds, and it may earn reduced miles or none. So it suits fixed, light trips where flexibility is not needed.

Can I upgrade my ticket?

That depends on your fare class. Cheaper restricted classes are often ineligible, while higher classes sit near the front of the queue. Since upgrades may use miles, vouchers or dedicated upgrade classes, confirm your own fare's eligibility before counting on one.

Do all fare classes earn the same miles?

No. Because mileage earning is set by the booking class, cheaper classes often earn a reduced percentage or nothing at all, while higher classes earn full or bonus miles. Check the earning rate for your specific class rather than assuming the cabin decides it.

Read the fare class before the price

You can now decode any ticket, so you can compare fares knowing exactly what each class gives you.

Compare flights now