NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Income Tax Calculator API

GET

Calculate US federal income tax and take-home pay for any salary.

Income Tax Calculator computes US federal income tax and take-home pay from gross income and filing status. It outputs total tax owed, effective and marginal rates, standard deductions, and net monthly income, and can add Social Security and Medicare (FICA) for true take-home pay.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/incometaxcalculator?income=85000&rate=22
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "year": 2025,
    "filing_status": "single",
    "income": 85000,
    "standardDeduction": 15000,
    "taxableIncome": 70000,
    "totalTax": 10313.88,
    "effectiveRate": "12.13%",
    "marginalRate": "22%",
    "incomeAfterTax": 74686.12,
    "monthlyTax": 859.49,
    "monthlyIncome": 6223.84,
    "brackets": [
      {
        "rate": 0.1,
        "ratePercent": "10.0%",
        "rangeMin": 0,
        "rangeMax": 11925,
        "taxableAmount": 11926,
        "taxAmount": 1192.6
      },
      {
        "rate": 0.12,
        "ratePercent": "12.0%",
        "rangeMin": 11926,
        "rangeMax": 48475,
        "taxableAmount": 36550,
        "taxAmount": 4386
      },
      {
        "rate": 0.22,
        "ratePercent": "22.0%",
        "rangeMin": 48476,
        "rangeMax": 103350,
        "taxableAmount": 21524,
        "taxAmount": 4735.28
      }
    ],
    "fica": {
      "total": 6502.5,
      "socialSecurityRate": 0.062,
      "socialSecurityWageBase": 176100,
      "socialSecurityTax": 5270,
      "medicareRate": 0.0145,
      "medicareTax": 1232.5,
      "additionalMedicareThreshold": 200000,
      "additionalMedicareTax": 0
    },
    "takeHomePay": 68183.62,
    "monthlyTakeHomePay": 5681.97,
    "totalEffectiveRate": "19.78%"
  }
}

About the Income Tax Calculator API

An income tax API for US federal tax calculation, built for apps that need to calculate taxes from a salary. Income Tax Calculator works by applying the official federal income tax brackets to your gross income after the standard deduction. It calculates the tax owed at each bracket level and returns a detailed breakdown including effective and marginal tax rates. Add fica=true to get take-home pay after the employee share of Social Security (capped at that year's wage base) and Medicare, including the 0.9% Additional Medicare Tax, with the FICA amounts themselves itemized on paid plans.

What people use it for

Job Offer Evaluation
When weighing multiple job offers, candidate compensation portals calculate net take-home pay and federal tax obligations across different filing statuses.
Payroll Withholding Estimation
HR platforms estimate employee annual federal tax liability and monthly deductions directly from gross salary inputs to forecast withholdings.
Retirement Distribution Modeling
To model retirement drawdowns, financial advisors project changes in effective and marginal rates as client taxable distributions shift across tax bands.
Custom Rate Invoicing
Compute estimated tax obligations and remaining net earnings for freelance contracts using custom tax percentages and project deductions.

Without writing code

Income tax and refund calculator on DigestYourFinances estimates your federal tax and refund.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Income Tax Calculator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Income Tax Calculator API.

Read the docs →
Does this API handle state and municipal taxes?
No. It calculates US federal taxes only: federal income tax from the brackets and standard deduction for your filing status, plus, with fica=true, the employee share of Social Security and Medicare. State and local income taxes are not included.
Can I run calculations using a custom flat tax rate?
Yes. A dedicated endpoint lets you supply any annual gross income, a custom percentage rate, and an optional deduction. It returns total tax owed, net take-home pay, and monthly breakdown amounts.
What tax year is used if I do not specify one?
The federal calculation defaults to the previous calendar year when the year parameter is omitted. Supplying a specific tax year requires a paid plan.
Does it include Social Security and Medicare taxes?
Yes, when you add fica=true. It applies the employee Social Security rate up to that tax year's wage base, the 1.45% Medicare rate on all wages, and the 0.9% Additional Medicare Tax above the threshold for your filing status, then returns take-home pay after income tax and FICA, with the FICA figures on paid plans. It treats the income as one employee's wages; self-employment tax is not calculated.
Do I get the bracket-by-bracket breakdown on the Free plan?
No. The Free plan returns summary figures including total tax, effective rate, and marginal rate, and with fica=true the take-home pay. The itemized bracket breakdown, the FICA total and its Social Security and Medicare components (rates, wage base, Additional Medicare Tax), monthly take-home pay and the combined effective rate are unlocked on any paid plan starting with Starter.
Is it cheap enough to calculate tax estimates for every user?
Yes. On the Starter plan, 100,000 tax calculations work out to about $0.0003 per calculation or $0.30 per 1,000 calls. You can also test the integration on the Free plan, which includes 100 calculations each month.
Can I use these tax calculations inside a commercial product?
Yes, commercial use is fully supported on every paid plan. You can embed the calculations into payroll tools, financial planning software, or client dashboards, provided you do not resell or redistribute the raw API responses as-is.

Ready to build with Income Tax Calculator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs