Data Analyst vs Lawyer Salary
Lawyers earn approximately 60.7% more than Data Analysts nationally — $135,000 vs $84,000.
Lawyers earn about $51,000 more per year, but reaching that point takes roughly 4 additional years of training.
What it takes to get in
Data Analyst roles typically require a bachelor's degree, while Lawyer roles require a doctoral or professional degree. From standing start to hireable, including training hours and licensing, the totals are roughly 3 years for Data Analyst and 7 for Lawyer.
Those extra years are not free. Over a 40-year working life, becoming a Lawyer consumes about 7 of them in training rather than earning, against 3 on the Data Analyst path. Holding pay flat at the median and ignoring raises, that leaves roughly $4,455,000 of lifetime gross for the Lawyer versus $3,108,000 for the Data Analyst — still $1,347,000 ahead despite the later start. Real careers include raises and promotions, so read this as the shape of the trade-off rather than a forecast.
Only one of the two is gated by licensing: Lawyer requires State bar exam and admission required to practice, while Data Analyst does not. That cuts both ways — a license is a real barrier when you are trying to enter, and a real moat once you hold one, because it limits how quickly the labor supply can grow.
Pay range, not just the median
The medians hide most of what matters. Data Analyst pay runs from roughly $50,000 at the low end to $155,000 at the high end; Lawyer runs $72,780 to $239,200. Position within the range is driven by what you specialize in and who you work for, not by the title on the offer.
Where each field is heading
The Bureau of Labor Statistics projects Data Analyst employment to grow 23% over the decade to 2034 — growing much faster than average — against growth of 4% for Lawyer.
Growth rate is not the same thing as opportunity. Data Analyst roles see roughly 19,800 openings a year and Lawyer roles about 31,500, counting replacements for people who retire or leave. Lawyer has the larger raw number, which is usually what you feel when actually job hunting — a small field growing fast can still be harder to break into than a large flat one.
Moving between the two
There is little skill overlap here — Tech and Legal train differently and recruit through different channels — so a move between them is closer to starting over than pivoting. Common entry point for career-switchers from finance, operations, or marketing because SQL and Excel are learnable in a few months and many roles don't require a CS background. No shortcut exists; a JD and bar passage are mandatory, though paralegals and compliance professionals often transition into law school with relevant experience.
If you are entering rather than switching: Data Analyst — Bachelor's in any quantitative-adjacent field (business, econ, stats) plus a portfolio of dashboards/SQL projects; the 2021 SOC revision folds data analysts into the same Data Scientists code as more advanced ML roles, so BLS wage/openings figures here are shared with data scientists and likely overstate the analyst-only entry pay. Lawyer — Earn a 4-year bachelor's degree, take the LSAT, complete a 3-year JD at an ABA-accredited law school, then pass the state bar exam.
Pay ranges, education requirements, and employment projections come from the Bureau of Labor Statistics Occupational Outlook Handbook and Occupational Employment and Wage Statistics. See our methodology for how these are compiled and updated.
Other comparisons in Tech
Other comparisons in Legal
Related tools
Data Analyst salary by state — Lawyer salary by state — Best cities for Data Analyst — Best cities for Lawyer — Paycheck Calculator — Investment Calculator.