Travel Allowance Calculator
Last updated: 2026-08-24
TL;DR: To calculate a travel allowance, multiply the number of travel days by the applicable daily rate (mean allowance, full allowance in Spain at €26.67/day, or full allowance with overnight stay), then add €0.19 per kilometre driven, plus any tolls and parking costs, with the total split into tax-exempt amounts (up to IRPF limits) and taxable excess or client-billable amounts.
What Is the Travel Allowance Calculator?
The Travel Allowance Calculator is a practical tool designed for employees, HR managers, and self-employed professionals who need to determine the correct daily allowance (dieta) and mileage compensation for business trips. It addresses a common operational question: how much should you pay or claim when someone travels away from their usual workplace? Rather than guessing, the calculator applies Spanish tax law (IRPF) thresholds and standard kilometre rates to produce a defensible number.
This tool is essential for anyone who manages project-based travel, especially in sectors like construction, consulting, or field services, where employees regularly visit sites different from their registered office. It also helps freelancers who bill clients for travel expenses, ensuring that the amounts claimed are both realistic and compliant with Hacienda’s expectations. Without such a calculation, companies risk either underpaying workers (which demotivates and may breach collective agreements) or overpaying and exposing excess amounts to income tax and social security contributions.
The calculator’s core value lies in its ability to separate tax-exempt allowances from taxable income. In Spain, daily allowances for meals and lodging are exempt from IRPF up to specific legal limits, provided the trip involves moving to a different work centre and the expenses are justified. Any amount above those limits becomes taxable as employment income. The calculator automates this differentiation, giving you a clear breakdown of the exempt portion, the taxable excess, and the total reimbursement due.
How to Use the Calculator
Using the Travel Allowance Calculator is straightforward if you follow the steps below. The inputs are designed to match the information you typically have on a travel expense report.
- Enter the number of travel days: Input the total days the employee or consultant is away from their usual work centre. Use full days, not partial hours. For example, a trip from Monday to Wednesday with two nights away counts as 3 days if you leave Monday morning and return Wednesday evening.
- Select the allowance type: Choose from three options: Media dieta (mean allowance, no overnight stay), Dieta completa España (full allowance with overnight stay within Spain), or Dieta con pernocta internacional (full allowance with overnight stay abroad). This selection determines the daily exempt rate applied.
- Review the tax-exempt rates: The calculator uses the current IRPF exemption limits: €26.67 per day for a full allowance in Spain, €53.34 per day for an international overnight allowance, and a lower rate for mean allowances (typically half of the full amount). If your actual daily allowance exceeds these figures, the excess is automatically flagged as taxable.
- Input the total kilometres driven: Add the number of kilometres travelled for work purposes using a personal vehicle. The calculator multiplies this by the standard exempt rate of €0.19 per kilometre. This rate covers fuel, wear and tear, and insurance. If you use a company car, this input may not apply.
- Add toll and parking expenses: Enter any motorway tolls (peajes) and parking fees incurred during the trip. These costs are fully reimbursable and tax-exempt, but they must be supported by invoices or receipts. Without a receipt, the amount cannot be claimed as exempt.
- Specify the payment type: Indicate whether this is an allowance paid to an employee (where exemption limits apply) or a billing item to a client (where you typically pass on the full cost). This distinction affects how the total is presented and what documentation you need to retain.
- Click Calculate: The tool instantly displays three outputs: the total allowance in euros (dieta_total_eur), the total mileage reimbursement in euros (km_total_eur), and the combined total (total_eur). It also highlights any taxable excess for employee payments.
Formula and Calculation Method
The calculation method combines several independent components into a single reimbursement figure. In plain terms, the total travel allowance equals the sum of the daily allowances, the mileage compensation, and the reimbursable incidental expenses. The formula is expressed as follows:
Total = (Travel Days × Daily Allowance Rate) + (Kilometres × €0.19/km) + Tolls + Parking
The daily allowance rate depends on the type of trip selected. For a full allowance in Spain, the exempt rate is €26.67 per day. For an international trip with overnight stay, it is €53.34 per day. For a mean allowance (no overnight), the exempt rate is generally capped at €13.33 per day (half of the full rate) if one meal is provided, or €26.67 if two meals are provided but no lodging. The calculator assumes the lower mean rate unless otherwise specified.
To illustrate, consider a concrete example: a sales consultant travels for 3 days within Spain, staying overnight in a hotel. The daily allowance selected is the full Spain rate of €26.67. The total allowance before mileage is 3 × €26.67 = €80.01. The consultant drives 200 kilometres in their own car, so the mileage component is 200 × €0.19 = €38.00. They also incur €12.50 in motorway tolls and €9.00 for parking, both with invoices. The total tax-exempt reimbursement is €80.01 + €38.00 + €12.50 + €9.00 = €139.51.
Now, suppose the company actually pays a higher daily allowance of €50 per day, as is often found in collective bargaining agreements. The allowance portion becomes 3 × €50 = €150. The exempt portion is still €80.01, so the excess of €69.99 (€150 – €80.01) is taxable as employment income and subject to IRPF withholdings. The mileage and incidental expenses remain fully exempt, so the total paid to the employee is €150 + €38.00 + €12.50 + €9.00 = €209.50, but only €139.51 of that is free of tax.
The key principle is that the exempt limits are maximums, not default amounts. If your actual allowance is below the limit, the entire amount is exempt. If you exceed it, the excess is treated as salary. For client billing, the calculation is simpler because you are not constrained by IRPF exemptions—you simply charge the full amount agreed in your service contract, but you must ensure the costs are justifiable and documented.
Practical Examples
The following table shows three realistic scenarios with different inputs and the resulting calculations, using the standard exempt rates.
| Scenario | Inputs | Allowance (€) | Mileage (€) | Tolls+Parking (€) | Total (€) |
|---|---|---|---|---|---|
| Construction supervisor – 5 days | 5 days full diet Spain, 350 km, €15 tolls | 5 × 26.67 = 133.35 | 350 × 0.19 = 66.50 | 15.00 | 214.85 |
| IT consultant – 2 days, no overnight | 2 days mean diet, 120 km, €5 parking | 2 × 13.33 = 26.66 | 120 × 0.19 = 22.80 | 5.00 | 54.46 |
| Project manager – 4 days international | 4 days international diet, 0 km (flight), €0 | 4 × 53.34 = 213.36 | 0.00 | 0.00 | 213.36 |
In the first scenario, the supervisor receives a total reimbursement of €214.85, all fully exempt from tax because the daily rate did not exceed the legal limit. In the second scenario, the consultant only claimed a mean allowance because they returned home each night, so the exempt daily rate is halved. The third scenario assumes no personal vehicle usage, so the entire amount is from the higher international daily rate. If any scenario had a daily allowance exceeding the exempt cap, the excess would appear as a separate taxable amount, but the calculator keeps the calculation transparent.
Tips for Accurate Results
To get the most accurate results from the Travel Allowance Calculator, pay attention to the following details, which are common sources of error.
- Distinguish between trip days and overnight stays: A full allowance (with pernocta) is only valid if the employee actually sleeps away from their home. If they return each night, you must use the mean allowance rate. Entering the wrong type is the most frequent mistake and leads to incorrect exempt amounts.
- Use the correct exempt limits: The €26.67/day figure applies to full allowances in Spain and is updated periodically. For international travel, the limit is €53.34/day. These are maximums, not recommendations. If your company’s policy sets a higher rate, the excess is taxable, so the calculator will flag it accordingly.
- Document every toll and parking receipt: Even though the calculator adds these amounts unconditionally, Hacienda requires proof of these expenses in the event of an audit. Without an invoice or ticket, the amount is not legally exempt. Do not enter these costs unless you have the physical or digital receipt.
- Verify the kilometre rate for your vehicle type: The €0.19/km rate applies to personal cars. If the employee uses a motorbike, the rate is different (€0.08/km), and if they use public transport, you should reimburse the actual ticket cost instead of a per-kilometre amount. The calculator assumes a car unless you adjust the mileage input accordingly.
- Check collective agreements: In sectors like construction, the applicable collective bargaining agreement may mandate a higher daily allowance than the IRPF exemption limit. The mandatory allowance is a minimum that you must pay, but only the IRPF limit is tax-exempt. The calculator helps you see the financial gap between the mandatory and exempt amounts.
- Separate employee payments from client bills: When you bill a client for travel expenses, you are not limited by IRPF exemptions, but you must have a contract clause allowing expense pass-through. The calculator treats these as distinct outputs, so you know which number to use for payroll and which for invoicing.
Frequently Asked Questions
1. What is the difference between a mean allowance (media dieta) and a full allowance (dieta completa)?
The mean allowance applies when a worker travels away from their usual work centre but does not stay overnight. It is intended to cover meals (lunch and/or dinner) and is capped at €13.33 per day for one meal or €26.67 for two meals, provided no lodging cost is incurred. In practice, many companies use the €13.33 figure for a single meal. A full allowance (dieta completa) applies when the trip involves an overnight stay outside the employee's home, covering both meals and accommodation. The exempt amount for a full allowance within Spain is €26.67 per day. If you mistakenly classify an overnight trip as a mean allowance, you underpay the employee; if you classify a no-overnight trip as full allowance, you risk paying a taxable surplus. The calculator’s type selector is the critical control for this distinction.
2. Is mileage compensation of €0.19/km always tax-free?
Yes, the €0.19 per kilometre rate is exempt from IRPF as long as the employee uses their own vehicle for business travel and the distance is directly related to a trip to a different work centre. However, this exemption only covers a portion of the actual cost of running a car, which many estimate as being higher (around €0.25–€0.30/km when fully costed). The difference between the exempt rate and any higher amount your company pays is taxable income. Additionally, to claim the exemption, you must not have received a company car for the same purpose, and the kilometres must be justified with a log or prior travel order. The calculator uses the legislated rate, so it produces the safe, audit-proof number.
3. What happens if my daily allowance exceeds €26.67 in Spain?
If your company pays a daily allowance higher than €26.67 for a full overnight trip in Spain, the excess amount is considered taxable employment income. For example, if you receive €50 per day, the first €26.67 is exempt, but the remaining €23.33 per day is added to your gross salary and subject to IRPF and social security contributions. The Travel Allowance Calculator clearly shows this split, allowing you to plan your withholding or adjust your allowance policy. Many collective agreements set higher rates, but legally, only the IRPF limit avoids tax. It is a common mistake to assume the entire €50 is free of tax, which can lead to unexpected tax bills at the end of the year.
Related Calculators
- Pressure Altitude Calculator
- Bandwidth Calculator
- Baseboard Calculator
- Series Capacitance Calculator
- Carpet Calculator
FAQ
How does the Travel Allowance Calculator determine my daily allowance?
The calculator uses your destination country or region, combined with your organization's or government's per-diem rates, to determine your daily allowance. It automatically adjusts for local cost-of-living differences and currency exchange rates, so you don't have to manually look up rates. You can also override the rate if your company has a custom policy.
Does the calculator account for partial travel days or trip start and end dates?
Yes, it handles partial days by applying a prorated percentage based on the time of departure and arrival, defaulting to 75% for the first and last day unless you specify otherwise. You can manually set different percentages (e.g., 50% or 100%) for each boundary day to match your company's specific rules, and the total allowance updates in real-time.
Can I include expenses like lodging, meals, and incidental costs separately in the calculation?
Absolutely. The calculator allows you to split your allowance into separate categories—meals, lodging, and incidentals—and each has its own entry field for daily rate or percentage. You can also choose to exclude lodging if it's pre-paid by your employer, and the tool will recalculate only the remaining portions automatically.
What happens if my travel dates span across two different countries or regions with different rates?
The calculator supports multi-segment or multi-destination trips by letting you add each location with its own start and end date. It then computes the allowance for each segment separately, using the applicable per-diem rates, and sums them into a total for the entire trip. This ensures you never accidentally mix rates, and you can review a breakdown per segment before finalizing.