SelfTaxLab

Methodology

Every Self Tax Lab calculator publishes its formula, its legal source, and a set of test vectors. If our number disagrees with your own math, one of us is wrong — and you can prove which.

Self-Employment Tax Calculator (tax year 2026)

1. Net earnings subject to SE tax

net_se_earnings = max(0, net_profit) × 0.9235

The 92.35% factor exists because employees and employers each pay half of Social Security and Medicare tax, and the employer half is not counted as employee income. Congress mirrored that treatment for the self-employed by taxing only 92.35% of net profit. Skipping this factor overstates the tax by roughly 7.65% of profit — one of the most common errors we found in competing calculators.

2. Social Security portion (OASDI)

ss_tax = min(net_se_earnings, max(0, wage_base − w2_wages)) × 12.4%

Self-employed people pay both halves of OASDI: 6.2% × 2 = 12.4%. The tax stops at the annual contribution and benefit base, and W-2 wages already covered by an employer reduce the remaining room. 2026 base: $184,500. (The Social Security Administration has already published $192,300 for 2027; we will switch the calculator when the 2027 tax year begins.)

3. Medicare portion (HI)

medicare_tax = net_se_earnings × 2.9%

2.9% has no wage cap. There is no upper limit on Hospital Insurance tax.

4. Additional Medicare Tax

additional = max(0, net_se_earnings + w2_wages − threshold) × 0.9%

Thresholds: $200,000 single, $250,000 married filing jointly, $125,000 married filing separately. Unlike OASDI, this surtax is calculated on combined Medicare wages and self-employment earnings.

5. The $400 filing threshold

if net_se_earnings < 400 → SE tax = $0

The threshold applies to net earnings from self-employment — that is, after the 92.35% factor — not to gross profit. A freelancer with exactly $400 of profit has $369.40 of net SE earnings and owes no SE tax. Treating the threshold as $400 of profit is a real error we found in published calculators.

6. Deductible half

deduction = (ss_tax + medicare_tax) × 50%

The deductible portion is one half of the Social Security and Medicare components, claimed as an above-the-line deduction on Form 1040. The 0.9% Additional Medicare Tax is not included — a second error we found in the wild.

Legal sources

Test vectors

These are the values our calculator must return. Run them yourself before trusting any tool, including ours.

Net profitExpected SE taxOur resultStatus
$400$0.00$0.00pass
$500$70.65$70.65pass
$60,000$8,477.73$8,477.73pass
$200,000$28,234.30$28,234.30pass
$300,000 (single)$31,605.90$31,605.90pass

Vector values computed from the formulas above with 2026 parameters and no W-2 wages. Worked example for $60,000: 60,000 × 0.9235 = 55,410 → SS 55,410 × 12.4% = 6,870.84; Medicare 55,410 × 2.9% = 1,606.89; total 8,477.73; deductible half 4,238.87.

Quarterly Tax Estimator (tax year 2026)

1. Annual tax, built in two layers

total_tax = se_tax + income_tax

The SE tax layer is identical to the calculator above. The income tax layer computes taxable income as:

taxable = max(0, profit + w2_wages − 0.5×(ss_tax + medicare_tax) − standard_deduction − qbi_deduction)

2026 standard deductions: $16,100 single or married filing separately, $32,200 married filing jointly. The half-SE-tax deduction comes off above the line (IRC §164(f)), before AGI.

2. 2026 income tax brackets

Official brackets from IRS Revenue Procedure 2025-32 (IR-2025-103, announced October 9, 2025):

RateSingle / MFS*Married Filing Jointly
10%$0 – $12,400$0 – $24,800
12%$12,400 – $50,400$24,800 – $100,800
22%$50,400 – $105,700$100,800 – $211,400
24%$105,700 – $201,775$211,400 – $403,550
32%$201,775 – $256,225$403,550 – $512,450
35%$256,225 – $640,600$512,450 – $768,700
37%over $640,600over $768,700

*MFS shares the single brackets up to 32%, then switches at $256,225 (35%) and $384,350 (37%) — half of the joint-filer breakpoints. Heads of household have their own brackets; our estimator currently applies single brackets to HoH filers and labels the option accordingly — a documented simplification, not an error we hide.

3. QBI deduction (§199A)

qbi = min(20% × net_profit, 20% × taxable_income_before_qbi)

The estimator applies the 20% qualified business income deduction assuming a qualified (non-specified-service) business below the W-2 wage/UBIA limitation thresholds. At taxable incomes roughly above $200,000 (single) / $400,000 (joint) those limitations can reduce the deduction — we document this rather than silently overstate the benefit.

4. Safe harbor (IRC §6654)

required_annual = min(90% × current_year_tax, 100% × prior_year_tax)
if prior-year AGI > $150,000 → prior-year term becomes 110% × prior_year_tax

Paying the required amount in four equal installments avoids the underpayment penalty entirely, regardless of how much income arrives late in the year. W-2 withholding is deemed paid ratably over the year no matter when it was actually withheld (IRC §6654(g)); estimated payments count on the date made.

5. Quarter deadlines (tax year 2026)

April 15, 2026 · June 15, 2026 · September 15, 2026 · January 15, 2027. Missed a quarter? Withholding credit can still retroactively cover it; back payments should be made immediately.

Test vectors

ScenarioExpected per-quarterOur resultStatus
$60,000 profit, single, no prior-year data$2,708.37$2,708.37pass
$150,000 profit, single, no prior-year data$8,461.72$8,461.72pass
$60,000 profit, single, 2025 tax $10,000 (AGI ≤ $150k)$2,500.00$2,500.00pass

Worked example for $60,000 single: SE tax 8,477.73 (see vector above); deductible half 4,238.87; AGI 55,761.13; standard deduction 16,100 → pre-QBI taxable 39,661.13; QBI = min(12,000, 7,932.23) = 7,932.23; taxable 31,728.90; income tax = 1,240.00 + 19,328.90×12% = 3,559.47; total 12,037.20; required = 90% = 10,833.48; per quarter 2,708.37. Third vector: prior-year term 100% × 10,000 = 10,000 < 10,833.48 → safe harbor wins → 2,500.00.

Legal sources (quarterly estimator)

Reviewing our work

Found a bug, an outdated parameter, or a legitimate disagreement with the math? Write to hello@selftaxlab.com with the numbers you used. Corrections are published on this page with the date and the change, because a calculator that hides its fixes is no better than one that hides its formula.

What these tools are not

They are planning estimators. They do not know your filing status details, credits, state rules, or the difference between a deduction and a credit. They are not tax advice, and they are not a substitute for a preparer when your situation is complicated.

Parameter changes are tracked here. Last verified against ssa.gov: November 2026.