Made on Earth Donate

Germany tax API

German tax as JSON: net pay from a salary or self-employed profit, or the corporation and trade tax a GmbH pays.

Germany’s tax calculators as one JSON API: net pay with income tax and social insurance for an employee or the self-employed, or a corporation’s corporation tax, Soli and trade tax.

Endpoint

GET  https://supertoolshq.com/api/v1/tax/de/
POST https://supertoolshq.com/api/v1/tax/de/   (form-encoded body)

entity picks the calculator; the other parameters are those of a link copied from it, so a link’s query string works here with entity added. Every parameter is optional. An unknown entity is a 400 error.

German gross to net salary (entity=employee)

Net pay, every deduction and the employer’s contributions for a German salary or self-employed profit, 2020–2026.

The engine of the German Gross to Net Salary Calculator as JSON: wage tax by the Finance Ministry’s official payroll algorithm for each year, solidarity surcharge, church tax, and social insurance for employees (including minijobs and midijobs) and the self-employed.

Same parameters as a link copied from the calculator, so a link’s query string works here unchanged. Every parameter is optional.

Parameters

NameValuesDefaultMeaning
entityemployeeemployeeThis part of the API, for a salary or self-employed profit. It can be left out: it’s the default.
year2020–20262026Tax year. Each year has its own wage tax algorithm, rates and limits.
grossWhole euros, digits only0Gross salary from a job. No commas, dots or decimals. Empty counts as 0.
peryear, monthyearWhether gross is per year or per month.
profitWhole euros, digits only50000Self-employed profit before tax, always for the year. Empty counts as 0, but not both gross and profit. With both, income tax is assessed on the two together and the wage tax withheld is taken off.
class1–61Tax class (Steuerklasse), for the salary.
church0, 8, 90Church tax as a % of the income tax: 8 in Bavaria and Baden-Württemberg, 9 elsewhere; 0 for none. (Old links’ church=1 takes the rate from their state.)
kvgkv, pkvpkvStatutory or private health insurance.
pkvWhole euros, digits only0Private health and care premium a month, when kv=pkv.
filingsingle, jointsingleWith a profit: single assessment, or joint with a partner without income.
rv0, 1, min0With a profit: no pension insurance, compulsory (18.6% of the profit, within what a salary leaves of the limit), or the voluntary minimum (18.6% of the minijob limit; not beside a job that pays in).
jobrv1, 01The salary pays statutory pension insurance. 0: exempt (a controlling shareholder-director, say): no pension contributions from employee or employer, and wage tax without the pension part of the Vorsorgepauschale; a minijob’s top-up is waived.
empself, employedOld links only, before the separate profit: with emp=self and no profit, gross is read as the profit.
langen, deenLanguage of labels, details and notes, and of link.

Unknown values fall back to the default rather than failing; only a money amount that isn’t whole euros is an error.

Response

FieldTypeMeaning
inputobjectEvery parameter as the API understood it, entity and defaults filled in. Send it back to get the same result.
linkstringThe same calculation on the calculator page, in lang.
currencystringAlways EUR.
kindstringregular, midi (€603.01–€2,000 a month in 2026), mini (minijob): the salary’s; self with a profit and no salary.
monthly, yearlyobjectgross (salary), profit, deductions, net; with a salary also employerContributions and employerCost (salary plus contributions). Monthly profit is a twelfth of the year’s.
ratesobjectPercentages to one decimal: tax (income tax, Soli and church tax over salary and profit), marginal (the tax on the next €100 a month, of profit if there is one, else of salary) and deductions (everything taken off).
deductions[]arrayOne line per deduction: key, label, detail (rate and base), monthly, yearly. Positive amounts are taken off; a negative one (the employer’s subsidy to private insurance) is added back.
employer[]arrayThe employer’s contributions, same shape. Empty for the self-employed.
notes[]array of stringsThe notes the calculator shows under the result (midijob zone, mid-year rule changes and so on).

