Total compensation is the whole of what an employer provides in exchange for work, rather than salary alone. In practice it has seven or eight parts: base salary or an hourly wage; variable cash such as a bonus, commission, overtime or a signing bonus; the retirement contribution the employer makes on your behalf; the employer's share of health, dental, vision, disability and life premiums; paid leave; equity; any other benefit carrying a cash value; and the payroll taxes the employer pays because you are employed.
The reason to think in these terms rather than in salary is that salary is the component least likely to differ. Two employers competing for the same person will land on similar base numbers, because base pay is benchmarked and easy to compare. What varies is everything else: a match of 3% against one of 8%, a premium split of 90/10 against 50/50, four weeks of leave against two, equity against none. Those differences are frequently worth more than the salary gap a candidate spends their negotiating effort on, and they compound, because a retirement match is invested and a premium subsidy recurs every year you stay. The same logic runs in reverse when leaving: what you give up includes the leave you forfeit and the match you stop receiving, not only the salary.
It matters most in four moments. Comparing two offers. Weighing a raise against a change in benefits, where a 3% rise paired with a worse premium split can be a pay cut. Deciding whether to leave. And pricing contract or self-employed work, where the comparison is not close: someone self-employed buys their own coverage, funds their own retirement with no match, takes unpaid leave, and pays both halves of Social Security and Medicare, so an hourly rate has to clear a salary by a wide margin before the two are equivalent.
Where the phrase gets slippery. It carries no single official meaning, and the rule here is to say so rather than adopt one quietly. There are two established uses and they measure different things. The Bureau of Labor Statistics defines total compensation for statistical purposes as wages and salaries plus benefits, expressed as employer cost per hour worked, with benefits grouped into paid leave, supplemental pay, insurance, retirement and savings, and legally required benefits. In recruiting and in offer letters the phrase is a convention rather than a definition, and it usually means base pay plus bonus plus equity plus some selection of benefits, chosen by whoever built the figure. The two are not interchangeable, and the gap between them is the most useful thing to understand about the term.