This macro calculates the parental allowance (Elterngeld) in Germany within a Google spreadsheet. We used it for our planning and the results match well with the official calculator (Elterngeldrechner).
Note: You are not paid exactly these amounts, but the average parental allowance over all months of entitlement. This is also what is displayed by the official calculator.
This macro comes without warranty. Please report any errors!
- Create a new spreadsheet.
- Click on Extensions -> Apps Script. A new tab is opening.
- Copy the
elterngeld.gs
snippet below into the project and hit save. - Go back to the spreadsheet.
Take a look at this example sheet
Explanation:
- Column A is the age of your child in months
- Column B is the type of Elterngeld:
mama
: Maternity Benefit (Mutterschaftsleistung)basis
: Basis-Elterngeldplus
: Elterngeld Plusbonus
: Partnerschaftsbonus
- Column C is your income in that month. In this example the person takes care of the baby for 6 months full-time and then starts working part-time.
- Cell H1 is your pre-birth income
- Column D is the calculated parental allowance. Double-click in cell D2 and type:
=elterngeld(B2, $H$1, C2)
. Pull down the cell for all months.
there is typo,
instead of
typ
it should betype
in the code.