A degree can be worth it — but the number that matters is the gap it creates, against what it costs to borrow. Run both sides.
Loan figures are exact amortization at a constant APR. The break-even is a simple estimate (amount borrowed divided by the annual salary difference) and ignores taxes, raises, and time value — it is a starting point, not a verdict.