Payroll taxes are calculated on your gross pay, before Social Security and Medicare are deducted

When you look at your paycheck stub, you see your gross pay at the top — that is the full amount your employer owes you before anything comes out. Social Security and Medicare taxes, often called FICA taxes, are calculated as percentages of that gross pay. They come out of your paycheck after your employer calculates them, but they are based on the full amount you earned, not on what is left after income tax.

The order matters because it affects how much you actually take home. Your employer withholds federal income tax, Social Security tax, Medicare tax, and any state or local taxes in sequence. Each one is subtracted from your gross pay to arrive at your net pay — the amount that actually lands in your bank account.

Key Takeaways

  • Social Security and Medicare taxes are calculated on your full gross pay, not on your pay after income tax is removed.
  • Social Security tax is 6.2% of gross pay (up to a yearly earnings cap), and Medicare tax is 1.45% of all gross pay, with no cap.
  • Your employer also pays an equal amount of Social Security and Medicare tax on your behalf, but this does not appear on your paycheck.
  • Self-employed people pay both the employee and employer portions, totaling 15.3% for Social Security and Medicare combined.
  • Your paycheck stub shows the order of deductions, so you can see exactly what came out and in what sequence.

The difference between gross pay and taxable income

Gross pay is what you earned. Taxable income is what remains after certain deductions. This distinction is important because Social Security and Medicare do not reduce your taxable income for federal income tax purposes — they are separate systems.

For example, if you earn $3,000 in a paycheck, your employer calculates Social Security tax as 6.2% of $3,000 ($186) and Medicare tax as 1.45% of $3,000 ($43.50). These amounts come out of your paycheck. Your federal income tax withholding is then calculated on the same $3,000 gross, not on $3,000 minus the Social Security and Medicare amounts. The order on your stub may show income tax first, then Social Security, then Medicare, but all three are calculated from the same starting point: your gross pay.

How much Social Security and Medicare actually cost you

As an employee, you pay 6.2% of your gross pay toward Social Security, up to a yearly earnings limit. In 2024, that limit is $168,600, meaning once you earn that much in a calendar year, no more Social Security tax comes out of your paycheck for the rest of that year. Medicare tax is 1.45% of all your gross pay with no earnings cap — you pay it on every dollar you earn.

If you earn more than $200,000 as a single filer (or $250,000 if married filing jointly), an additional 0.9% Medicare tax applies to income above those thresholds. This extra tax also comes out of your paycheck and goes toward Medicare.

Your employer pays an equal amount on your behalf — 6.2% for Social Security and 1.45% for Medicare — but you do not see this on your paycheck. It is a real cost to your employer, and it is part of the total compensation you receive, even though it does not show up in your take-home pay.

What your paycheck stub actually shows

Your paycheck stub lists deductions in a standard order. Most stubs show gross pay first, then federal income tax withholding, then Social Security (labeled "OASDI" or "Social Security"), then Medicare, then any state or local taxes, and finally your net pay. The order on the stub reflects the sequence in which your employer processes the deductions, but all amounts are calculated from your gross pay.

Some employers may list deductions in a different order, and some may combine Social Security and Medicare into a single "FICA" line. The important thing is that you can see the dollar amount withheld for each tax and verify it matches the percentage of your gross pay. If you earned $2,500 gross and see $155 for Social Security (6.2% of $2,500), that is correct.

How this affects your Social Security record

Your Social Security earnings record — the record the Social Security Administration uses to calculate your future benefits — is based on your gross pay, not your net pay. Every dollar you earn counts toward your work history, regardless of how much tax comes out. This is why it matters that Social Security tax is calculated on your full gross pay: you get credit for the full amount you earned.

When you reach retirement age and explore for Social Security benefits, the Administration looks at your 35 highest-earning years. The amount you paid in Social Security tax does not directly determine your benefit amount, but your earnings do. Higher earnings in those years lead to higher benefits.

Self-employed people and both sides of the tax

If you are self-employed, you pay both the employee and employer portions of Social Security and Medicare tax. That means you pay 12.4% for Social Security (up to the yearly earnings cap) and 2.9% for Medicare, totaling 15.3% before any income tax. This is one reason self-employed people often set aside more money for taxes than employees do.

You calculate self-employment tax on your net earnings from self-employment — your business income minus business expenses — not on your gross revenue. You report this on Schedule SE when you file your tax return. You can deduct half of your self-employment tax as a business expense, which reduces your taxable income for federal income tax purposes.

Why the order matters for your take-home pay

The order of deductions affects how much money you see in your account, but it does not change the total amount you owe in taxes. Whether Social Security comes out before or after income tax, you still pay the same total. However, understanding the order helps you read your paycheck stub correctly and spot errors.

If you have multiple jobs, the order becomes more important because you may overpay Social Security tax. Since the Social Security earnings cap applies to your total earnings across all jobs, not per job, you could end up paying more than you owe if your employers do not coordinate. You can claim a refund of the overpayment when you file your tax return.

Frequently Asked Questions

Does federal income tax come out before Social Security and Medicare?

No. All three are calculated from your gross pay independently. The order they appear on your paycheck stub does not change how much you owe. Federal income tax, Social Security, and Medicare are all withheld from your paycheck, but none of them reduces the amount used to calculate the others.

If I have a lot of federal income tax withheld, does that reduce my Social Security tax?

No. Social Security tax is always 6.2% of your gross pay (up to the earnings cap), regardless of how much federal income tax your employer withholds. The two systems are separate, and one does not affect the other.

Why do I pay Social Security tax if I am already paying income tax?

Social Security and Medicare are separate insurance programs funded by separate taxes. Social Security tax funds your future Social Security retirement, disability, and survivor benefits. Medicare tax funds your Medicare health insurance may be able to access at age 65. Income tax funds general government operations. Each serves a different purpose.

What happens to my Social Security tax if I earn over the yearly cap?

Once you earn $168,600 in 2024 (the amount varies by year), your employer stops withholding Social Security tax for the rest of that calendar year. You still pay Medicare tax on all earnings. If you have multiple jobs and overpay Social Security across all of them, you can claim the overpayment as a credit on your tax return.

Can I opt out of paying Social Security and Medicare tax?

No, with very limited exceptions. Most employees must pay these taxes. Some religious groups and certain government employees may have exemptions, but these are rare and require specific conditions. If you are unsure whether you may have access to for an exemption, contact the Social Security Administration or speak with a tax professional.