Compare lifetime earnings with and without a degree, counting tuition and the pay given up while studying.
Model and assumptions. Lifetime earnings with the degree are the degree salary times the working years, less the degree cost. Without it, the person works the study years as well, at the other salary. The advantage is the difference. The cost of the degree is tuition plus the pay given up while studying, and the return is the advantage as a percent of that cost. Salaries are level and in today's dollars, with no raises, discounting, taxes or student loan interest. The study years are assumed to be spent entirely out of work.