National salary comparison — BLS OES 2024-2025 data
Compare a different job:
VS
QUICK ANSWER
Lawyers earn a national median of $145,760/year vs Machine Learning Engineers at $158,000/year. Machine Learning Engineers earn 8% more nationally. The gap is $12,240 per year — or $1,020 per month.
Built by Pierre — MBA, Business Strategist & AI Consultant, Founder of DayblipAbout the author →
Lawyer
$145,760
national median/year
$12,147/mo • $70/hr
VS
Machine Learning Engineer
$158,000
national median/year
$13,167/mo • $76/hr
Annual salary gap
$12,240
Machine Learning Engineers earn 8% more per year nationally. Over 30 years at 7% investment return that gap compounds to approximately $138,744.
Best states for Machine Learning Engineers
vs Lawyers
Washington+$49,680
Oregon+$39,680
Utah+$39,680
California+$33,680
North Carolina+$31,680
Best states for Lawyers
vs Machine Learning Engineers
New York+$2,320
Illinois+$-7,680
Delaware+$-9,680
Louisiana+$-9,680
Texas+$-9,680
Share Your Result
Surprised by this number? Share it with friends and family
Machine Learning Engineers earn more nationally. The median annual salary for Lawyers is $145,760 versus $158,000 for Machine Learning Engineers — a difference of $12,240 per year or $1,020 per month.
The national median salary gap between Lawyers and Machine Learning Engineers is $12,240 per year. Machine Learning Engineers earn 8% more. Over a 30-year career this difference, if invested at 7% annual return, compounds to approximately $138,744.
Based on BLS OES 2024-2025 data, New York pays Lawyers the highest median salary at $188,320 per year.
Based on BLS OES 2024-2025 data, California pays Machine Learning Engineers the highest median salary at $212,000 per year.
Salary is one factor — Machine Learning Engineers earn more nationally. But career choice involves job satisfaction, work-life balance, education requirements, and job growth. Lawyers and Computer and Information Research Scientists both have different educational paths, licensing requirements, and long-term growth projections. Use salary as a starting point, not the only factor.
Based on a standard 2,080-hour work year, Lawyers earn approximately $70 per hour nationally and Machine Learning Engineers earn approximately $76 per hour. Actual hourly rates vary based on overtime, part-time work, and whether the role is salaried or hourly.
Methodology: Salary data from Bureau of Labor Statistics Occupational Employment and Wage Statistics (OEWS) 2024-2025. Figures represent median annual wages for wage and salary workers. Self-employed excluded. Hourly rates calculated at 2,080 hours per year. State salary figures from same BLS OES dataset. Updated annually.