Mileage deduction or reimbursement calculator
calculate_mileage_deductionCalculates IRS mileage deductions and tax-free reimbursements by trip date, applying the correct rate period and purpose, including 2026 mid-year increases and business depreciation basis.
Instructions
Calculates the deduction or tax-free reimbursement for driven miles at the IRS standard mileage rates, splitting by the date each trip was driven. Applies the 2026 mid-year increase automatically (72.5 cents before July 1, 76 cents from July 1). Supports business, medical, charity and military moving miles, returns the amount per rate period and purpose, and the depreciation basis reduction for business miles. Notes who can and cannot deduct (employees' unreimbursed mileage is not deductible after the One, Big, Beautiful Bill Act).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trips": "<trips>"
},
"name": "calculate_mileage_deduction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trips | Yes | Trips or mileage totals, each with a date. | |
| default_purpose | No | Purpose for trips that do not set one. Default business. |