Home › Blog › Amadeus FQM & FRM: 4 Easy Mileage & Surcharge Commands

Amadeus FQM & FRM: 4 Easy Mileage & Surcharge Commands

.frm-guide{font-family:’Inter’,-apple-system,BlinkMacSystemFont,’Segoe UI’,Roboto,sans-serif;color:#334155;line-height:1.7;box-sizing:border-box;background:transparent} .frm-guide *,.frm-guide *::before,.frm-guide *::after{box-sizing:border-box} .frm-guide .container{max-width:900px;margin:0 auto;padding:0 20px} .frm-guide .hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#1e3a8a 0%,#0ea5e9 100%);color:#fff;padding:55px 40px;border-radius:24px;text-align:center;margin:20px 0 35px;box-shadow:0 20px 50px rgba(30,58,138,.2)} .frm-guide .hero-image{position:absolute;right:20px;top:20px;width:300px;opacity:0.15;pointer-events:none;z-index:0} .frm-guide .hero h2{position:relative;z-index:2;font-size:1.9rem;font-weight:800;line-height:1.25;letter-spacing:-.02em;margin:0 0 14px;color:#fff} .frm-guide .hero p{position:relative;z-index:2;font-size:1.05rem;opacity:0.95;margin:0 auto;max-width:680px;line-height:1.7} .frm-guide .intro{font-size:1.05rem;color:#475569;margin:0 0 30px;line-height:1.85} .frm-guide h2{font-size:1.5rem;font-weight:700;color:#1e3a8a;margin:40px 0 16px;padding-left:14px;border-left:5px solid #0ea5e9;line-height:1.3} .frm-guide h3{font-size:1.15rem;font-weight:700;color:#334155;margin:26px 0 12px} .frm-guide .takeaways{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a;border-left:5px solid #f59e0b;border-radius:14px;padding:22px 26px;margin:0 0 30px} .frm-guide .takeaways h2{font-size:.9rem;color:#92400e;margin:0 0 14px;padding-left:0;border-left:none;font-weight:800;letter-spacing:.8px;text-transform:uppercase;display:flex;align-items:center;gap:8px} .frm-guide .takeaways ul{list-style:none;padding:0;margin:0} .frm-guide .takeaways ul li{position:relative;padding:8px 0;font-size:1rem;line-height:1.75;color:#334155;border-bottom:1px solid rgba(245,158,11,.15)} .frm-guide .takeaways ul li:last-child{border-bottom:none} .frm-guide .takeaways ul li::before{display:none} .frm-guide .takeaways ul li strong{color:#92400e;font-weight:700} .frm-guide .info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:22px 26px;margin:20px 0} .frm-guide .info-box p{margin:0 0 10px;font-size:1rem;color:#1e3a8a} .frm-guide .info-box p:last-child{margin-bottom:0} .frm-guide .info-box strong{color:#1e40af} .frm-guide .info-box a{color:#0ea5e9;font-weight:600;text-decoration:underline} .frm-guide .code-box{background:#1e293b;color:#7ee787;padding:14px 22px;border-radius:12px;font-family:’JetBrains Mono’,’Fira Code’,monospace;font-size:1.05rem;text-align:center;margin:14px 0;letter-spacing:.5px;overflow-x:auto;display:block} .frm-guide .code-box code{color:#7ee787;background:transparent;padding:0;font-size:inherit;font-family:inherit} .frm-guide .example-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;padding:18px 22px;margin:14px 0} .frm-guide .example-box p{margin:0 0 8px;font-size:.98rem;color:#166534;font-weight:600} .frm-guide .example-box p:last-child{margin-bottom:0} .frm-guide .example-box .code-box{margin:8px 0;background:#0f172a;font-size:1.15rem} .frm-guide .example-box.blue{background:#eff6ff;border-color:#bfdbfe} .frm-guide .example-box.blue p{color:#1e3a8a} .frm-guide ul{list-style:none;padding:0;margin:14px 0 20px} .frm-guide ul li{position:relative;padding:8px 0 8px 30px;font-size:1rem;color:#475569;line-height:1.75} .frm-guide ul li::before{content:”✓”;position:absolute;left:0;top:8px;width:20px;height:20px;border-radius:50%;background:#dbeafe;color:#1e3a8a;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.75rem} .frm-guide ul li a{color:#0ea5e9;font-weight:600;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s} .frm-guide ul li a:hover{border-bottom-color:#0ea5e9} .frm-guide ol{padding-left:22px;line-height:2;color:#475569;font-size:1rem} .frm-guide ol li{padding:4px 0} .frm-guide ol li code{background:#f1f5f9;padding:2px 8px;border-radius:6px;font-family:’JetBrains Mono’,monospace;font-size:.88em;color:#1e3a8a;font-weight:700} .frm-guide code{background:#eef2f7;padding:2px 8px;border-radius:6px;font-family:’JetBrains Mono’,monospace;font-size:.9em;color:#1e3a8a;font-weight:600} .frm-guide .compare-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:.92rem;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(30,58,138,.06);min-width:560px} .frm-guide .compare-table th{background:#1e3a8a;color:#fff;text-align:left;padding:12px 14px;font-weight:600;font-size:.85rem;border:1px solid #1e3a8a} .frm-guide .compare-table td{padding:11px 14px;border:1px solid #e2e8f0;color:#334155;vertical-align:top} .frm-guide .compare-table tr:nth-child(even) td{background:#f8fafc} .frm-guide .compare-table code{background:#eef2f7;padding:2px 8px;border-radius:6px;font-family:’JetBrains Mono’,monospace;font-size:.85em;color:#1e3a8a;font-weight:700} .frm-guide .table-wrap{overflow-x:auto;margin:18px 0} .frm-guide .warning-box{background:#fef3c7;border:1px solid #fde68a;border-left:5px solid #f59e0b;border-radius:14px;padding:20px 26px;margin:24px 0} .frm-guide .warning-box .wb-header{margin:0 0 12px;font-size:.85rem;color:#92400e;letter-spacing:1px;text-transform:uppercase;font-weight:800;display:flex;align-items:center;gap:8px} .frm-guide .warning-box .wb-header::before{content:”💡”;font-size:1.1rem} .frm-guide .warning-box p{color:#78350f;font-weight:400;margin:0 0 10px;font-size:1rem;line-height:1.75} .frm-guide .warning-box p:last-child{margin-bottom:0} .frm-guide .warning-box strong{color:#92400e} .frm-guide .warning-box a{color:#92400e;font-weight:600;text-decoration:underline} .frm-guide .warning-box code{background:#fde68a;padding:2px 8px;border-radius:6px;color:#92400e;font-family:’JetBrains Mono’,monospace;font-size:.9em;font-weight:700} .frm-guide .faq-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:20px 24px;margin-bottom:14px;transition:box-shadow .25s} .frm-guide .faq-item:hover{box-shadow:0 8px 24px rgba(30,58,138,.06)} .frm-guide .faq-item h3{margin:0 0 8px;font-size:1.05rem;font-weight:700;color:#1e3a8a} .frm-guide .faq-item p{margin:0;font-size:.96rem;color:#475569;line-height:1.8} .frm-guide .faq-item a{color:#1e3a8a;text-decoration:underline;font-weight:600} .frm-guide .faq-item code{background:#eef2f7;padding:2px 8px;border-radius:6px;font-family:’JetBrains Mono’,monospace;font-size:.88em;color:#1e3a8a;font-weight:600} .frm-guide .doc-box{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);color:#78350f;border:1px solid #fde047;border-radius:14px;padding:20px 26px;margin:24px 0} .frm-guide .doc-box .doc-header{margin:0 0 12px;font-size:.85rem;color:#854d0e;letter-spacing:1px;text-transform:uppercase;font-weight:800;display:flex;align-items:center;gap:8px} .frm-guide .doc-box .doc-header::before{content:”📖”;font-size:1.1rem} .frm-guide .doc-box p{color:#78350f;font-weight:400;margin:0;font-size:1rem;line-height:1.75} .frm-guide .doc-box a{color:#854d0e;font-weight:700;text-decoration:underline} .frm-guide .cta-box{background:linear-gradient(135deg,#1e3a8a 0%,#0ea5e9 100%);border-radius:14px;padding:32px 30px;text-align:center;color:#fff;margin:30px 0 25px} .frm-guide .cta-box h3{color:#fff;font-size:1.2rem;font-weight:800;margin:0 0 12px;letter-spacing:-.2px} .frm-guide .cta-box > p{color:#e0f2fe;font-size:.98rem;margin:0 auto 20px;max-width:640px;line-height:1.7} .frm-guide .cta-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:0} .frm-guide .cta-btn{display:inline-block;background:#fff;color:#1e3a8a;padding:12px 28px;border-radius:40px;text-decoration:none;font-weight:700;font-size:.95rem;transition:all .2s} .frm-guide .cta-btn:hover{background:#e0f2fe;transform:translateY(-1px)} .frm-guide .related-block{background:#f8fafc;border:1px solid #eef2f7;border-radius:18px;padding:28px 30px;margin:35px 0} .frm-guide .related-block h3{margin:0 0 16px;font-size:1.1rem;font-weight:700;color:#1e3a8a} .frm-guide .related-block ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px} .frm-guide .related-block ul li{padding:0;font-size:.95rem} .frm-guide .related-block ul li::before{display:none} .frm-guide .related-block ul li a{color:#0ea5e9;font-weight:500;text-decoration:none;display:block;padding:8px 12px;border-radius:10px;transition:background .2s} .frm-guide .related-block ul li a:hover{background:#eff6ff} @media (max-width:768px){ .frm-guide .hero{padding:40px 22px} .frm-guide .hero h2{font-size:1.5rem} .frm-guide .hero-image{width:150px;right:10px;top:10px} .frm-guide .code-box{font-size:.88rem;padding:12px 16px} .frm-guide .compare-table{font-size:.78rem} .frm-guide .compare-table th,.frm-guide .compare-table td{padding:8px 10px} .frm-guide .related-block ul{grid-template-columns:1fr} }
Amadeus FQM and FRM commands mileage calculation guide for travel agents

Amadeus FQM & FRM — Calculate Mileage & Surcharge

A complete guide to the Amadeus FQM and FRM commands — how to calculate itinerary mileage, display mileage surcharge tables, and check mileage directly from a retrieved PNR.

⚡ Key Takeaways

  • FQM calculates mileage for a routing you type manually — the foundation of any mileage-based fare construction.
  • Use FQMPARSTOLONDELBOMSIN to measure the total mileage of a complex multi-city routing.
  • Use FQM*LONLAX to display the mileage surcharge table for a specific city pair.
  • FRM calculates mileage from the PNR — no need to retype city pairs, unlike FQM.
  • Use FRM alone to calculate the total mileage for every segment in the itinerary.
  • Use FRMS2,4,6 to isolate the mileage for specific segments — even non-consecutive ones.
  • A surcharge applies only when mileage exceeds the permitted limit for the fare.
  • Essential for constructed fares, open-jaw itineraries, and routings with surface sectors.

Mileage plays a direct role in fare construction. When a journey exceeds the permitted mileage for a given fare, a mileage surcharge may apply, and the fare must be adjusted accordingly. The Amadeus FQM command is the Amadeus tool that calculates the total mileage for an itinerary and displays the applicable mileage surcharge table. The Amadeus FRM command calculates and displays the mileage for the flight segments of a retrieved PNR, either for the entire itinerary or for specific segments.

What Do the Amadeus FQM and FRM Commands Do?

FQM is the Amadeus GDS command used to calculate itinerary mileage and display mileage surcharge information.

FRM is the Amadeus GDS command used to display the mileage calculation for flight segments in a PNR.

Category: Mileage & Mileage Surcharge.

The Amadeus FQM command allows you to calculate the total mileage for an itinerary and check the applicable mileage surcharge table. The Amadeus FRM command allows you to calculate and display the mileage for all segments or selected segments of a retrieved PNR.

This matters most for constructed fares, open-jaw itineraries, and any routing that includes surface sectors. In those cases, the mileage surcharge can significantly affect the final price, and FQM and FRM are the correct tools to verify it.

Amadeus FQM Command — Calculate Itinerary Mileage

The most common use of the Amadeus FQM command is measuring the total mileage of a multi-stop routing. This is the first step before deciding whether a surcharge applies.

Calculate the mileage for a complete itinerary:

FQMPARSTOLONDELBOMSIN

This calculates the mileage for the complete itinerary: Paris → Stockholm → London → Delhi → Bombay → Singapore. Each city pair is measured using the standard mileage values, and the total is displayed so you can compare it against the permitted mileage for the fare.

Use the Amadeus FQM command whenever a routing contains multiple stops, surface sectors, or an open-jaw — exactly the situations where mileage-based fare construction is required.

Amadeus FQM Command — Display Mileage Surcharge Table

Once you know the mileage exceeds the permitted limit, the Amadeus FQM command also displays the surcharge table for the specific city pair — showing exactly which percentage to apply.

Display the mileage surcharge table for a specific route:

FQM*LONLAX

This displays the mileage surcharge table for the London–Los Angeles route. The table shows the permitted mileage bands and the corresponding surcharge percentage that applies if the journey exceeds those bands.

For example, a routing that exceeds the permitted mileage by 5%, 10%, or more will fall into a specific surcharge band, and the applicable percentage is added to the fare.

Amadeus FRM Command — All PNR Segments

The simplest form of the Amadeus FRM command calculates the mileage for the entire itinerary. The system reads the routing from the PNR itself, so no additional parameters are required.

Calculate the mileage for all segments in the PNR:

FRM

This displays the mileage calculation for all segments in the PNR. The system reads the routing from the PNR itself and calculates the total mileage without any additional entries.

Amadeus FRM Command — Selected Non-Consecutive Segments

When you only need the mileage for specific parts of the journey, the Amadeus FRM command accepts a comma-separated list of segment numbers — including non-consecutive ones.

Calculate the mileage for segments 2, 4, and 6:

FRMS2,4,6

This displays the mileage calculation for segments 2, 4, and 6. Non-consecutive segment numbers can be entered together, separated by commas, so you can isolate specific parts of the journey without affecting the rest.

This is useful when you need to verify the mileage for one specific sector — for example the outbound leg only, or a particular connecting segment — without reading the whole itinerary mileage.

When to Use FQM and FRM

Use the Amadeus FQM command when you need to calculate flight mileage or check mileage surcharge information for an itinerary. Use the Amadeus FRM command when you need to check the mileage calculation of an itinerary directly from a retrieved PNR, either for all segments or selected segments. Typical scenarios include:

  • Constructing a fare where the routing exceeds the permitted mileage.
  • Checking whether a specific routing falls inside or outside the mileage limits.
  • Verifying the surcharge percentage before quoting a constructed fare.
  • Reviewing a surface sector or open-jaw itinerary where mileage rules apply.
  • Verifying the mileage of a booked itinerary before fare construction.
  • Isolating the mileage of a specific segment for comparison.
  • Confirming the total mileage for a constructed fare or a manual TST.
  • Reviewing mileage after an itinerary has been changed or rerouted.
  • Supporting a fare calculation that needs mileage-based surcharge verification.

How It Fits Into Your Fare Construction Workflow

A typical fare construction session using the Amadeus FQM and FRM commands might look like this:

  1. Display the available fares with FQD.
  2. Review the fare rules with FQN.
  3. Calculate the mileage for the itinerary with FQMPARSTOLONDELBOMSIN.
  4. If the mileage exceeds the permitted level, display the surcharge table with FQM*LONLAX.
  5. Retrieve the PNR and confirm the itinerary.
  6. Enter FRM to display the mileage for all segments.
  7. Use FRMS2,4,6 if you only need specific segments.
  8. Compare the result against the permitted mileage for the applicable fare.
  9. Apply the correct surcharge percentage in the fare calculation.
  10. Price the itinerary with FQP or FXP.
  11. Review the resulting TST with TQT before ticketing.

Amadeus FQM & FRM — Quick Reference Table

Command What It Does
FQMPARSTOLONDELBOMSINCalculates total mileage for a multi-city itinerary
FQM*LONLAXDisplays the mileage surcharge table for a city pair
FRMDisplays the mileage calculation for all segments in the PNR
FRMS2,4,6Displays the mileage calculation for specific non-consecutive segments

How FQM and FRM Relate to Other Mileage and Fare Commands

The Amadeus FQM and FRM commands are part of the fare and mileage toolkit in Amadeus. Here is how they relate to the others:

  • FQM → calculates mileage for a routing typed manually.
  • FRM → calculates mileage for the segments of a retrieved PNR.
  • FQD → displays available fares between cities or for specific airlines.
  • FQN → displays fare notes, rules, categories, and routing information.
  • FQNTAX → displays general tax information for a country or location.
  • FQP / FXP → creates a fare quote or prices a booked itinerary.
  • TTK / TTI → update fare, tax, and mileage elements in a manual TST.

The key distinction: the Amadeus FQM command tells you the mileage and the surcharge — it never changes the fare itself. The Amadeus FRM command works from the segments already in the PNR, while FQM works from the city pairs you type manually. Both are useful — FQM before booking, FRM after.

Tip — FQM vs FRM — Which One to Use

FRM is the fastest way to check mileage when the itinerary is already booked. If you are still deciding between routings, use FQM instead — it lets you test different city pair combinations before the segments are booked.

Remember that a mileage surcharge only applies when the itinerary exceeds the permitted mileage for the fare. If the routing is inside the limit, no surcharge is added even if the mileage appears high.

Official Amadeus Documentation

For the authoritative reference on mileage calculation and Amadeus fare construction, refer to the Amadeus Altéa Suite documentation — the official source for all Amadeus mileage and fare commands including FQM, FRM, FQD, and FQP.

Frequently Asked Questions About the Amadeus FQM and FRM Commands

What does the Amadeus FQM command do?

The Amadeus FQM command calculates the total mileage for an itinerary and displays mileage surcharge information for a route or city pair.

What does the Amadeus FRM command do?

The Amadeus FRM command displays the mileage calculation for flight segments in a retrieved PNR, either for all segments or for specific ones.

What is the difference between FRM and FQM?

FRM calculates mileage from the segments already in the PNR. FQM calculates mileage for a routing you type manually as a city pair string. Use FQM before booking, FRM after.

How do I calculate mileage for an itinerary?

Enter FQM followed by the routing in city or airport codes — for example FQMPARSTOLONDELBOMSIN. This is the standard form of the Amadeus FQM command.

How do I check the mileage surcharge table?

Use FQM*LONLAX, replacing the city pair with the route you need. The table displays the permitted mileage bands and the applicable surcharge percentages.

How do I calculate mileage for specific segments only?

Use FRMS2,4,6, listing the segment numbers separated by commas. Non-consecutive segments can be included in a single entry — one of the most useful variations of the Amadeus FRM command.

When does a mileage surcharge apply?

A surcharge applies when the itinerary mileage exceeds the permitted mileage for the fare. The percentage depends on how far beyond the limit the mileage goes, and the applicable bands are displayed with FQM*LONLAX.

Does the Amadeus FQM command change the fare?

No. The Amadeus FQM command is informative only — it calculates mileage and displays surcharge tables but does not modify the fare. The surcharge is applied manually during fare construction.

Does the Amadeus FRM command change the PNR?

No. The Amadeus FRM command is read-only — it displays the mileage calculation without modifying the PNR or recording an action of its own.

Conclusion

The Amadeus FQM and FRM commands are the mileage calculation tools in Amadeus. Use FQMPARSTOLONDELBOMSIN to calculate the total mileage for an itinerary, and FQM*LONLAX to display the mileage surcharge table for a specific route.

Use FRM to display the mileage for all segments of the retrieved PNR, and FRMS2,4,6 to isolate specific segments for a focused check. It is faster and safer than retyping the routing, especially on complex itineraries with multiple connections or surface sectors.

Paired with FQM for routing tests, FQD, FQN, and FQNTAX, the Amadeus FQM and FRM commands ensure every fare construction is based on an accurate mileage check — from the first routing decision to the final ticket.

Want to Practice the Amadeus FQM and FRM Commands?

Open our free GDS terminal simulator and run FQM, FRM, FQD, FQN, and every other mileage and fare command in a safe, risk-free environment.

Read also: Amadeus QE Command: QE, QER & QES Queue Management Guide · Amadeus RTQ Command: Display PNR Queue Placements · Amadeus QU Command: Redisplay Queue Message Without Removing It