calculate_dorm_vs_apartment
Compares the annual dorm cost with an apartment: monthly rent over the number of months, plus annual utilities, extra food cost, and commuting cost. Returns both annual totals, the difference, and which is cheaper. Use when a student compares annual dorm cost with renting an apartment. 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 Dorm vs Apartment calculator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Months of rent per year; default 12. | |
| commute_annual | Yes | Annual commuting cost for the apartment in USD. | |
| dorm_annual_cost | Yes | Annual dorm cost in USD. | |
| utilities_annual | Yes | Annual utilities cost for the apartment in USD. | |
| food_extra_annual | Yes | Annual extra food cost versus the dorm meal plan in USD. | |
| apartment_monthly_rent | Yes | Monthly apartment rent in USD. |
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. |