AOPA Finance Calculator – Calculate Aircraft Financing Options
:root {
–primary-color: #004a99;
–secondary-color: #ffffff;
–background-color: #f8f9fa;
–text-color: #333333;
–border-color: #dee2e6;
–shadow-color: rgba(0, 0, 0, 0.1);
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(–background-color);
color: var(–text-color);
margin: 0;
padding: 0;
line-height: 1.6;
}
.container {
max-width: 1000px;
margin: 20px auto;
padding: 20px;
background-color: var(–secondary-color);
border-radius: 8px;
box-shadow: 0 2px 10px var(–shadow-color);
}
h1, h2, h3 {
color: var(–primary-color);
text-align: center;
margin-bottom: 20px;
}
h1 {
font-size: 2.2em;
}
h2 {
font-size: 1.8em;
margin-top: 30px;
border-bottom: 2px solid var(–primary-color);
padding-bottom: 5px;
}
h3 {
font-size: 1.4em;
margin-top: 25px;
color: var(–text-color);
}
.loan-calc-container {
background-color: var(–secondary-color);
padding: 25px;
border-radius: 8px;
box-shadow: 0 2px 8px var(–shadow-color);
margin-bottom: 30px;
}
.input-group {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
.input-group label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: var(–primary-color);
}
.input-group input[type="number"],
.input-group input[type="text"],
.input-group select {
width: 100%;
padding: 10px;
border: 1px solid var(–border-color);
border-radius: 4px;
box-sizing: border-box;
font-size: 1em;
}
.input-group input[type="number"]:focus,
.input-group input[type="text"]:focus,
.input-group select:focus {
outline: none;
border-color: var(–primary-color);
box-shadow: 0 0 0 2px rgba(0, 74, 153, 0.2);
}
.input-group .helper-text {
font-size: 0.85em;
color: #6c757d;
margin-top: 5px;
}
.error-message {
color: #dc3545;
font-size: 0.85em;
margin-top: 5px;
display: none; /* Hidden by default */
}
.button-group {
display: flex;
justify-content: space-between;
margin-top: 25px;
flex-wrap: wrap;
gap: 10px;
}
button {
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
font-weight: bold;
transition: background-color 0.3s ease, transform 0.2s ease;
flex: 1; /* Allow buttons to grow */
min-width: 150px; /* Minimum width for buttons */
}
button.primary {
background-color: var(–primary-color);
color: var(–secondary-color);
}
button.primary:hover {
background-color: #003366;
transform: translateY(-1px);
}
button.secondary {
background-color: #6c757d;
color: var(–secondary-color);
}
button.secondary:hover {
background-color: #5a6268;
transform: translateY(-1px);
}
.results-container {
margin-top: 30px;
padding: 20px;
background-color: #e9ecef;
border-radius: 8px;
border: 1px solid var(–border-color);
}
.results-container h3 {
margin-top: 0;
color: var(–primary-color);
text-align: left;
}
.result-item {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed var(–border-color);
}
.result-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.result-label {
font-weight: bold;
color: var(–text-color);
}
.result-value {
font-weight: bold;
color: var(–primary-color);
}
.primary-result {
font-size: 1.8em;
color: var(–primary-color);
text-align: center;
margin-top: 15px;
padding: 15px;
background-color: #fff;
border-radius: 6px;
border: 1px solid var(–primary-color);
}
.formula-explanation {
font-size: 0.9em;
color: #6c757d;
margin-top: 15px;
text-align: center;
}
.table-container {
overflow-x: auto;
margin-top: 25px;
margin-bottom: 25px;
border: 1px solid var(–border-color);
border-radius: 4px;
}
table {
width: 100%;
border-collapse: collapse;
min-width: 600px; /* For horizontal scrolling on mobile */
}
th, td {
padding: 12px 15px;
text-align: right;
border: 1px solid var(–border-color);
}
thead th {
background-color: #e9ecef;
color: var(–primary-color);
font-weight: bold;
position: sticky;
top: 0;
z-index: 1;
}
tbody tr:nth-child(even) {
background-color: #f8f9fa;
}
caption {
caption-side: bottom;
padding: 10px;
font-size: 0.9em;
color: #6c757d;
text-align: center;
margin-top: 10px;
}
.chart-container {
position: relative;
width: 100%;
max-width: 100%;
height: 400px;
margin-top: 25px;
margin-bottom: 25px;
background-color: var(–secondary-color);
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 8px var(–shadow-color);
}
canvas {
display: block;
width: 100% !important;
height: 100% !important;
}
.section-content {
margin-top: 20px;
padding: 20px;
background-color: var(–secondary-color);
border-radius: 8px;
box-shadow: 0 2px 8px var(–shadow-color);
margin-bottom: 30px;
}
.section-content p {
margin-bottom: 15px;
}
.section-content ul {
list-style-type: disc;
margin-left: 20px;
padding-left: 0;
}
.section-content li {
margin-bottom: 10px;
}
.section-content a {
color: var(–primary-color);
text-decoration: none;
}
.section-content a:hover {
text-decoration: underline;
}
.faq-item {
margin-bottom: 15px;
padding-bottom: 15px;
border-bottom: 1px solid var(–border-color);
}
.faq-item:last-child {
border-bottom: none;
}
.faq-question {
font-weight: bold;
color: var(–primary-color);
cursor: pointer;
margin-bottom: 8px;
}
.faq-answer {
font-size: 0.95em;
color: #555;
display: none; /* Hidden by default */
}
footer {
text-align: center;
margin-top: 40px;
padding: 20px;
font-size: 0.9em;
color: #6c757d;
}
@media (max-width: 768px) {
.container {
margin: 10px;
padding: 15px;
}
h1 {
font-size: 1.8em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.2em;
}
button {
min-width: unset;
width: 100%;
}
.button-group {
flex-direction: column;
align-items: center;
}
.results-container {
padding: 15px;
}
.result-item {
flex-direction: column;
align-items: center;
text-align: center;
}
.result-label, .result-value {
margin-bottom: 5px;
}
.primary-result {
font-size: 1.5em;
}
}
Aircraft Loan Calculator
Loan Payment Summary
Loan Amount:
$0.00
Monthly Payment:
$0.00
Total Interest Paid:
$0.00
Total Repayment:
$0.00
Monthly Payment: $0.00
Monthly Payment = P [ i(1 + i)^n ] / [ (1 + i)^n – 1]
Where P = Principal Loan Amount, i = Monthly Interest Rate, n = Total Number of Payments.
Aircraft Loan Amortization Schedule
| Month |
Starting Balance |
Payment |
Interest Paid |
Principal Paid |
Ending Balance |
Amortization schedule showing how each payment is applied to interest and principal over the loan term.
Loan Payment Breakdown Chart
What is an AOPA Finance Calculator?
An AOPA Finance Calculator, often referred to as an aircraft loan calculator, is a specialized financial tool designed to help pilots, aircraft owners, and prospective buyers estimate the costs associated with financing an aircraft. The Aircraft Owners and Pilots Association (AOPA) advocates for aviation interests, and while they may not offer a proprietary calculator, the term generally refers to a tool that models aircraft loan payments. These calculators are crucial for understanding the financial implications of purchasing an aircraft, which is a significant investment. They help users determine potential monthly payments, total interest paid, and the overall cost of ownership over the life of the loan, enabling more informed financial decisions within the aviation community.
Understanding the financial aspects of aircraft ownership is paramount. Whether you're looking at a new Cessna, a pre-owned Piper, or a complex turbine aircraft, financing plays a key role. This calculator helps demystify the process by breaking down the loan into manageable components. It allows for scenario planning, where users can adjust variables like purchase price, down payment, loan term, and interest rate to see how each factor impacts their monthly outlay and total financial commitment. This empowers individuals and flight schools alike to budget effectively and explore the feasibility of acquiring the aircraft that best suits their needs.
AOPA Finance Calculator Formula and Mathematical Explanation
The core of any aircraft loan calculator, including those used in the context of AOPA finance, relies on the standard loan amortization formula. This formula calculates the fixed periodic payment (usually monthly) required to fully amortize a loan over a specified period. The most common formula used is:
M = P [ i(1 + i)^n ] / [ (1 + i)^n – 1]
Where:
- M = Monthly Payment
- P = Principal Loan Amount (Aircraft Price – Down Payment)
- i = Monthly Interest Rate (Annual Interest Rate / 12 / 100)
- n = Total Number of Payments (Loan Term in Years * 12)
This formula ensures that each payment covers both the interest accrued for that period and a portion of the principal. Over time, the principal portion of the payment increases, while the interest portion decreases, until the loan is fully paid off. The calculator uses these inputs to derive the principal loan amount (P), then converts the annual interest rate to a monthly rate (i), and the loan term in years to the total number of monthly payments (n). It then applies the formula to compute 'M'. Additional calculations include the total repayment (M * n) and the total interest paid (Total Repayment – P).
Practical Examples (Real-World Use Cases)
Let's explore a few scenarios using the AOPA Finance Calculator to illustrate its practical application:
Scenario 1: Purchasing a Mid-Size Piston Aircraft
A pilot wants to buy a used Cessna 182 Skylane listed for $350,000. They plan to make a 20% down payment ($70,000) and secure a loan for the remaining $280,000. They are offered a 15-year loan term at an annual interest rate of 7.0%. Using the calculator:
- Aircraft Price: $350,000
- Down Payment: $70,000
- Loan Amount: $280,000
- Loan Term: 15 years
- Interest Rate: 7.0%
The calculator would estimate a monthly payment of approximately $2,447.50, with a total interest paid of around $160,550 over the life of the loan.
Scenario 2: Financing a Light Sport Aircraft (LSA)
A flight school is acquiring a new Light Sport Aircraft priced at $150,000. They can put down $30,000 and need financing for $120,000. They are considering a 10-year loan at a competitive rate of 5.5%.
- Aircraft Price: $150,000
- Down Payment: $30,000
- Loan Amount: $120,000
- Loan Term: 10 years
- Interest Rate: 5.5%
The estimated monthly payment would be around $1,274.90, with total interest paid being approximately $32,988.
Scenario 3: Exploring Shorter Loan Terms
An experienced pilot is purchasing a high-performance aircraft for $750,000 and makes a substantial down payment of $150,000, leaving a loan amount of $600,000. They want to pay it off faster and consider a 7-year loan term at 6.0% interest.
- Aircraft Price: $750,000
- Down Payment: $150,000
- Loan Amount: $600,000
- Loan Term: 7 years
- Interest Rate: 6.0%
The calculator would show a higher monthly payment of approximately $8,567.80, but significantly less total interest paid, around $147,576, compared to a longer term.
How to Use This AOPA Finance Calculator
Using this aircraft finance calculator is straightforward. Follow these steps to get your personalized loan estimates:
- Aircraft Purchase Price: Enter the total agreed-upon price for the aircraft you intend to purchase.
- Down Payment: Input the amount of money you will pay upfront. This reduces the principal loan amount.
- Loan Term (Years): Specify the number of years you plan to take to repay the loan. Longer terms mean lower monthly payments but more total interest.
- Annual Interest Rate (%): Enter the annual interest rate offered by the lender. Ensure this is the Annual Percentage Rate (APR).
- Calculate Payments: Click the "Calculate Payments" button. The calculator will instantly display your estimated monthly payment, total interest, and total repayment amount.
- View Amortization & Chart: Examine the detailed amortization table and the payment breakdown chart to understand how your payments are allocated over time.
- Copy Results: Use the "Copy Results" button to easily share your loan summary and key assumptions.
- Reset Defaults: If you want to start over or explore different scenarios, click "Reset Defaults" to return the fields to their initial values.
This tool is designed to provide quick estimates for your aircraft financing needs, helping you compare different loan options and understand the financial commitment involved in aircraft ownership. It's a valuable resource for anyone navigating the process of buying an aircraft, aligning with the AOPA's mission to support pilots and aircraft owners.
Key Factors That Affect AOPA Finance Calculator Results
Several critical factors directly influence the outcomes generated by an AOPA Finance Calculator. Understanding these elements is key to interpreting the results accurately and making sound financial decisions:
- Aircraft Purchase Price: The higher the price of the aircraft, the larger the loan amount will likely be, leading to higher monthly payments and total interest paid, assuming other factors remain constant.
- Down Payment Amount: A larger down payment directly reduces the principal loan amount (P). This results in lower monthly payments, less total interest paid, and a shorter overall repayment period. It's one of the most effective ways to reduce the cost of financing.
- Loan Term (Years): The duration of the loan significantly impacts monthly payments. A longer term (e.g., 20 years vs. 10 years) will result in lower monthly payments, making the aircraft more affordable on a per-month basis. However, it also means paying substantially more interest over the life of the loan. Conversely, a shorter term yields higher monthly payments but reduces the total interest paid.
- Annual Interest Rate (%): This is perhaps the most sensitive factor. Even small changes in the interest rate can lead to significant differences in monthly payments and total interest paid over the loan's life. A higher interest rate means more money paid to the lender over time. Securing the lowest possible interest rate is crucial for minimizing the overall cost of financing an aircraft.
- Loan Fees and Associated Costs: While not always explicitly included in basic calculators, origination fees, closing costs, and other administrative charges from the lender can increase the effective cost of the loan. Some lenders might also require specific insurance or maintenance reserves, adding to the overall financial obligation.
- Aircraft Type and Age: Lenders may view different aircraft types (e.g., experimental vs. certified, piston vs. turbine) and ages differently, potentially affecting the interest rates and loan terms they offer. Older or more specialized aircraft might carry higher risk premiums.
By adjusting these variables in the calculator, users can simulate various financial scenarios and understand the trade-offs involved in aircraft financing, making informed choices about their investment.
Frequently Asked Questions (FAQ)
What is the typical interest rate for an aircraft loan?
Interest rates for aircraft loans can vary widely based on market conditions, the lender, the borrower's creditworthiness, the aircraft type, and the loan term. Rates can range from around 5% to over 10% annually. It's essential to shop around for the best rates.
Can I finance 100% of an aircraft purchase?
Financing 100% of an aircraft purchase is rare, especially for individuals. Most lenders require a down payment, typically ranging from 10% to 30%, depending on the aircraft's value and the borrower's financial profile.
What is the maximum loan term for an aircraft?
Loan terms for aircraft can extend up to 20 years, particularly for newer or more expensive aircraft. However, shorter terms (e.g., 10-15 years) are also common and result in less total interest paid.
Does AOPA offer aircraft loans directly?
AOPA itself does not typically offer direct aircraft loans. However, they often partner with financial institutions or provide resources and guidance on financing options available to their members through various lenders specializing in aviation finance.
How does the amortization schedule help me?
The amortization schedule breaks down each monthly payment, showing exactly how much goes towards interest and how much reduces the principal loan balance. It helps you visualize your loan's progress and understand how much equity you're building in the aircraft over time.
What are the benefits of using an aircraft finance calculator?
An aircraft finance calculator helps you estimate monthly payments, total interest costs, and overall loan affordability. It allows you to compare different loan scenarios (varying down payments, terms, rates) quickly, empowering you to make informed decisions and budget effectively for aircraft ownership.
Related Tools and Internal Resources
var chartInstance = null; // Global variable to hold chart instance
function formatCurrency(amount) {
return "$" + amount.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
}
function formatPercent(rate) {
return rate.toFixed(2) + "%";
}
function clearErrorMessages() {
document.getElementById("aircraftPriceError").style.display = "none";
document.getElementById("downPaymentError").style.display = "none";
document.getElementById("loanTermError").style.display = "none";
document.getElementById("interestRateError").style.display = "none";
}
function validateInputs() {
var price = parseFloat(document.getElementById("aircraftPrice").value);
var downPayment = parseFloat(document.getElementById("downPayment").value);
var term = parseInt(document.getElementById("loanTerm").value);
var rate = parseFloat(document.getElementById("interestRate").value);
var isValid = true;
clearErrorMessages();
if (isNaN(price) || price <= 0) {
document.getElementById("aircraftPriceError").textContent = "Please enter a valid aircraft price.";
document.getElementById("aircraftPriceError").style.display = "block";
isValid = false;
}
if (isNaN(downPayment) || downPayment < 0) {
document.getElementById("downPaymentError").textContent = "Please enter a valid down payment amount.";
document.getElementById("downPaymentError").style.display = "block";
isValid = false;
}
if (isNaN(term) || term <= 0) {
document.getElementById("loanTermError").textContent = "Please enter a valid loan term in years.";
document.getElementById("loanTermError").style.display = "block";
isValid = false;
}
if (isNaN(rate) || rate < 0) {
document.getElementById("interestRateError").textContent = "Please enter a valid annual interest rate.";
document.getElementById("interestRateError").style.display = "block";
isValid = false;
}
var loanAmount = price – downPayment;
if (loanAmount 0) {
monthlyPayment = principal * (monthlyRate * Math.pow(1 + monthlyRate, numberOfPayments)) / (Math.pow(1 + monthlyRate, numberOfPayments) – 1);
} else {
monthlyPayment = principal / numberOfPayments; // Handle 0% interest rate
}
var totalRepayment = monthlyPayment * numberOfPayments;
var totalInterest = totalRepayment – principal;
document.getElementById("loanAmountResult").textContent = formatCurrency(principal);
document.getElementById("monthlyPaymentResult").textContent = formatCurrency(monthlyPayment);
document.getElementById("totalInterestResult").textContent = formatCurrency(totalInterest);
document.getElementById("totalRepaymentResult").textContent = formatCurrency(totalRepayment);
document.getElementById("primaryResult").textContent = "Monthly Payment: " + formatCurrency(monthlyPayment);
updateAmortizationTable(principal, monthlyPayment, monthlyRate, numberOfPayments);
updateChart(principal, monthlyPayment, monthlyRate, numberOfPayments);
}
function updateAmortizationTable(principal, monthlyPayment, monthlyRate, numberOfPayments) {
var tableBody = document.getElementById("amortizationBody");
tableBody.innerHTML = ""; // Clear previous data
var currentBalance = principal;
var interestPaidTotal = 0;
var principalPaidTotal = 0;
var amortizationData = [];
for (var i = 1; i <= numberOfPayments; i++) {
var interestPayment = currentBalance * monthlyRate;
var principalPayment = monthlyPayment – interestPayment;
// Adjust last payment to ensure balance is exactly zero
if (i === numberOfPayments) {
principalPayment = currentBalance;
monthlyPayment = interestPayment + principalPayment;
}
currentBalance -= principalPayment;
interestPaidTotal += interestPayment;
principalPaidTotal += principalPayment;
if (currentBalance < 0.01) { // Prevent tiny negative balances due to floating point errors
currentBalance = 0;
}
amortizationData.push({
month: i,
startBalance: principal – principalPaidTotal + principalPayment, // Balance at start of this month
payment: monthlyPayment,
interest: interestPayment,
principal: principalPayment,
endBalance: currentBalance
});
var row = tableBody.insertRow();
row.insertCell(0).textContent = i;
row.insertCell(1).textContent = formatCurrency(principal – principalPaidTotal + principalPayment);
row.insertCell(2).textContent = formatCurrency(monthlyPayment);
row.insertCell(3).textContent = formatCurrency(interestPayment);
row.insertCell(4).textContent = formatCurrency(principalPayment);
row.insertCell(5).textContent = formatCurrency(currentBalance);
}
}
function updateChart(principal, monthlyPayment, monthlyRate, numberOfPayments) {
var ctx = document.getElementById('loanChart').getContext('2d');
// Destroy previous chart instance if it exists
if (chartInstance) {
chartInstance.destroy();
}
var labels = [];
var interestData = [];
var principalData = [];
var currentBalance = principal;
for (var i = 1; i <= numberOfPayments; i++) {
labels.push("Month " + i);
var interestPayment = currentBalance * monthlyRate;
var principalPayment = monthlyPayment – interestPayment;
if (i === numberOfPayments) {
principalPayment = currentBalance;
monthlyPayment = interestPayment + principalPayment;
}
currentBalance -= principalPayment;
if (currentBalance < 0.01) currentBalance = 0;
interestData.push(interestPayment);
principalData.push(principalPayment);
}
chartInstance = new Chart(ctx, {
type: 'bar', // Changed to bar for better comparison of interest vs principal per month
data: {
labels: labels,
datasets: [{
label: 'Interest Paid Per Month',
data: interestData,
backgroundColor: 'rgba(220, 53, 69, 0.6)', // Reddish for interest
borderColor: 'rgba(220, 53, 69, 1)',
borderWidth: 1
}, {
label: 'Principal Paid Per Month',
data: principalData,
backgroundColor: 'rgba(40, 167, 69, 0.6)', // Greenish for principal
borderColor: 'rgba(40, 167, 69, 1)',
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
scales: {
x: {
stacked: true, // Stack bars for interest and principal
title: {
display: true,
text: 'Loan Term (Months)'
}
},
y: {
stacked: true,
beginAtZero: true,
title: {
display: true,
text: 'Amount ($)'
},
ticks: {
callback: function(value) {
return formatCurrency(value);
}
}
}
},
plugins: {
tooltip: {
callbacks: {
label: function(context) {
var label = context.dataset.label || '';
if (label) {
label += ': ';
}
if (context.parsed.y !== null) {
label += formatCurrency(context.parsed.y);
}
return label;
}
}
},
legend: {
position: 'top',
}
}
}
});
}
function resetForm() {
document.getElementById("aircraftPrice").value = "250000";
document.getElementById("downPayment").value = "50000";
document.getElementById("loanTerm").value = "15";
document.getElementById("interestRate").value = "6.5";
clearErrorMessages();
calculateLoan(); // Recalculate with defaults
}
function copyResults() {
var loanAmount = document.getElementById("loanAmountResult").textContent;
var monthlyPayment = document.getElementById("monthlyPaymentResult").textContent;
var totalInterest = document.getElementById("totalInterestResult").textContent;
var totalRepayment = document.getElementById("totalRepaymentResult").textContent;
var price = document.getElementById("aircraftPrice").value;
var downPayment = document.getElementById("downPayment").value;
var term = document.getElementById("loanTerm").value;
var rate = document.getElementById("interestRate").value;
var copyText = "— Aircraft Loan Calculation Results —\n\n";
copyText += "Key Assumptions:\n";
copyText += " Aircraft Price: $" + price + "\n";
copyText += " Down Payment: $" + downPayment + "\n";
copyText += " Loan Term: " + term + " years\n";
copyText += " Annual Interest Rate: " + rate + "%\n\n";
copyText += "Results:\n";
copyText += " Loan Amount: " + loanAmount + "\n";
copyText += " Monthly Payment: " + monthlyPayment + "\n";
copyText += " Total Interest Paid: " + totalInterest + "\n";
copyText += " Total Repayment: " + totalRepayment + "\n";
navigator.clipboard.writeText(copyText).then(function() {
// Optional: Provide user feedback that text was copied
var copyButton = document.querySelector('button[onclick="copyResults()"]');
var originalText = copyButton.textContent;
copyButton.textContent = "Copied!";
setTimeout(function() {
copyButton.textContent = originalText;
}, 2000);
}).catch(function(err) {
console.error('Failed to copy text: ', err);
// Optional: Provide user feedback about copy failure
});
}
// Initialize calculator on page load
document.addEventListener('DOMContentLoaded', function() {
calculateLoan();
// Add event listeners for FAQ toggles
var faqQuestions = document.querySelectorAll('.faq-question');
for (var i = 0; i < faqQuestions.length; i++) {
faqQuestions[i].addEventListener('click', function() {
var answer = this.nextElementSibling;
if (answer.style.display === "block") {
answer.style.display = "none";
} else {
answer.style.display = "block";
}
});
}
});
// Add event listeners to update results in real-time
document.getElementById("aircraftPrice").addEventListener("input", calculateLoan);
document.getElementById("downPayment").addEventListener("input", calculateLoan);
document.getElementById("loanTerm").addEventListener("input", calculateLoan);
document.getElementById("interestRate").addEventListener("input", calculateLoan);
// Chart.js library is required for the chart to work.
// In a real WordPress environment, you would enqueue this script properly.
// For this standalone HTML, we assume Chart.js is available or include it.
// For this example, we'll assume it's loaded externally or included in a real scenario.
// If you need to include it directly:
//
// Add this line within the or before the closing tag.
// For this output, we'll assume it's available.