Depends on the degree, too. What is the end goal? — a job.
That's the "benefit" part of "cost-benefit" analysis.
If you are going to be qualified to work at Walmart with your degree, you probably shouldn't spend much on it.
If you're going to be qualified to do heart surgery, you can probably spend a bit more.