To compile the ranking, Glassdoor identified 25 specific jobs with the highest overall Glassdoor "Job Score," which is based on a five-point scale. The job score is determined by equally weighing the average annual base salary shared by US-based employees over the past year, career opportunities ratings shared over the past year, and number of open job listings posted to Glassdoor in a three-month period.

"At Glassdoor, we know that there are two factors that job seekers consider most when determining where to work: earning potential and career opportunities," says Scott Dobroski, Glassdoor's career trends analyst. "Because of this, we wanted to factor both of these into what it means to have a 'best job.'"

Dobroski says Glassdoor also takes into consideration the number of job openings because it is an indicator of employment opportunity. "The more jobs available, the better their chances to get hired," he says.

On the list there's a heavy concentration of tech jobs and jobs within the healthcare industry, Dobroski notes. "Both of these industries are known for experiencing tremendous growth over the past few years, leading to a high demand-for-hire and compensation for employees," he explains.