calculate_bah
Monthly Basic Allowance for Housing from the 2026 RC/Transient baseline rate table by pay grade, with or without dependents, plus the annualized amount. This is the single national baseline rate; it does not vary by duty station or ZIP code. Use when the user needs a Basic Allowance for Housing baseline rate by pay grade and dependency status. For total monthly military pay use calculate_military_pay. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive BAH calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay_grade | Yes | Pay grade, e.g. E-5 or O-3. O-7+ covers O-7 to O-10. | |
| dependents | No | Whether the rate is with or without dependents. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the calculation succeeded. | |
| note | Yes | Disclaimer that accompanies every result. | |
| tool | Yes | Name of the tool that ran. | |
| inputs | No | The normalized inputs the calculation used. | |
| results | Yes | The computed figures for this calculator. | |
| calculator_url | Yes | Deep link to the matching interactive calculator on everycalc.xyz. |