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.
entity | Calculator | Parameters and reply |
|---|---|---|
employee (default) | German Gross to Net Salary & GmbH Tax Calculator | German gross to net salary |
company | German Gross to Net Salary & GmbH Tax Calculator | Companies (GmbH, UG, AG) |
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
| Name | Values | Default | Meaning |
|---|---|---|---|
entity | employee | employee | This part of the API, for a salary or self-employed profit. It can be left out: it’s the default. |
year | 2020–2026 | 2026 | Tax year. Each year has its own wage tax algorithm, rates and limits. |
gross | Whole euros, digits only | 0 | Gross salary from a job. No commas, dots or decimals. Empty counts as 0. |
per | year, month | year | Whether gross is per year or per month. |
profit | Whole euros, digits only | 50000 | Self-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. |
class | 1–6 | 1 | Tax class (Steuerklasse), for the salary. |
church | 0, 8, 9 | 0 | Church 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.) |
kv | gkv, pkv | pkv | Statutory or private health insurance. |
pkv | Whole euros, digits only | 0 | Private health and care premium a month, when kv=pkv. |
filing | single, joint | single | With a profit: single assessment, or joint with a partner without income. |
rv | 0, 1, min | 0 | With 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). |
jobrv | 1, 0 | 1 | The 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. |
emp | self, employed | Old links only, before the separate profit: with emp=self and no profit, gross is read as the profit. | |
lang | en, de | en | Language 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
| Field | Type | Meaning |
|---|---|---|
input | object | Every parameter as the API understood it, entity and defaults filled in. Send it back to get the same result. |
link | string | The same calculation on the calculator page, in lang. |
currency | string | Always EUR. |
kind | string | regular, midi (€603.01–€2,000 a month in 2026), mini (minijob): the salary’s; self with a profit and no salary. |
monthly, yearly | object | gross (salary), profit, deductions, net; with a salary also employerContributions and employerCost (salary plus contributions). Monthly profit is a twelfth of the year’s. |
rates | object | Percentages 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[] | array | One 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[] | array | The employer’s contributions, same shape. Empty for the self-employed. |
notes[] | array of strings | The 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
| Name | Values | Default | Meaning |
|---|---|---|---|
entity | company | This part of the API: a GmbH, UG or AG. | |
coyear | 2020–2026 | 2026 | Tax 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. |
town | aachen, augsburg, berlin, bielefeld, bochum, bonn … (44 in all), other | berlin | Town for the trade tax multiplier (its 2026 rate), or other to send rate. |
rate | 200–999 (%) | 400 | Trade tax multiplier (Hebesatz), with town=other. From 2027 anything under 280% counts as 280%. |
coprofit | Whole euros, digits only, negative for a loss | 0 | Profit before corporation and trade tax (profit works too). |
lang | en, de | en | Language 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
| Field | Type | Meaning |
|---|---|---|
input | object | Every parameter as the API understood it, entity and defaults filled in. Send it back to get the same result. |
link | string | The same calculation on the calculator page. |
currency, year, town | string, number, string | EUR, the tax year, and the town’s name (null for other). |
tax, afterTax, effectiveRate | number | Corporation tax, Soli and trade tax together; the profit left; the tax as % of profit (null without a profit). |
marginalRate | number | Tax on the next €1,000 of profit, %. |
corporationTax | object | profit, nonDeductible, income, taxable, rate (%), tax, soli. |
tradeTax | object | profit, base (rounded down to €100), baseRate (3.5), baseAmount, multiplier (% applied), tax. |
notes[] | array of strings | The 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.