ToolAssay

US capital gains tax calculator 2026

US capital gains tax calculator 2026 - 0/15/20% bands, short-term cost, NIIT and room at 0%

Answeringour last check, 2026-10-26
1 of 1checks answered this week
565 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://saylorinnovations.com/api/ustax/capital-gains

CategoryEverything else
Provider hostsaylorinnovations.com
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-26 valid payment request 402$0.01 565 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "filing_status": "single",
    "long_term_gains": "20000",
    "taxable_income_before_gains": "40000"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "filing_status": {
              "description": "optional filing status: single, mfj, mfs or hoh; default single (query)",
              "type": "string"
            },
            "long_term_gains": {
              "description": "optional, net long-term capital gains, default 0 (query)",
              "type": "string"
            },
            "taxable_income_before_gains": {
              "description": "optional, ordinary taxable income after deductions, default 0 (query)",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "bands": {
              "type": "object"
            },
            "effective_rate_on_long_term_gains_percent": {
              "description": "Effective rate on long term gains, as a percentage",
              "type": "number"
            },
            "filing_status": {
              "description": "Filing status",
              "type": [
                "string",
                "null"
              ]
            },
            "formula": {
              "description": "Formula used for the calculation",
              "type": "string"
            },
            "long_term_gains_by_rate": {
              "description": "Long term gains by rate",
              "type": "object"
            },
            "long_term_gains_tax": {
              "description": "Long term gains tax",
              "type": "number"
            },
            "net_investment_income_tax": {
              "description": "Net investment income tax",
              "type": "number"
            },
            "planning": {
              "type": "object"
            },
            "related_endpoints": {
              "description": "Related endpoints",
              "type": "array"
            },
            "scope_note": {
              "description": "What this data covers and what it leaves out",
              "type": "string"
            },
            "short_term_gain_tax_cost": {
              "description": "Short term gain tax cost",
              "type": "number"
            },
            "tax_year": {
              "description": "Tax year",
              "type": [
                "number",
                "null"
              ]
            },
            "total_federal_tax": {
              "description": "Total federal tax",
              "type": "number"
            }
          },
          "required": [
            "long_term_gains_by_rate",
            "long_term_gains_tax",
            "net_investment_income_tax"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON