There’s no doubt that technology is constantly becoming more advanced and more efficient — and most of the time this is welcomed. However, it does pose a risk for people in certain jobs. If a “robot” can complete the same function, it may mean fewer opportunities for someone to earn a living in that career.

The fields most at risk are a mixed bag, according to a new study from enterprise software provider, AgileCraft. Some results are what you’d expect while others are much more surprising. The analysis cross-referenced the findings from a University of Oxford report on automation with U.S. Bureau of Labor Statistics data to determine which education levels, job fields, and specific occupations are least safe from these technological advancements. It also estimated 39,691,150 total job losses to come in the next 2 decades, which adds up to $41,273,288,245,500 in lost salaries. So, does your career fall in the “risky” category?

Risk of Different Education Levels

Generally speaking, professions requiring a higher level of education are less susceptible to job automation than those that don’t. However, your job is not necessarily safer if you have more degrees. Those with a Bachelor’s degree are actually the safest when comparing different levels of education, with only a 16% risk of obsolescence. In order behind this group are those with an Doctoral/professional degree (32%), Associate’s degree (42%), Postsecondary certificate award (43%), high school diploma (69%), and no education (82%).

This means that professions that require a Associate’s degree are 2.7 times more likely to become obsolete than those that require a Bachelor’s. This jumps up to 5.1 times when comparing jobs that don’t require any education to those that need a Bachelor’s. Still, the fact that an undergraduate degree presents less risk to career-seekers than doctoral/professional degrees is surprising — and means that extra schooling and cost might not be worth it.