Want college to pay off? These are the 50 majors with the highest earnings.

Danielle Douglas-Gabriel:

Engineering and technology are among the most challenging fields of study in college, but all of that hard work apparently is paying off, as many of the top-earning entry-level jobs are tied to related majors, according to a Glassdoor study released Monday.

The job search engine analyzed more than 500,000 resumes and self-reported salaries to determine which majors pay the most during the first five years after graduation. Eight of the 10 most-bankable majors are tied to engineering or technology, such as computer science, electrical engineering and information technology. Nearly half of the majors listed are in science, technology, engineering and math (STEM) fields, though business-related majors, such as accounting and marketing, crack the top half of the 50 majors listed.