Skip to main content

German income tax library

Project description

This is an experimental package, allowing the calculation of income tax rates in Germany (useful for freelancers, since they usually pay tax once per year only, resulting in a substantial amount owed).

The package is fairly incomplete, but can be used as a starting point; bug reports, feedback and pull requests are very welcome.


While being usable as a library, the package comes with an optional CLI. To use it, the click package must be installed as well:

$ detax --help
Usage: detax [OPTIONS] INCOME

  -y, --year INTEGER          Tax year
  -c, --church-tax [rk|ev]
  -s, --state TEXT
  -p, --perc / -P, --no-perc  Show total tax percentage
  --help                      Show this message and exit.

An example calculation for Baden-Württemberg:

$ detax -y 2017 -c rk -s BW 50000
Steuerjahr: 2017
Bundesland: BW
Einkommen: 50000.0 
Anz. Kinder: 0
Steuerklasse: 1
Kirchensteuer: katholisch, 8.00 %, capped at 3.50 % total income

   12636.00     Einkommenssteuer
     694.98     Solidaritätszuschlag
    1010.88     Kirchensteuer
   14341.86     Gesamt
Tax percentage: 28.7%

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

detax-0.1.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

detax-0.1-py3-none-any.whl (5.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page