Line keys: lst wage tax, est income tax (profit without a job), est_extra, soli_extra, kist_extra tax due on assessment beside a job (the detail names the year’s tax and what payroll withheld), soli, kist church tax, rv pension, av unemployment, kv health, pv care, pkv private premium, subsidy employer’s subsidy, flat minijob flat-rate tax. Amounts are euros as numbers with up to two decimals. Payroll lines are a month, and the year is twelve times that; with a profit, income tax is worked out on the year and the monthly figure is a twelfth of it.

Example

curl 'https://supertoolshq.com/api/v1/tax/de/?gross=60000&profit=0&church=8&kv=gkv'
{
    "input": {
        "entity": "employee",
        "year": "2026",
        "gross": "60000",
        "per": "year",
        "profit": "0",
        "class": "1",
        "church": "8",
        "kv": "gkv",
        "pkv": "0",
        "filing": "single",
        "rv": "0",
        "jobrv": "1"
    },
    "link": "https://supertoolshq.com/germany/gross-to-net/?year=2026&gross=60000&per=year&profit=0&class=1&church=8&kv=gkv&pkv=0&filing=single&rv=0&jobrv=1",
    "currency": "EUR",
    "kind": "regular",
    "monthly": {
        "gross": 5000,
        "profit": 0,
        "deductions": 1932.5,
        "net": 3067.5,
        "employerContributions": 1057.5,
        "employerCost": 6057.5
    },
    "yearly": {
        "gross": 60000,
        "profit": 0,
        "deductions": 23190,
        "net": 36810,
        "employerContributions": 12690,
        "employerCost": 72690
    },
    "rates": {
        "tax": 16.9,
        "marginal": 29.4,
        "deductions": 38.7
    },
    "deductions": [
        {
            "key": "lst",
            "label": "Income tax",
            "detail": "Lohnsteuer, class I",
            "monthly": 782.41,
            "yearly": 9388.92
        },
        {
            "key": "soli",
            "label": "Solidarity surcharge",
            "detail": "below the threshold",
            "monthly": 0,
            "yearly": 0
        },
        {
            "key": "kist",
            "label": "Church tax",
            "detail": "8% of €782.41",
            "monthly": 62.59,
            "yearly": 751.08
        },
        {
            "key": "rv",
            "label": "Pension insurance",
            "detail": "9.3%",
            "monthly": 465,
            "yearly": 5580
        },
        {
            "key": "av",
            "label": "Unemployment insurance",
            "detail": "1.3%",
            "monthly": 65,
            "yearly": 780
        },
        {
            "key": "kv",
            "label": "Health insurance",
            "detail": "8.75%",
            "monthly": 437.5,
            "yearly": 5250
        },
        {
            "key": "pv",
            "label": "Care insurance",
            "detail": "2.4%",
            "monthly": 120,
            "yearly": 1440
        }
    ],
    "employer": [
        {
            "key": "rv",
            "label": "Pension insurance",
            "detail": "9.3%",
            "monthly": 465,
            "yearly": 5580
        },
        {
            "key": "av",
            "label": "Unemployment insurance",
            "detail": "1.3%",
            "monthly": 65,
            "yearly": 780
        },
        {
            "key": "kv",
            "label": "Health insurance (flat rate)",
            "detail": "8.75%",
            "monthly": 437.5,
            "yearly": 5250
        },
        {
            "key": "pv",
            "label": "Care insurance",
            "detail": "1.8%",
            "monthly": 90,
            "yearly": 1080
        }
    ],
    "notes": []
}

Errors

A bad money amount gets HTTP 400 with a message per field, and the inputs as understood:

{
    "errors": {
        "gross": "Whole euros, digits only (no commas or dots)."
    },
    "input": {
        "entity": "employee",
        "year": "2026",
        "gross": "4.500",
        "per": "year",
        "profit": "0",
        "class": "1",
        "church": "0",
        "kv": "pkv",
        "pkv": "0",
        "filing": "single",
        "rv": "0",
        "jobrv": "1"
    }
}

From code

