Federal and state estimates
Tax calculation methodology and IRS sources
See how the estimates are calculated, which rules come directly from the IRS, and where the model uses simplifying assumptions.
From gross income to a federal estimate
- Add income. Start with gross W-2 wages before the contributions you enter, net self-employment profit or loss, qualified dividends and net long-term capital gains. Enter a net capital loss as a negative amount. The federal deduction is limited to $3,000 ($1,500 for separate returns). The estimate carries unused loss forward. For a joint return, enter each spouse’s wages and business profit separately.
- Calculate Social Security and Medicare. Each worker pays 6.2% Social Security on W-2 earnings up to the annual cap. Wage Medicare is 1.45% with no cap. Pretax payroll HSA reduces these wages. Traditional 401(k) deferrals reduce income tax wages while remaining subject to payroll taxes.
- Calculate self-employment tax. Multiply net business profit by 92.35%. If the result is at least $400, apply 12.4% Social Security to the unused portion of that worker’s cap and 2.9% Medicare to all eligible profit. Half of this regular SE tax reduces AGI. Calculate 0.9% Additional Medicare Tax on combined eligible wages and SE earnings over $250,000 for joint returns, $125,000 for separate returns or $200,000 for other statuses, including qualifying surviving spouse.
- Estimate AGI and taxable income. Subtract allowed pretax 401(k), HSA, deductible IRA, half of regular SE tax and the allowed capital loss from gross income before capital losses. The IRA deduction uses the applicable workplace-plan phaseout and compensation limit. Subtract the federal standard or eligible itemized deduction. For a filer claimable as a dependent, cap the basic standard deduction at the greater of the annual minimum or earned income plus the annual add-on. Add the age-based standard increment when applicable. The separate enhanced senior deduction starts at $6,000 per eligible filer and falls by 6% of modeled AGI above $75,000 or $150,000 jointly, per eligible person. MFS filers are ineligible for that enhanced deduction. Floor federal taxable income at zero.
- Apply ordinary and preferential rates. Subtract taxable qualified dividends and LTCG from taxable income to find the ordinary base. Multiply each ordinary slice by its bracket rate. Stack preferential income above that base and apply the 0%, 15% and 20% limits. Compare with taxing the same taxable amount entirely at ordinary rates and use the smaller tax. The modeled 3.8% net investment income tax applies separately to the lesser of net investment income or AGI above the filing threshold. The threshold is $250,000 for joint returns and qualifying surviving spouses, $125,000 for separate returns and $200,000 for other statuses.
- Apply dependent credits. Start with the yearly child maximum plus $500 per other eligible dependent. Reduce by $50 for every $1,000 or partial $1,000 of modeled AGI above $400,000 jointly or $200,000 otherwise. Apply available credit to regular income tax first. The refundable amount starts at 15% of eligible earnings above $2,500. With at least three qualifying children, use the higher of that amount or modeled employee Social Security and Medicare plus half of regular SE tax. Apply the unused-credit and annual per-child caps to either method.
- Calculate settlement and cash flow. Subtract federal income tax after nonrefundable credits, SE tax, Additional Medicare Tax and net investment income tax from W-2 Box 2 withholding, entered Additional Medicare withholding, federal estimated payments and refundable child credit. A positive result is a refund. Take-home subtracts modeled taxes and applied personal contributions from gross income, plus refundable credit. Monthly and biweekly figures divide yearly cash flow by 12 and 26.
- Check projected withholding. Add year-to-date withholding and projected withholding on remaining checks to other federal payments. Divide any projected gap versus the chosen refund goal by the checks remaining and round up to cents for an incremental Step 4(c) amount. The annual safe-harbor screen compares with 90% of current-year tax, or the lower of that amount and 100% of eligible prior-year tax. Use 110% of prior-year tax if prior AGI exceeded $150,000, or $75,000 for a current-year MFS return. Estimated payments are excluded from the separate under-$1,000 exception.
Source worksheets include Schedule SE, Publication 590-A, Schedule 1-A, IRS Topic 559 and 2026 Form 1040-ES.
Worked examples
1. Single employee with $85,000 gross wages
For 2026, the $16,100 standard deduction leaves $68,900 taxable. Tax is $1,240 on the first $12,400, $4,560 on the next $38,000 and $4,070 on the last $18,500. Federal income tax is $9,870.00. With $10,500 in W-2 Box 2 withholding, the federal refund is $630.00. The same wages under 2027 rules produce $9,589.50 in federal income tax, a $280.50 reduction.
2. Single freelancer with $50,000 net business profit
Net earnings for SE tax are $46,175. At 15.3%, SE tax is $7,064.78 and the deduction for half of regular SE tax is $3,532.39. Applying the 2026 standard deduction leaves $30,367.61 in taxable income and $3,396.11 in ordinary income tax. With $10,000 in estimated payments, the model shows $460.89 due.
3. Single investor with $61,100 wages and $20,000 long-term gains
In 2026, the $16,100 standard deduction leaves $45,000 of ordinary taxable income. Of the gains, $4,450 fits below the $49,450 0% ceiling. The remaining $15,550 faces 15%, or $2,332.50. Ordinary income tax is $5,152.00, yielding $7,484.50 in federal income tax.
Federal data sources
- 2026 ordinary brackets §4.01 Tables 1–4, LTCG §4.03, child credit §4.05 and deductions §4.14. IRS Rev. Proc. 2025-32
- 2027 ordinary brackets §3.01 Tables 1–4, LTCG §3.03, child credit §3.05 and deductions §3.15. IRS Rev. Proc. 2026-35
- Capital loss limits and carryforward, dependent credits, and Medicare and investment tax thresholds. Schedule D · Schedule 8812 · Form 8959 · Form 8960
- Social Security taxable wage caps are $184,500 in 2026 and $192,300 in 2027. SSA contribution and benefit base
- Retirement contribution limits and IRA deduction phaseouts. IRS Notice 2025-67 · IRS Notice 2026-66
- HSA contribution limits. IRS Rev. Proc. 2025-19 · IRS Rev. Proc. 2026-24
Estimated state income tax and model limits
The state model uses a 2026 snapshot of statewide schedules and selected baseline deductions or exemptions. It applies that snapshot to both federal years. Local taxes, state credits, state deduction phaseouts, residency rules, state capital-gains preferences and payroll programs are outside this model. The single-filer schedule is the state baseline for qualifying surviving spouses and for other statuses without a specific schedule in the model. Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington and Wyoming show $0 in the broad income-tax model. Washington’s separate capital gains tax is outside it.
State rate references include the 2026 rate survey, the July 2026 state rate snapshot, Table 13, and the California 2026 schedules.
The federal engine uses rate schedules continuously to the cent. Actual IRS tax tables can use rounded income ranges. This estimator excludes AMT, the earned income credit, QBI, separate deductions for tips, overtime or auto interest, and special gains categories. The ACTC payroll estimate uses regular payroll taxes and excludes offsets for the earned income credit and excess Social Security withholding. It assumes domestic income, full-year eligibility for entered deductions and credits, and entered withholding amounts. The ordinary marginal rate is the bracket on the next taxable ordinary dollar, before credits or phaseouts.