Estimate Total Compensation
estimate_total_compensationCalculate total military compensation (basic pay, BAH, BAS) with a taxable/non-taxable breakdown. Use pay grade, years of service, duty station ZIP, and dependents to get monthly and annual totals.
Instructions
Basic pay + BAH + BAS with a per-component breakdown and a tax split.
Returns monthly and annual totals separated into taxable (basic pay) and non-taxable (BAH, BAS) amounts. The ZIP code must be the permanent duty station, not the member's residence - BAH follows the duty station. This is regular military compensation only: it excludes special and incentive pays, bonuses, and all deductions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year. Defaults to the most recent loaded. | |
| zip_code | Yes | 5-digit ZIP code of the member's PERMANENT DUTY STATION, not their home. BAH follows the duty station, so a residence ZIP returns a different, real, wrong housing area. | |
| pay_grade | Yes | Pay grade, e.g. 'E-5', 'O-3'. | |
| has_dependents | Yes | Whether the member has dependents. | |
| years_of_service | Yes | Cumulative years of service. | |
| months_active_duty | No | Total months of active duty. Only affects E-1. | |
| senior_enlisted_advisor | No | True for a senior enlisted advisor billet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||