// JavaScript
const res = await fetch('https://supertoolshq.com/api/v1/tax/de/?' + new URLSearchParams({ gross: '60000', per: 'year', profit: '0', class: '1' }));
const data = await res.json();
console.log(data.monthly.net);
# Python
import json, urllib.parse, urllib.request
query = urllib.parse.urlencode({'gross': 60000, 'per': 'year', 'profit': 0, 'class': 1})
data = json.load(urllib.request.urlopen('https://supertoolshq.com/api/v1/tax/de/?' + query))
print(data['monthly']['net'])

Companies (GmbH, UG, AG) (entity=company)

Corporation tax, Soli and trade tax on a corporation’s profit, 2020 to 2026, at any town’s multiplier.

The company side of the German gross to net and GmbH tax calculator as JSON: corporation tax with the solidarity surcharge, and trade tax at the town’s multiplier. The parameters are a copied link’s (with entity=company). Amounts in the reply are euros with two decimals.

Parameters

NameValuesDefaultMeaning
entitycompanyThis part of the API: a GmbH, UG or AG.
coyear2020–20262026Tax year (year works too, as on the old page). Corporation tax is 15% to 2027, then a point less each year to 10% from 2032.
townaachen, augsburg, berlin, bielefeld, bochum, bonn … (44 in all), otherberlinTown for the trade tax multiplier (its 2026 rate), or other to send rate.
rate200–999 (%)400Trade tax multiplier (Hebesatz), with town=other. From 2027 anything under 280% counts as 280%.
coprofitWhole euros, digits only, negative for a loss0Profit before corporation and trade tax (profit works too).
langen, deenLanguage of the notes and of link.

Amounts are whole euros, digits only: 4.500 reads two ways, so it’s an error. An unknown town falls back to the default.

Response

FieldTypeMeaning
inputobjectEvery parameter as the API understood it, entity and defaults filled in. Send it back to get the same result.
linkstringThe same calculation on the calculator page.
currency, year, townstring, number, stringEUR, the tax year, and the town’s name (null for other).
tax, afterTax, effectiveRatenumberCorporation tax, Soli and trade tax together; the profit left; the tax as % of profit (null without a profit).
marginalRatenumberTax on the next €1,000 of profit, %.
corporationTaxobjectprofit, nonDeductible, income, taxable, rate (%), tax, soli.
tradeTaxobjectprofit, base (rounded down to €100), baseRate (3.5), baseAmount, multiplier (% applied), tax.
notes[]array of stringsThe notes the calculator shows under the result.

Example

curl 'https://supertoolshq.com/api/v1/tax/de/?entity=company&coyear=2026&town=muenchen&coprofit=500000'
{
    "input": {
        "entity": "company",
        "coyear": "2026",
        "town": "muenchen",
        "rate": "490",
        "coprofit": "500000"
    },
    "link": "https://supertoolshq.com/germany/gross-to-net/?entity=company&year=2026&gross=0&per=year&profit=0&class=1&church=0&kv=pkv&pkv=0&filing=single&rv=0&jobrv=1&coyear=2026&town=muenchen&rate=490&coprofit=500000",
    "currency": "EUR",
    "year": 2026,
    "town": "München (Munich)",
    "tax": 164875,
    "afterTax": 335125,
    "effectiveRate": 32.98,
    "marginalRate": 32.98,
    "corporationTax": {
        "profit": 500000,
        "income": 500000,
        "taxable": 500000,
        "rate": 15,
        "tax": 75000,
        "soli": 4125
    },
    "tradeTax": {
        "profit": 500000,
        "base": 500000,
        "baseRate": 3.5,
        "baseAmount": 17500,
        "multiplier": 490,
        "tax": 85750
    },
    "notes": [
        "The tax office sets quarterly prepayments from the last assessment: corporation tax and Soli by 10 March, June, September and December, trade tax by 15 February, May, August and November."
    ]
}

Errors

Bad input gets HTTP 400 with a message per field, and the inputs as understood:

{
    "errors": {
        "coprofit": "Enter whole euros, digits only, like 250000.",
        "rate": "No German town’s multiplier is under 200%."
    },
    "input": {
        "entity": "company",
        "coyear": "2026",
        "town": "other",
        "rate": "150",
        "coprofit": "4.500"
    }
}

The conventions every API here follows (methods, errors, versions) are in the API overview.