Capital gains tax estimate

Federal tax on ordinary income plus short term gains at ordinary rates, with long term gains stacked at the 0, 15, and 20 percent thresholds for the filing status. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

get/api/v1/calculate/capital-gains-tax

Request

  • Base URL: https://everycalc.xyz
  • URL: https://everycalc.xyz/api/v1/calculate/capital-gains-tax
  • Auth: none declared

Query parameters

filing_status'single' | 'mfj' | 'hoh'

Filing status: single, mfj (married filing jointly), or hoh (head of household).

ordinary_incomenumber required

Ordinary taxable income in USD, before capital gains.

long_term_gainsnumber required

Long term capital gains in USD.

short_term_gainsnumber

Short term capital gains in USD; default 0.

Response

Calculation result.

Changes

No recorded changes to this operation across all 1 revision of this API.