calculate_college_major_roi
Payback years, lifetime earnings minus degree cost, and salary to cost ratio for a major, using the page table of approximate median early career salaries by major. 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 College Major ROI calculator.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| major | No | Major name from the page salary table; default Nursing. | |
| degree_cost | Yes | Total degree cost in USD. | |
| career_years | No | Projected career years; default 30. |