Skip to the calculators

Free calculators

Tax Calculators

Free tax calculators built on official IRS and state figures: capital gains on a stock sale, paycheck withholding, your federal refund, RSUs and ESPPs, dividends and tax-loss harvesting. Every result shows the brackets and rates behind it.

Tax Calculators

50 states + DC

Capital gains tax by state

A calculator preset to each state's 2026 & 2027 rules, with worked examples. Popular states (top long-term rate shown):

Compare all 50 states + DC →

Guide

How to choose a tax calculator

Start from the event that creates the tax: a sale, a paycheck, a vest, a dividend or a loss. Each calculator below is built around one of them and shows the brackets, thresholds and rates it applied.

Selling stock

The Stock Capital Gains Tax Calculator applies federal long-term or short-term rates with your gain stacked on your other taxable income, adds the 3.8% Net Investment Income Tax when your income passes its threshold, and includes state tax for every state and DC, with a 2026 & 2027 tax year selector. It also shows what holding past one year would save. For your state's rules, worked examples and a comparison with its neighbors, use the capital gains tax by state guide.

Paychecks and your refund

To see which bracket you are in, the Tax Bracket Calculator shows how your income fills each 2026 or 2027 federal bracket, your marginal and effective rate, and how far you are from the next bracket. The Paycheck & W-4 Withholding calculator estimates take-home pay per paycheck with the 2026 IRS Publication 15-T withholding method, Social Security and Medicare, and pre-tax deductions, then suggests a W-4 change to aim at the refund you want. For states with their own withholding formula, see the paycheck calculator by state. The Federal Tax Refund Calculator looks at the whole year instead: brackets, the standard deduction, the child tax credit, capital gains and the NIIT, compared with what was withheld, to estimate your refund or balance due.

Equity compensation and dividends

The RSU & ESPP Tax Calculator shows the income recognized when RSUs vest, the gap between flat supplemental withholding and your actual tax rate, and how an ESPP sale is taxed as a qualifying or disqualifying disposition. The Dividend Tax Calculator splits qualified from ordinary dividends and adds the NIIT and state tax.

Harvesting losses

The Tax-Loss Harvesting Simulator nets losses against gains the way Schedule D does, applies the $3,000 annual deduction against ordinary income, and tracks what carries forward, including states that don't allow the deduction.

These are educational estimates: check large or unusual situations with a tax professional.

Frequently asked questions

Which calculator should I use to estimate tax on a stock sale?

Use the Stock Capital Gains Tax Calculator. It applies federal long- or short-term rates with your gain stacked on your other income, adds the 3.8% Net Investment Income Tax when your income is above the threshold, and includes state tax for all 50 states and DC. Each state also has its own preset page.

How can I tell if my paycheck withholding is right?

Enter your pay, filing status and W-4 details in the Paycheck & W-4 Withholding calculator. It estimates the federal tax withheld from each paycheck with the 2026 IRS Publication 15-T method, projects your refund or balance due for the year, and suggests a W-4 adjustment for the refund you want.

Are RSUs taxed when they vest or when I sell?

Both, in different ways. The value of the shares on the vest date is taxed as wages, and employers often withhold federal tax at a flat 22% supplemental rate, which can be less than your actual rate. When you sell, any change in value after vesting is a capital gain or loss.

How much of a capital loss can I deduct?

Capital losses first offset capital gains. If your losses are larger, up to $3,000 a year ($1,500 if married filing separately) can reduce ordinary income on your federal return, and the rest carries forward to future years. Some states, such as New Jersey and Pennsylvania, don’t allow the deduction or the carryforward.